[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Williams%R Cloud - Can someone recreate using negative ChartGrid values?



PureBytes Links

Trading Reference Links

Fantastic
--- In amibroker@xxxxxxxxxxxxxxx, ChrisB <kris45mar@xxx> wrote:
>
> gmorlosky
> 
> User's Guide
> Search
> Stylecloud
> 2nd topic : Using graph styles
> Half down the page for Stochastic.
> 
> Bit of fiddling with this...
> 
> ///////////////////
> //Title = "William's %R Cloud";
> 
> period = Param("Period", 5, 5, 21,1); // param to change periods
> R = (( HHV(H,period) - C ) / (HHV (H,period) - LLV (L,period))) * -
100; 
> // R williams thingy
> Plot( r, "   William's % R   ", colorBlack | styleThick);
> Plot( -70,"",colorBlue,1);
> Plot( -30,"",colorBlue,1);
> PlotOHLC( r,r,-50,r, // set the midpoint of the chart to -50 
because R 
> William's scale is  about face.. .
> "", IIf( r < -50 , colorGreen ,// color below -50 set to green
>  colorRed // color above -50 is red
>  ), styleCloud | styleClipMinMax, -70, -30); // no colors between -
30 
> and -70
> 
> GraphXSpace = 5;
> 
> ////////////////
> 
> Regards
> 
> ChrisB
> gmorlosky wrote:
> >
> > Below is a working RSI_Cloud. Can anyone make this a Williams%
R_Cloud ?
> >
> > Title = "RSI Cloud";
> >
> > SetChartOptions( 0,0,chartGrid30| chartGrid70) ;
> >
> > Plot(RSI(14) , "RSI Cloud", colorBlue, styleLine);
> >
> > SetChartOptions( 0,0,ChartGrid30 | ChartGrid70 );
> > r = RSI(14);
> > Plot( r, "RSI", colorBlack );
> > PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorGreen ), 
styleCloud
> > | styleClipMinMax, 30, 70 );
> >
> > GraphXSpace = 5;
> >
> >  
> 
> 
> -- 
> Regards
> 
> ChrisB
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/