I don't want to discourage anyone. But the fact is that backtesting this system by any method (whether AmiBroker Backtesting or Manual Backtesting) gives very
negative result.
Here is the AmiBroker Code.
It takes care of touching and separating of two EMAs rather than actual crossing. This is done in order to avoid any manual intervention about 'touching and separating'.
Also, I have added a filter so that it doesn't buy in overbought condition and doesn't short in oversold condition
One more thing :
I have also given the option of using 'ExpandLast' and 'ExpandFirst' for expanding Stochastic Oscillators from 30 minute TF to 5 minute TF. While backtesting you can use both option one by one and see the difference in result. But you can't trust the result shown with 'ExpandFirst' condition. This is because the stochastic in 30 min TF may change before the 30 min bar completes.
Backtest it and see the result yourself
Thanks Pride for sharing your system. I really admire you for that.
Thanks
----TIZ-----