Hello,
Would it be possible to create a Strategy that Closes ALL Open Positions, PLUS any pending Entry and Exit Orders, when the Account EQUITY reaches a certain target dollar amount?
I often have open positions on 8 to 10 pairs simultaneously. I also have many Entry and Exit orders pending at all times. Because of this, my Account Equity sometimes fluctuates a great deal. Often, this fluctuation results, briefly, in a good gain for the day overall, even though some positions may be losing. If I'm not sitting at my computer, in a position to close everything, I lose the opportunity to take that profit. I'd like to be able to capture that gain once my Equity hits a predescribed dollar amount.
I've looked at the Level Close Strategy
viewtopic.php?f=31&t=2901
but it does not account for losses that have resulted from Stopped out positions. It only looks at current open positions. I would like to use the Account Equity number as the trigger.
It seems like it would be pretty simple to do, but I'm not a programmer, so I don't know.
Thank you very much.