closeall if profit and pips reach x
1 replies
susanto
6 years ago #116700
Dear sir,
I want to add money management and closeall in pips on my ea forex (on attach).
For money managemant :
if deposit / money = USD 500 open lot is 0.01,
deposit / money = USD 1000 open lot is 0.02,
deposit / money = USD 1500 open lot is 0.03, etc
but if money from USD 1000 down to USD 750 still open 0.02 lot,
if down below USD 750 (down below 25% from money / deposit ) open lot is 0.01.
if money from USD 1500 down to USD 1125 still open 0.03 lot,
if down below USD 750 (down below 25% from money / deposit ) open lot is 0.02
etc
for closeall i pips.
for sample : – AUD USD at 0.75169 buy 0.01lot
if up 8 pips become 0.75249 = closeall
if down 8 pips become 0.75089 open new lot (0.02lot)
if up 8 pips become 0.75169 = closeall (0.01lot and 0.02lot)
if down 8 pips become 0.75009 open new lot (0.04lot)
if up 8 pips become 0.75089 = closeall (0.01lot and 0.02lot and 0.04lot)
if down 8 pips become 0.74929 open new lot (0.08lot)
if up 8 pips become 0.75089 = closeall (0.01lot and 0.02lot and 0.04lot and 0.08lot)
etc
tomas262
6 years ago #142741
Hello,
who developed that EA? It is not source code from StrategyQuant. The best would be ask the EA author to modify that
Viewing 1 replies (of 1 total)