Tâche terminée
Spécifications
Hello,
i would like to have an ea that works like a virtual trailing stop, but not in pips or points but in x.xx account currency, while observing the growth of the equity.
The ea will be attached to x chart on x timeframe and has to close all active positions (not the pendings) if the parameters say so.
ADDING PARAMETERS AND EXAMPLE SETTINGS:
"equityStopLossPercentage" = 5,00% *(account balance)
"equityTrailStart1" = 2,00 = account equity - account balance
"equityTrailStart2" = 6,00 = account equity - account balance
"equityTrailStart3" = 30,00 = account equity - account balance
"equityTrailStep1" = 0,01 = account equity growth
"equityTrailStep2" = 0,10 = account equity growth
"equityTrailStep3" = 1,00 = account equity growth
"equityTrailStopPercentage1" = 50% *(account equity - account balance)
"equityTrailStopPercentage2" = 40% *(account equity - account balance)
"equityTrailStopPercentage3" = 30% *(account equity - account balance)
wanted Results from account balance = 1.000,00:
- equity 997,00 account currency,
than "virtual close all triggered orders" is -5% meaning 950,00
- equity 1002,56 account currency,
than "virtual close all triggered orders" is 50% (of equity-balance), meaning 1002,56-1000,00=2,56 (*50%) meaning 1001,28
- equity 1006,54 account currency, than "virtual close all triggered orders" is 40% (of equity-balance), meaning 1006,54-1000,00≈6,50 (*40%) meaning 1002,60
- equity 1030,39 account currency, than "virtual close all triggered orders" is 30% (of equity-balance), meaning 1030,39-1000,00≈(*30%) meaning 1009,00
so no matter how many open charts or positions or whatever the ea "EquityDomination" will regulate your equity growth...