Buy and Sell pending orders
-
Hello!
I am trying to make "EMA Rejection" work.
I want to place an order at the low of the previous candle or at the high of the previous candle.
If instead of placing an order I simply use the block buy or sell everything is smooth but when I used buy pending order it doesn't place any order.
Could you please check if I am doing anything wrong?
-
I got some pending orders on my backtests. At some point I even have multiple orders at a time, this is because you have different group numbers for "No trade..." and for pending order blocks
-
I am sure with 5 min chart it should generate an enormous amount of pending orders, if I just put buy and sell it does trade a lot. It just doesn't create nearly as many pending orders. On the 5 min chart in 3 years 0 orders XD there is something wrong which is not the group number.
I am sure there is some kind of problem, "EMA rejection 2" instead of placing orders buys and sells

EDIT: The problem was the broker that I was testing it with! For some reason they didn't allow pending orders O_O
-
I don't know what's the matter, here are two identical projects, one with buy and sell and another with pending orders.
They react in a totally different way

-
Am I the only one who see this? http://prntscr.com/5xfxir
Anyway... I think it's better if you can find problems by yourself, so I will explain this

- To find if a block works (passes), connect "Draw arrow" to it's output - if you see arrows, it passes. This is how to check Condition or multiple Conditions. There is even dedicated block for this, but at least I don't use it really - "Logic points tester".
- Condition blocks are comparing values. If you are not sure about the values that are used, check them with "Indicator tester" block. This is how it is used https://fxdreema.com/demo/mt4-indicator-tester
- Values also can be checked with Comment or Alert blocks.
- Backtest on Visual mode, so you can see how things happen in "real time".
-
The connection is missing, I'm using variables as you taught me. That's because I thought something else was not working.
The ea with buy and sell without pending order works fine the one with the pending order doesn't.
To me it's obvious that if I don't connect two blocks they don't pass. That's why that has variables, indeed the simple one without pending order works fine.
-
Only if you have block that is not connected to another does not work. Block that is alone.
http://prntscr.com/5xoi62
This is what I have... because I used M5 my pending orders have parameters very close to the current price, but otherwise they are placed where trades are placed in the other EA. For me the signals (Condition blocks) are working fine, the same way in both examples.