Some one plz help me
I have little knowledge on AFL
My query is how do we write an AFL for back-testing purpose--
1. Buy ONLY when the High of the current bar is breached in the next bar
2. Make SL as below the low of the current bar (SL triggers only when the low is breached)
In the Backtesting >>Settings>>Trades tab, we can set, when a trade can be effected, like setting it as High, Close etc.
But in back-test results, it shows that the trade is effected/done at the High price (when set as High), even though the next bar doesn't even touch the high of the current bar.
So i presume that we need to hard-code this in the form of AFL rather depend on the Settings page of Back-testing option within Auto Analysis menu.
Some one plz help
I have little knowledge on AFL
My query is how do we write an AFL for back-testing purpose--
1. Buy ONLY when the High of the current bar is breached in the next bar
2. Make SL as below the low of the current bar (SL triggers only when the low is breached)
In the Backtesting >>Settings>>Trades tab, we can set, when a trade can be effected, like setting it as High, Close etc.
But in back-test results, it shows that the trade is effected/done at the High price (when set as High), even though the next bar doesn't even touch the high of the current bar.
So i presume that we need to hard-code this in the form of AFL rather depend on the Settings page of Back-testing option within Auto Analysis menu.
Some one plz help