Reverse order with martingale
-
Hello to everybody,
I'm going crazy with this ea; I would like to do this but I tried various ways without succeeding. I am grateful if someone helps me.
- I put the Buy and sell pending order
- when he takes one the second one is canceled
- if you take TP I wait for another order
- if you take SL, open opposite order with your TP and SL and double lot
- if you take TP I wait for another order
- if this also takes SL I wait for another order.
I enclose my draft and I do not understand where I'm wrong.
Thanks in advance! -
Pending orders are Stop or Limit, at which side of the price?
When you say "if you take SL, open opposite order", do you still mean pending order? And again, what type of pending order?
"if this also takes SL I wait for another order." - are you sure about that? After the first SL you open opposite... something, and after the second SL you do nothing? Or open opposite again.
-
Hello, thanks for the help.
I operate in manual as follows:
1 - insert on the chart, Buy stop and sell stop (ex 0.5 lot)
2 - when the price opens an order on one side (buy or sell), I delete the opposite one
3 - I enter SL and TP
4 - if it goes to TP: return again to point 1
5 - if it goes to SL: open immediate opposite order with its SL and TP and double volume (ex 1 lot)
6 - if this also goes to SL I close and restart from point 1Thanks again, Andrea
-
Hello, thanks for the help.
I operate in manual as follows:
1 - insert on the chart, Buy stop and sell stop (ex 0.5 lot)now I would like the ea to continue
2 - when the price opens an order on one side (buy or sell), I delete the opposite one
3 - I enter SL and TP
4 - if it goes to TP: return again to point 1
5 - if it goes to SL: open immediate opposite order with its SL and TP and double volume (ex 1 lot)
6 - if this also goes to SL I close and restart from point 1Thanks again, Andrea
-
This is what I made (using 0.05 lot instead of 0.5): https://fxdreema.com/shared/ZxmYpIOtd
-
Hello, thank you very much for your availability. I try this. Have a good day, Andrea.
-
Thanks to the fxdreema community, I am refining the EA.
Soon I will share the final version for those interested.