A newbie question: how do I programmatically implement Auto Breakeven?
All the threads I found are either very old (2008-ish), or contain Wizard Scripts (without meaningful variable names and such) or subsequent changes are required. Also, they mention race conditions involving MarketPosition.Flat
Is there a readily available script that I can just borrow? Something that closely mimics the Stop Strategy dialog, with inputs called "profit trigger" and "plus"?
I understand it's very simple, but this is my first experience with Ninja Script and I've got to provide estimate for this and other functionality ASAP. And it just seems logical that programmers should have an easy access to all the features available via GUI.
Thank you

Comment