Dukascopy Support Board

new version loaded - ooops !!
Page 1 of 1

Author:  fprophet [ Fri 05 Mar, 2021, 06:19 ]
Post subject:  new version loaded - ooops !!

I've loaded a new version of my Contest Strategy & set it running ...
but an open trade from the old version is still open and will now never close as I don't ever set any TP or SL values -
I rely on onTick logic to identify and only close trades that it has created itself (i put the strategy Run_Id = start date/time in the each order Label).
I should have put closeAll() logic in onStop of course - corrected now :-(
A lesson for young players !!!

  Page 1 of 1