Dukascopy
 
 
Wiki JStore Search Login

new version loaded - ooops !!
 Post subject: new version loaded - ooops !! Post rating: 0   New post Posted: Fri 05 Mar, 2021, 06:19 
User avatar

User rating: 1
Joined: Fri 14 Sep, 2012, 02:25
Posts: 54
Location: New Zealand, Christchurch
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 !!!


 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com