Regardless of the trading strategy being used to enter the trade (breakout, swing trade, etc.), what approach would you take to code the following?
This is somewhat of a Martingale method, in that the idea is to try to recover previous losses, but rather than adding to a trade in draw down, a Stop Loss is set based on equity balance and TP target is always a percentage increase above the last winning trade (whatever you decide that % to be).
For example, suppose for ease of discussion, the following:
Equity balance = $10,000
TP = 1% increase of balance from last winning trade.
SL = 1% of equity balance at the opening of the trade.
And a string of trades were to take place as shown in the pdf file.
Any suggestions on the approach you would use with regards to coding this.
Thanks,
Scott
This is somewhat of a Martingale method, in that the idea is to try to recover previous losses, but rather than adding to a trade in draw down, a Stop Loss is set based on equity balance and TP target is always a percentage increase above the last winning trade (whatever you decide that % to be).
For example, suppose for ease of discussion, the following:
Equity balance = $10,000
TP = 1% increase of balance from last winning trade.
SL = 1% of equity balance at the opening of the trade.
And a string of trades were to take place as shown in the pdf file.
Any suggestions on the approach you would use with regards to coding this.
Thanks,
Scott
Attached File(s)
FF post.pdf
42 KB
|
226 downloads