Put 1 in the for each trade blocks:

Posts made by jstap
-
RE: Hello, I want to open a second level trade after 50 pips in this system.posted in Questions & Answers
-
RE: Hello, I want to open a second level trade after 50 pips in this system.posted in Questions & Answers
Your missing a couple of blocks.

-
RE: Hello, I want to open a second level trade after 50 pips in this system.posted in Questions & Answers
Add the latest shared link
-
RE: Hello, I want to open a second level trade after 50 pips in this system.posted in Questions & Answers
Separate tree - for each trade - pips away - place group 2 trade
-
RE: Lead me How-To create Custom Enumerationposted in Questions & Answers
I thin so, add a shared link or pictures to see exactly what you are doing
-
RE: Pls I need a function for the EA to immediately Open another trade after hitting stop loss in a martingale way.posted in General Discussions
As soon as SL hit that will open a new trade with a x2 lot
-
RE: Pls I need a function for the EA to immediately Open another trade after hitting stop loss in a martingale way.posted in General Discussions
Separate on the on trade tab, and create another separate tree for sells
-
RE: Pls I need a function for the EA to immediately Open another trade after hitting stop loss in a martingale way.posted in General Discussions
This will place a buy when a buy closed by SL, check the tab it's on.

-
RE: Error while compiling MQL5 code which is converted by Mql4 to Mql5 converterposted in Bug Reports
I no nothing about it, go back to main page and contact support, may have an answer.
-
RE: Error while compiling MQL5 code which is converted by Mql4 to Mql5 converterposted in Bug Reports
The compiler won't replace blocks. Any blocks that sat "trade" need to be manually replaced with the equivalent blocks that say "position"
-
RE: Pls I need a function for the EA to immediately Open another trade after hitting stop loss in a martingale way.posted in General Discussions
on trade tab, trade closed by SL - for each closed trade set to last - buy/sell use loop for lot *2
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
->above or -<below those lines would be out of the S/R rectangle
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
I can give you a breakdown:
Tree 1
block 100 - 106
looks for a name doesn't care for other parameters
block 113
checks if a bool constant is false
block 102
checks if selected object price is above candle 1 close price
block 142
if all true sets price 1 variable to object price
block 103
checks if selected object price is below candle 1 close price
block 143
if all true sets price 2 variable to object price
block 140
sets the zone width variable (hi-lo=distance)
Block 141
checks if zone distance is greater than ATR value
block 116
sets bool variable to 1 (true to start next tree. Using custom code)Tree 2
block 117
Checks if bool condition is true
block 118
checks if price 1 variable price is above candle 1 close
block 108
checks if there is a buy trade
block 105
if no buy trade buys now
blocks 119, 11, 111
does the same as 118, 104, 105 for sells
Block 120, sets the bool condition to of after completing all above.I hope this has given you some clarity on how Miro's EA works
-
RE: How to put the password to an EA that I have to give to a friend?posted in Tutorials by Users
Yes but some code doesn't work on FX, all of this can be done by setting standard blocks... is the biggest advantage to FX, most code is already in the blocks
-
RE: Resetting variablesposted in Questions & Answers
Actually it needs to be a once per (daily) bar block. This will wait until the 1st tick of the day, once a day may try to work when there's no tick, so fail,
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
Yes, You can test to see if a small EA does something on non visual backtest
-
RE: Question about strategy tester and objects on chart.posted in Questions & Answers
If ea is using the objects (not the actual value) then it will only work in visual mode.
-
RE: Telegram to metatraderposted in Questions & Answers
Don't think you can, if you own the channel you have the code, otherwise you would have to ask for it then set everything up.
-
RE: Trailing Stop withstart of trailing above 5 pips or pointsposted in Questions & Answers
This would wait until 10 pips in profit before moving the stop. It would then trail the stop 40 pips behind the price and move every time you gain 1 pip. this is forex, other assets are in points, you can backtest to watch what would happen (the tree should be separate to your buy/sell tree0
