Forums › ProRealTime English forum › ProOrder support › Combined Supertrend Further Discusion › Reply To: Combined Supertrend Further Discusion
Also, I think your setting of TP = 0 in your code is why there’s massive difference between the optimised results table (shows bad) and the equity curve (shows good!) … even with tick by tick selected. See attached.
I will continue to think on this while I have a shave! Often have brainwaves while shaving / cleaning teeth and away from the screen! 🙂
I haven’t studied / understood your code, but when there is a zero bar / 0 bar then on the equity curve it is showing as 0 profit but in reality it has been a SL value loss (in my case attached SL = £55 loss!
But the odd thing is … some 0 bars / zero bars do show as -£55 loss (see attached) so still some thinking to do! 🙂
I went over a few trades bar by bar on a 1 min TF and the anomaly (see line above) doesn’t seem to be related to whether a profit is hit before the -55 loss or vice versa.
Any comments anyone??
GraHal