Take profit buy money
6 replies
firestorm
3 years ago #260052
Dear Mr. Tomas
I have strategy like that, EA will buy when price close above EMA50 and MACD crossover 0.00022 value. Stoploss will set below the lowest candle and TP will equal 1.5time stoploss. Or EA will close profit if profit total +5$. Can you have me for this code?
Thank you,
<p style=”text-align: left;”>
tomas262
3 years ago #260108
Hello,
what do you mean by “profit total” >= 5 USD? Does that mean your close either by TP, SL or 5 USD profit?
firestorm
3 years ago #260111
Dear Mr. Tomas,
Close position by two case:
1. Close by SL,TP.
2. Close when total profit of positions is 5USD.
tomas262
3 years ago #260155
Hello,
ok, makes sense. When referring to lowest candle what lookback period do you use? 10 bars or 20 ?
firestorm
3 years ago #260161
tomas262
3 years ago #260200
firestorm
3 years ago #260202
Viewing 6 replies - 1 through 6 (of 6 total)