Hi!
I wonder if someone know if there is any good code here for a BreakEvenStop when you take more than one position on different levels?
Thanks in advance!
Henrik
Do you want to put a stoploss at breakeven but with different price level for each of the position?
Thank you for your answer Nicolas!
dont think thats possible for live trading? I want to have a max loss stoploss I let’s say 50$ and move the breakevenstop to break even as I am buying more contracts and I’m in x points or $ gain. I’ll look in to it next week but if you have something already finished I’ll be happy to save some time koding😊🙏🏽
Hello Henrik! Have you made a code for BreakEvenStop yet.
I’m also intrested in a smular code.
I’t will calculate the average price and move the stop to BreakEven.
It world be great to have a trailing function as well
You can use POSITIONPRICE for the average price of the whole opened orders at market.