The Users Guide gives an example for stochastic so just modify.

http://www.amibroker.com/guide/h_indbuilder2.html

  ----- Original Message ----- 
  From: Ken Henderson 
  To: [email protected] 
  Sent: Thursday, August 28, 2008 12:50 AM
  Subject: [amibroker] RE: Help with RSI Style Cloud


  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();



   
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.10/1638 - Release Date: 8/27/2008 7:06 
PM

Reply via email to