Fave This

Sunday, 19 June 2011

Re: [Komunitas AmiBroker] afl help




coba pakai ini pak

Buy= shortroc >0 AND Ref(shortroc, -1) <=0;
Sell= Ref(shortroc,-1)>0 AND shortroc <=0;


2011/6/19 Hengky B <hengkyb124@yahoo.co.id>
 

PlotStyle = ParamStyle("Plot Style", styleLine );
SHortPeriods = Param("Short Periods", 3, 1, 100, 1);
shortma = MA( C,SHortPeriods);
shortroc = ROC( shortma, SHortPeriods-1);
Plot( shortma, "MA3", IIf( shortroc > 0, colorGreen, colorRed ), PlotStyle);

minta bantuan seniors untuk lengkapi afl ini dgn perintah sbb :
buy ketika line merah berubah menjadi hijau
sell ketika line hijau berubah menjadi merah
tidak boleh ada buy sell pada line dgn warna yg sama.

trims. 

_



__._,_.___


Apabila membutuhkan software AmiBroker, Realtime Intraday Data & Pelatihan silahkan kontak : Dendo Valentino | Cell : 08159304868 | e-mail: amibrokerfreak{at}yahoo.co.id | YM id : dendov | http://www.facebook.com/dendo.amibrokerfreak | http://www.amibroker-4-bei.org





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

No comments:

Post a Comment