Radoslav,
I tried the OCO option - two buy and sell pending orders were placed. Is it supposed to do that?
Radoslav,
I tried the OCO option - two buy and sell pending orders were placed. Is it supposed to do that?
Radoslav,
Thank you! You are awesome!
Radoslav,
Should I have the delete pending orders under "on tick"? I think I see what you mean - I tried the ea when I had the delete pending orders
"on trade" and everything got deleted. Even pending orders for other currency pairs.
Radoslav,
Well, that's a good question. I think an OCO could work on both stop and limit orders. But I'm not sure about multiple orders. Maybe it will work. I'll try it out and see what happens.
I have been experimenting a little and this seems to work:
https://fxdreema.com/shared/2wUb08h0d
The OCO seems to require being placed "on trade" rather than "on tick". OK, I learned something new!
What do you think? Any suggested improvements will be appreciated 
Radoslav,
Thank you for your quick reply. Yes, I think an OCO option would be wonderful.
You are doing a great job . Thank you so much!
Fxdreema,
I have (thanks to your help) an EA that places a buy stop above the last candle high and a sell stop below last candle's low.
Once one of the orders is filled , I want the other pending order closed, so one cancels the other.
Here is what I have:
https://fxdreema.com/shared/YTzJ06x2b
Step 7 is delete pending orders if a trade is running.
Am I doing this correctly ?
Thank you. I did find dynamic levels for stop-losses. However, it was necessary to alter the code slightly.
Fxdreema,
Is it possible to place a stop-loss order above/below the previous candle , rather than having fixed pips stop-losses?
For example , let's say I have placed a pending buy order and I want to put the stop-loss 20 pips below the previous candle. Can that be done?
Thank you,
mcmillan
Thank you so much! I also made a script that will place stops above/below the previous candle.
Fxdreema Team - you guys are great! Again, thank you.
Thank you! You are awesome! The ea is excellent.
Fxdreema,
I want to build an ea that does the following:
Only once a day, at 8:00 ( my broker's time) I want to place two pending orders - one buy stop 20 pips above the previous 4-hour bar
(4:00 bar) and one sell stop 20 pips below the previous 4-hour bar. TP/SL = 50 pips for both. So basically I want a breakout ea that will catch the NY Open.
I would appreciate any help. Thank you.
The drag-and-drop boxes (for example "Sell Now") don't have a parameters window when right-clicked. So it's impossible to set TP,SL, lot size, etc.
In Example 2, there are 2 boxes, One Per Bar and Sell Now. They are connected. Now the picture shows a gray box with money management, stop-loss and take-profit. But when I tried to replicate it, the Variables box with money management didn't appear.
I tried right-clicking on the Sell Now, I tried dragging stuff into the Sell Now box. Nothing worked. I can't replicate the example given.
I'm totally lost!! I have no clue how to tell the program what trading rules I want to use. I can drag boxes onto the work area , and can even connect them with arrows. But's all . How do I input trading rules? The Help documentation doesn't help, there are no step-by step examples.