Hi all, I combine two strategies into one code. So, there are 2 type of profit target code (setprofittarget_pt(xx)). How can i specify which one for which entry?
For other type of exit, it can set sth like "from entry ("XXX")" to specify which position to be closed. But i have no idea of profittarget type? thanks
2 set of strategies for Profit target
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: 2 set of strategies for Profit target
SetProfitTarget and SetStopLoss are Global Exits. They are applied to the account instead of individual trades.
If you need to manage trades individually, you will need to code the management individually.
If you need to manage trades individually, you will need to code the management individually.