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

[amibroker] Re: How to get this indicator plotted



PureBytes Links

Trading Reference Links


The relative slope has a scale [-10,10].
One idea would be

PlotOHLC(O,H,L,C,"C",colorBlack);
K=EMA((H+L+C)/3,10);
S1=2*(K-Ref(K,-1))/(K+Ref(K,-1));
RS=100*EMA(S1,3);
Plot(RS,"RS",colorYellow,1);
Plot(0,"",colorYellow,styledashed);

Dimitris
--- In amibroker@xxxxxxxxxxxxxxx, "Collectable Images" 
<telecard@xxxx> wrote:
> Hi,
> 
> I drag indicators onto the main chart window and sometimes they 
work fine
> (like a MA) and other times a straight line results and all the 
indicators
> including price are squished up in the window.
> 
> I tried putting this one in and same proble, how do I get it to 
plot on the
> price chart just like the mA does?
> 
>  /*Relative Slope*/
> /*by Dimitris Tsokakis*/
> K=EMA((H+L+C)/3,10);
> S1=2*(K-Ref(K,-1))/(K+Ref(K,-1));
> RS=100*EMA(S1,3);
> Graph1=RS;
> 
> 
> thx





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/