How to put pending order in dreema?
-
Hello,
I want to make an EA in MT4,with below conditions ,anyone can help?
For Sell
1- If the price is Below 50 SMA
2-And 5 SMA cross Below 8 SMA
3-And the price is between previous fractal UP & fractal down
4-Than send pending order (Sell Stop =previous fractal down - 4 pips)
5- if 5 SMA cross above 8 SMA, than close sell position or close sell pending order
For Buy
1- If the price is above 50 SMA
2-And 5 SMA cross above 8 SMA
3-And the price between previous fractal UP & fractal down
4-Then send pending order (Buy Stop = previous fractal UP + 4 pips+spread)
5- If 5 SMA cross Below 8 SMA,than close Buy position or close Buy pending ordercan you send me the tamplate
Many thanks,
Salim -
If I am not missing something... https://fxdreema.com/shared/YjPgwx5Nb
-
Thank you so much
I want to ask you if there is some tutorial videos or documents about Fxdreema? -
Not so much
You can look at these examples, they cover some basic stuff: https://fxdreema.com/examples -
Hi,

Please Can you make the program for the strategy below:Strategy Indicators:
- 50 period SMA
- 5 period MA with setting:(shift:3, method: smoothed, apply to Median Price (HL/2))
- 8 period RSI
- 5 period RSI
- Fractal
Strategy Rules:
Buys:
1- The 5-RSI cross ABOVE the 8-RSI (with EA inputs: x-RSI, y-RSI)
2- The 5-RSI and 8-RSI rises and closes ABOVE it's 50 Level, This creates the Set-Up Bar(with EA inputs: 5-RSI= Level, 8-RSI= Level)
3- The Price is between previous fractal UP and fractal Down AND the Difference between UP/DOWN fractal ≤ 20 PIPS ( with EA input: UP/DOWN fractal ≤ x pips)
4- The price must be ABOVE the 5-MA( with EA inputs: x-MA)
5- The price above the 50-SMA ( with EA inputs: True/false) IF false the EA don't use the 50 SMA
6- Then send pending order Buy Stop= previous fractal UP + 4 PIPS ( with EA inputs: x pips)
Exit Buys
3 options)
1-When the 5-RSI & 8-RSI closes above it's 70 level (with EA input: True/false)
Or
2-When the price close below the 5-MA (with EA inputs: True/false)
Or
3-When the 5-RSI cross below the 8-RSI (with EA inputs: True/false)Stop loose:
1- Fractal trailing with 5pips below the most recent low (with EA inputs: True/false)
Or
2- Trailing Stop using 5-MA with 5 pips below (with EA inputs: True/false)Sells:
1- The 5-RSI cross Below the 8-RSI (with EA inputs: x-RSI, y-RSI)
2- The 5-RSI and 8-RSI rises and closes Below it's 50 Level , This creates the Set-Up Bar(with EA inputs: 5-RSI= Level, 8-RSI= Level)
3- The Price is between previous fractal UP and fractal Down AND the Difference between UP/DOWN fractal ≥ 20 PIPS ( with EA inputs: UP/DOWN fractal ≥ x pips)
4-The price must be Below the 5-MA( with EA inputs: x-MA)
5-The price Below the 50-SMA ( with EA inputs: True/false) IF false the EA don't use the 50 SMA
6- Then send pending order Sell Stop= previous fractal Down - 4 PIPS ( with EA inputs: x pips)Exit Sells:( 3 options)
1-When the 5-RSI & 8-RSI closes above it's 30 level (with EA inputs: True/false)
Or
2-When the price close above the 5-MA (with EA inputs: True/false)
Or
3-When the 5-RSI cross above the 8-RSI (with EA inputs: True/false)
Stop loose:
1-Fractal trailing with 5pips above the most recent high (with EA inputs: True/false)
Or
2-Trailing Stop using 5-MA with 5 pips above (with EA inputs: True/false)Please can you put in EA inputs the option for the start & end of the trade TIME (Time Filter)& The Beak Even option
NOTE: IT WILL BE GREAT IF YOU CAN INTRODUCE AN OPTION (TRUE/FALSE)
TO TRADE HIGHER TIME FRAME (Exp:H1) WITH ENTRIES ON LOWER TIME FRAME(Exp: 5min) AND THE EXIT WILL BE WITH THE HIGHER TIME FRAME(Exp:H1).Many thanks,
Salim -
Oh no, I'm leaving this for someone else. I'm already tired of trying to trick MQL4 to do what I want today. But if you have some specific problems (bugs and crazy situations), I will check them

-
I am new for fxdreema builder, Please help me
