Yes but this doesn't create a custom block, this topic will give you an idea of how to create: https://fxdreema.com/forum/topic/21603/close-all-mt5-trades-quickly/14
Posts made by jstap
-
RE: How to Get Broker's Trading Hours and Allow Trading for the First 30 Minutes of the Last Hour?posted in Questions & Answers
-
RE: Global Variableposted in Questions & Answers
You have the right idea, save and read from a terminal(global) variable
-
RE: HOW TO TO PUT THE NET POSITIVE VOLUME IN A VARIABLE AND SHOW IT AS A COMMENT ?posted in Questions & Answers
Try deleting the links, and setting your block id's to a smaller number:

-
RE: How to Get Broker's Trading Hours and Allow Trading for the First 30 Minutes of the Last Hour?posted in Questions & Answers
If you put // Infront of on tick //on tick() it will remove 1/2 of the errors, because on FX you are running it on the on tick tab. The rest of the errors are more difficult, try asking AI what code is a custom function, what is Global variables, includes, and what part goes on tick, then use this information to create a custom block, this is the only way I know to fix these errors.
-
RE: How to Get Broker's Trading Hours and Allow Trading for the First 30 Minutes of the Last Hour?posted in Questions & Answers
Try connecting try another block, in fx blocks need to be connected to something:

-
RE: Please help , open tradeposted in Questions & Answers
Create it and add a shared link, I'll check and update you if incorrect
-
RE: HOW TO PUT THE NET BUY AND NET SELL VOLUMES IN TWO SEPARATE VARIABLES?posted in Questions & Answers
Just a mistake, buy + buy, sell + sell
-
RE: Store Value Of Last SL into a variable.posted in Questions & Answers
Save it with a modify block under buy/sell, or get it when you need it with pink blocks.
-
RE: Want to ask how to detect previous Day data issue?posted in Questions & Answers
Yes but we were talking about day difference not DST, DST can make thing difficult but your broker will automatically change your chart, so using server time will automatically adjust for this.
-
RE: Please somebody help me πππposted in General Discussions
light pink blocks need to go beneath a dark pink for each block
-
RE: HOW TO PUT THE NET BUY AND NET SELL VOLUMES IN TWO SEPARATE VARIABLES?posted in Questions & Answers
just change to lot size, it will work the same
-
RE: Problem with daily profit and loss limitsposted in Questions & Answers
By using a minus the number is treated as negative
-
RE: Problem with daily profit and loss limitsposted in Questions & Answers
I assume your loss is a - number, in which case you need to make EA see this value:

-
RE: Trailing stop for buy close sell and vice versaposted in Questions & Answers
Don't duplicate questions, when someone sees they will answer.
-
RE: Please somebody help me πππposted in General Discussions
Add a shared link and say what it is that's seems to be not working.
-
RE: Need help to achieve this. I have tried but not workingposted in Questions & Answers
Is more like this, check the Tab it's on: https://fxdreema.com/shared/wlA7AjmC