PureBytes Links
Trading Reference Links
|
Hi, if Buy= cross(ema(c, 15), ema(c,50)) then it is recommended that no signals be taken till (as a thumb rule) - Largest EMA * 3 periods In this case how do instruct to postpone taking the first BUY signal till 50*3 =150 bars from the befining of test period?
Do I do something like - iff(barindex() <=300, buy=0, buy) ??
Sorry if the code looks clunky - I am an absolute rookie and I have just written my first system AFL today. Still figuring if it works the way i intended it to! B-). But Amibroker rocks!
TIA -- regards, kazaan
__._,_.___
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
__,_._,___
|