PureBytes Links
Trading Reference Links
|
Hi Dennis
Here is the intermediate term KST MA - you should be able to extrapolate
from this and code the others without any problem
Intermediate KST Simple Moving Average for Metastock
> (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)
Amibroker version
condition=EMA(ROC(C,10),10)*1 + EMA(ROC(C,13),13)*2 +
EMA(ROC(C,15),15)*3 + EMA(ROC(C,20),20)*4;
Plot(condition,"KST Intermediate SMA",1,1);
In Amibroker, you don't need to specify that the ROC should be a % ROC -
the program defaults to that method of calculation. Also in Amibroker,
the Metastock 'MOV' function is called by using 'MA'. That gives you a
/simple/ MA. To get an /exponential/ MA, you use 'EMA'. So, in
Metastock, you use always use 'MOV' to call a moving average, then you
specify which type of Moving Average you want to calculate 'within the
brackets'. In Amibroker, you use different function calls for different
types of moving averages - MA, EMA, WMA (Weighted Moving Average), etc.
Now... I am throwing the term 'function call around without really being
an AB expert - I hope that is the right term. I'm also a beginner but I
know how to code this one up. Others may be able to help you in terms of
plotting other fancy lines with this - I gave you the raw signal line
only. Anyway, you get the idea, I hope.
Nikku
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/
|