Hello, greetings. I hope all you are okay. Could you please help me fix this EA ? So , is a martingale strategy for volatility moments in GOLD and GU/GJ , i spent the day coding it , but unfortunatelly isnt working .
The idea of this EA is open a new pending order , buystop or sell stop with custom multiplier in same moment i open a manual order , to catch when market make a big move in a single direction , like happens everyday in these pairs .
So , if i open a manual order : (1st order ) buy gbpusd 1.0 at 1.29650 sl : 1.29550 tp : 1.29950
EA : 2.0 multiplier , distance: 10 pips , tp : 30 pips , sl : 10 pips
when the manual order above was placed , the ea needs to place a sell stop ( opposite direction ) 10 pips below manual order ( distance ) with 2 lot ( multiplier 2 ) with 10 pips sl and 30 pips tp
( 2nd order ) sellstop gbpusd 2.0 at 1.29550 sl: 1.29650 tp: 1.29250
please note that the sl of 1st order is exactly the open point of 2nd order
and when 2nd order is opened the ea needs to place a 3nd pending buystop in the sl of 2nd order with the multiplier and 10 pips sl and 30 pips tp , and repeat it over and over again , until reach tp , this is the strategy , to catch 30 pips profit in any direction
(3nd order ) buystop gbpusd 4.0 at 1.29650 sl : 1.29550 tp : 1.29950
and the ea needs repeat the cycle until reachs tp .
SL , TP , Multiplier are all custom , a perfect strategy for payroll and interest rate news
The idea of this EA is open a new pending order , buystop or sell stop with custom multiplier in same moment i open a manual order , to catch when market make a big move in a single direction , like happens everyday in these pairs .
So , if i open a manual order : (1st order ) buy gbpusd 1.0 at 1.29650 sl : 1.29550 tp : 1.29950
EA : 2.0 multiplier , distance: 10 pips , tp : 30 pips , sl : 10 pips
when the manual order above was placed , the ea needs to place a sell stop ( opposite direction ) 10 pips below manual order ( distance ) with 2 lot ( multiplier 2 ) with 10 pips sl and 30 pips tp
( 2nd order ) sellstop gbpusd 2.0 at 1.29550 sl: 1.29650 tp: 1.29250
please note that the sl of 1st order is exactly the open point of 2nd order
and when 2nd order is opened the ea needs to place a 3nd pending buystop in the sl of 2nd order with the multiplier and 10 pips sl and 30 pips tp , and repeat it over and over again , until reach tp , this is the strategy , to catch 30 pips profit in any direction
(3nd order ) buystop gbpusd 4.0 at 1.29650 sl : 1.29550 tp : 1.29950
and the ea needs repeat the cycle until reachs tp .
SL , TP , Multiplier are all custom , a perfect strategy for payroll and interest rate news
Attached File(s)
volatilityea.mq4
3 KB
|
151 downloads