Hi 

 

Can anyone assist me with this AFL formula?   

 

I am trying to have a style cloud appear above 70 and below 30 on an RSI.  

 

I am obviously doing something wrong.

 

Many thanks

 

Ken

 

 

_SECTION_BEGIN("RSI");

SetChartOptions(0,0,chartGrid30|chartGrid70);

periods = Param( "Periods", 15, 1, 200, 1 );

Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),
ParamStyle("Style")  );

 

Plot( 70,"",colorBlue,1);

Plot( 30,"",colorBlue,1);

 

styleCloud | styleClipMinMax,  30, 70); // no colors between 

30  AND 70;

 

_SECTION_END();

 

Reply via email to