I copied an algo I made from MT5 to put it in MT4. Below is the link and a screenshot of the errors I am getting.

I copied an algo I made from MT5 to put it in MT4. Below is the link and a screenshot of the errors I am getting.

@l-andorrà It is the whole project. It appears to be referencing targets in the BUY/SELL block, no?
@l-andorrà So I flipped the < symbol but it doesn't appear to trail bars on the exit. It seems to be taking a fixed target still? It is taking a priority in something in the BUY/SELL blocks?

@l-andorrà Thanks . I believe so . I flipped the < in block 123. Is that what you mean?
@l-andorrà I have not. I know you mentioned it but how do I adjust it or test it? It was something with the wrench on the right side right?
0.001 = 0.01
0.00001 = 0.0001
0.000001 = 0.0001
@l-andorrà I made this change but it doesn't seem to do the trick. Is it still referencing the original BUY/SELL conditions like in block 29? Do I have to point the BUY/SELL now blocks to the trail stop mini trees somehow?
@l-andorrà Any ideas here where to test? Why would a symbol not allow shorts but others would? I checked with my broker and there aren't any restrictions.
I am getting this error when I try to add specific times as a constant.

@l-andorrà 2nd update. I ran it on other symbols and it does execute shorts on other symbols. Is it something with the way the system recognizes pip size with this instrument or something? Any idea how I isolate the issue knowing it trades on other symbols?
@l-andorrà When I run a backtest, it executes short trades. That is why I am confused why live forward testing isn't?
I have been running an EA and it worked yesterday on a long trade. Today it didn't execute on 2 short trades that came up. How do I figure out why?
You can see below where it took the trade yesterday and then the arrows where it should have executed trades. When the 1hr has 2 red bars under the EMAs, it then looks for the 20min to do the same. It occurred 3x today with no execution. My broker connection is fine and the EA is running.

@l-andorrà Thanks. I added the sell tree. When it takes trades it appears to exit immediately?>

@l-andorrà Is it something where one range is impacting the other somehow? I tried to add a condition when testing where the CANDLE 1 can't also touch the opposite side of the range in case it was trying to do a buy and sell signal at the same time?
@l-andorrà Yes. When I turn everything on the right off and leave the 'top of range' on the left off, it fires sell trades.
=--------------------------------
When I add the 'top of range' block back in, it doesn't.
Added it in on the one below and it stops putting in SELL orders.
@jstap Thanks. Like this? How do I take the profit target off and just let the trail stop take it out?
So the block in the picture with the arrow seems to cause an issue. The same block on the buy tree works fine. When I put it in the sell tree for the reverse conditions, trades won't fire. When it is not ON trades fire long. Any ideas?
