System not exiting Trades
-
Hey I was just wondering why it could be that when testing my system does not exit its trades. Everything seems to be in order so i'm confused.
Thanks

-
Supertrend is a terrible indicator. I don't recommend you to use it because it repaints up to three candles backwards. This means that what you see on a bactesting chart is NOT what happens on a on tick real backtest. Just try a demo account and you will see.
However, if you still want to try it, I recommend you to specify candle ID in block operands of blocks 94 and 95. Now you have candle ID 0. Maybe (just maybe) the results will not be so terrible.
-
@l-andorrĂ what do I change the candle id to? and also is it the candle ID of left operand or the right operand (indicator)?
-
Try candle ID 1 on both operands and let me know. But please remember that backtesting that indicator will NOT offer you the same results you'd get on a demo account. Be very careful with your results.
-
@l-andorrĂ Hmm yes ill make sure to be careful of that. Either way however the script still ins't working properly haha and i'm honestly not sure why whatsoever.
This trade here for instance should've exited at the second white circle but did not. -
Blocks 90 and 91 are still using candle Id 0. Try to change them to candle ID 1 and try it again, maybe.
-
@l-andorrĂ hm sadly this still hasnt managed to fix the issue
-
More than probably the reason is the supertrend repainting the las candles' values. I recommend you to test it on a demo account (not backtesting) for a week. That way you will be complete sure all, none or some exits are correctly executed. Then backtest that same week. I bet you will get VERY different results.
-
@l-andorrĂ @albunting Haven't used it yet in fxdreema, but maybe make a screenshot on conditionmay help to identify if it complies to the chart after BT?!?