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

[amibroker] Pring's KST Indicator



PureBytes Links

Trading Reference Links


First, Thank you Mr. J. for writing the daily short term KST formula
by Martin Pring. I am not a savvy programmer since I am new to the
Amibroker language. So I ask if someone can please write the code for
the Intermediate KST and the Long term KST. 

Thank you in advance...
Dennis
Here is the metastock code:

Daily KST Simple Moving Average
(Mov(Roc(C,10,%),10,S)*1) + (Mov(Roc(C,15,%),10,S)*2) + (Mov(Roc
(C,20,%),10,S)*3) + (Mov(Roc(C,30,%),15,S)*4)
 
Long-Term Monthly KST Simple Moving Average
( (Mov(Roc(C,9,%),6,S)*1) + (Mov(Roc(C,12,%),6,S)*2) + (Mov(Roc(C
,18,%),6,S)*3) + (Mov(Roc(C,24,%),9,S)*4) ) / 4
 
Intermediate KST Simple Moving Average
(Mov(Roc(C,10,%),10,S)*1) + (Mov(Roc(C,13,%),13,S)*2) + (Mov(Roc
(C,15,%),15,S)*3) + (Mov(Roc(C,20,%),20,S)*4)
 
Intermediate KST Exponential Moving Average
(Mov(Roc(C,10,%),10,E)*1) + (Mov(Roc(C,13,%),13,E)*2) + (Mov(Roc
(C,15,%),15,E)*3) + (Mov(Roc(C,20,%),20,E)*4)
 
Long-Term KST Exponential Moving Average
(Mov(Roc(C,39,%),26,E)*1) + (Mov(Roc(C,52,%),26,E)*2) + (Mov(Roc
(C,78,%),26,E)*3) + (Mov(Roc(C,109,%),39,E)*4)
 
Short-Term KST Weekly Exponential Moving Average
(Mov(Roc(C,3,%),3, E)*1) + (Mov(Roc(C,4,%),4, E)*2) +
(Mov(Roc(C,6,%),6, E)*3) + (Mov(Roc(C,10,%),8, E)*4)
 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/