You can try ColorCloud=Iif(P7>P15,ColorGreen,ColorRed); PlotOHLC(0,P7,P15,P15,"MaCloud",ColorCloud,StyleCloud); _SECTION_BEGIN( "EMA");
P7 = EMA( C, 7 ); P15 = EMA( C, 15 ); Plot( P7, "P7", colorGreen, styleLine ); Plot( P15, "P15", colorBlue, styleLine ); range=MA(High- Low,15);
DrawStyleCloud= IIf(C<P7< P15 AND (P7-Low)<range, True,False) ; // now how do i draw style clound between P7 and P15 _SECTION_END( );
|