Chat GPT is sometimes the best for things like this, I think this will work but I haven't tested it, and you will need to add the logic for acting: https://fxdreema.com/shared/sJcedmKre
Posts made by jstap
-
RE: Need to close some order.posted in Questions & Answers
-
RE: Endless buy and sells in a rowposted in Questions & Answers
There is lots of information on this on the internet, to learn by testing will teach you the why, or at least limit the question to 1 area of understanding. All the logic in FX blocks comes from meta trader's design, what each block does is enact one of these commands.
-
RE: Find & delete max object in a chartposted in Questions & Answers
Here is a way you can do it, delete rather than draw a line: https://fxdreema.com/shared/6XfjXkn7
-
RE: Endless buy and sells in a rowposted in Questions & Answers
Test by setting both take and stop to a fixed value. When building EAs use a process of elimination, then you will find what is causing the trouble.
-
RE: Endless buy and sells in a rowposted in Questions & Answers
Probably because you are using % of TP and % of SL without either being a fixed number.
-
RE: How to identify highs and lowsposted in Questions & Answers
The blocks work but it depends on what you need, these blocks will move to a new high/low when found. That's why I said try, if it fits your needs then good, but if not I have no other way.
-
RE: undeclared identifierposted in Questions & Answers
Move the pink tree out so it's separate from the buy/sell trees, anything under no trade will stop working when a trade is placed.
-
RE: Endless buy and sells in a rowposted in Questions & Answers
You need to add the latest shared link to see what's been done and say what the problem is.
-
RE: How to identify highs and lowsposted in Questions & Answers
You could try new top/bottom in trend.

-
RE: RSI Robot not workingposted in Bug Reports
I am unsure, to me if it works on 1 it works on all, add a shared link and the problem may be seen, but unlikely, also try restarting and see what it does.
-
RE: Stop Trading when the daily target or loss is achievedposted in Questions & Answers
Start a new question, create a test project, and if not working add and say the problem
-
RE: Stop Trading when the daily target or loss is achievedposted in Questions & Answers
check profit (period of time) < value - above buy/sell tree, check profit (period of time) > value - close block (if you want to close all if profit reached.
-
RE: undeclared identifierposted in Questions & Answers
Well done for the shared link, but is it working is most important?
-
RE: slop of EMAposted in Questions & Answers
there are various ways, simply if id 10 is above id 1 it is pointing down
-
RE: undeclared identifierposted in Questions & Answers
Don't add mq4 add a shared link, is this working now? It looks correct.
-
RE: How I can draw line with BreakEvenPoint Value? Help Me Please.posted in Questions & Answers
Start a fresh question, but first create a project, and check the instructions, and the forum.
-
RE: Please help draw horizontal line on chart as maximum level to close trade and stop EAposted in Questions & Answers
To save the level I would need to know the reason, test with this modify variables block, candle 1 high into the variable you created (as a double) - comment block displaying the variable. You can then watch this change on backtest. Use this principle to get your starting level. When this is working add a second variable adjusted to +100 pips and add this to the comment, then you can use the values to place lines, so on test you can visually see what's happening.
-
RE: Endless buy and sells in a rowposted in Questions & Answers
No because that is switching the right side on if the left has placed a trade, do this set the left side to buys, on the right if buy - no sell - rest of your blocks. setting this up with the extra block should make it work.
-
RE: Endless buy and sells in a rowposted in Questions & Answers
What seems to be wrong to me is, once a trade is places on the left, right is free to constantly place trades, so as soon as the condition is true a trade is placed on every bar.
-
RE: RSI Robot not workingposted in Bug Reports
This can happen on a platform with the same data that has been used for a long time, try not using a set date, a different timeframe, or it is possibly just the spread used at thetime.