Do you realize this is merely a linear combination of a slow and
fast stochastic?
StocKpar = Param("StocKpar",3,0,20,1);
StocDpar = Param("StocDpar",2,0,20,1);
Plot(StochK(9,3),"StochK(9,3)",5,5);
Plot(StochD(9,3),"StochD(9,3)",4,5);
Plot(StocKpar*StochK(9,3)-StocDpar*StochD(9,3),WriteVal(StocKpar,2.0)+"*StochK(9,3)-"+WriteVal(StocDpar,2.0)+"*StochD(9,3)",1,5);
//Plot(3*StochK(9,3)-2*StochD(9,3),"3*StochK(9,3)-2*StochD(9,3)",6,5);
Plot(C,"C",1,32832);
From:
amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of cstdc5588
Sent: Friday, September 19, 2008 6:51 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: How to coding Stochastic J%?
Hello Tomasz, could you please teach me how to
coding Stochastic J% of
Indicator in AB? This is a commonly used formula.Is it possible to offer
and download?
Please see below the indicator formula:
{N:9; M1:3; M2:3}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D
Thanks,
Frank
__._,_.___
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
__,_._,___