I think this says it all, replace those blocks with a if position block:

Posts made by jstap
-
RE: Error with creating mq5 or ex5 with existing fxdreema eaposted in Questions & Answers
-
RE: ichimoku problemsposted in Questions & Answers
I haven't used that indicator, have you visually checked on backtest?
-
RE: comment array change colorposted in Questions & Answers
As in my picture, it doesn't work, I will show you where it is wrong, but I have to see the project 1st
-
RE: how can i close my old positionsposted in Questions & Answers
There is close settings in the buy/sell block
-
RE: comment array change colorposted in Questions & Answers
That is not loading for me, open in a web page and copy the address bar to paste here
-
RE: Manually Tradeposted in Questions & Answers
You will have to add a link to what you have done, but generally this setting depends on what you want the EA to do
-
RE: enum MA methodsposted in Questions & Answers
I just looked again at what you have done and that is how to create an enum, but those 2 are already native to MT, add what I put in type, and MODE_SMA in value, delete the enum you have
-
RE: comment array change colorposted in Questions & Answers
Add this in value text code input, "Lots B: "+variable(by name of whatever is creating the value), add a shared link to look at if not working correctly
-
RE: comment array change colorposted in Questions & Answers
Draw text block, above put the reason to draw/redraw, as long as it has the same name it will work.
-
RE: Manually Tradeposted in Questions & Answers
It should, if not add a shared link to show what's happening.
-
RE: Error with creating mq5 or ex5 with existing fxdreema eaposted in Questions & Answers
If you add a shared link to see the problem, then maybe. If you are getting the block at fault, then try replacing it.
-
RE: How to implement TDI indicator on fxDreemaposted in Questions & Answers
Sometimes indicators don't work as expected, and if this is the case, then another indicator would need to be found
-
RE: How to implement TDI indicator on fxDreemaposted in Questions & Answers
Move the once per bar under the conditions (have 2), if above and a condition is false then it will wait for a new candle before checking again.
-
RE: Sum of many variables.posted in Questions & Answers
In custom code, variable = V1+V2+V3+V4; etc
