Hi,
I am sure there are specific code parameters available for moving stop losses and closing partial positions. Can someone help me with these please ? I would appreciate if some one can share basic code strategies for moving stop losses at particular level / breakeven (not trailing) and closing partial positions. I am working on a swing trading strategy and happy to share on forum after backtesting.
Thanks…
WingParticipant
Veteran
It is not possible to close a position partially I believe.
There is a blog article about breakeven code: http://www.prorealcode.com/blog/learning/breakeven-code-automated-trading-strategy/
and Wing is right, closing partial position is not possible in real trading mode. It is possible only in paper trading, which is useless. We all hope it will be a part of a future feature! 🙂