I have a specific set of rules for buying and selling stocks. I just need to code those rules in the afl (amibroker formula language) so that I can backtest my trading system.
hi,
i can help you
please tell me your rule.
this is simple code in afl.
buy = cross( ema( close, 9 ), ema( close, 15 ) );
sell = cross( ema( close, 15 ), ema( close, 9 ) );
i will wait