I´m experiencing a problem with my script and I try to find out for hours without success. Once profit target is hit (I have 2 contracts, the first I take off with profit target, the 2nd with conditions and ExitShort/ExitLong) often - not always - 4 seconds later I have the following message in log tab
03.09.2020 15:32:03 | Default | Strategy 'Tx30xNQxAbsxRSIv12': Error on calling 'OnBarUpdate' method on bar 2257033: Object reference not set to an instance of an object. |
Thank you!
Tony
Comment