I'm not an expert at mql4, but I would say that string variables cannot be numbers, but text. According to your example, you want to modify numbers so you should use a 'double' or 'int' variable instead.
Posts made by l'andorrà
-
RE: String variable adjustment using "Modify Variables" block?posted in Questions & Answers
-
RE: Virtual trailing stopposted in Questions & Answers
That is the structure you need to hide your SL to the broker. All blocks under 'For each trade' are doing exactly that. What do you need about it?
-
RE: Store how many orders open at the same timeposted in Questions & Answers
You can create acounter variable and then count how many trades are open by using a 'For each trade' block. You modify the variable at every pip on the orange dot of the block.
-
RE: there is no mt5 ( real time closed positions statistics ) block in the fxDreema...posted in Questions & Answers
You're right. Unfortunately that option is not available for MT5

-
RE: mq5 output not found.posted in Questions & Answers
Do you mean when exporting it from the builder to your desktop? And does it happen in mq5 only?
-
RE: How to make a Pending-Order to Trail ? (Note : Not Trailing-Stop)posted in Questions & Answers
The 'Trailing pending order' should work. Could you please share your project?
-
RE: Mark/flag a trade?posted in Questions & Answers
Could you please detail a specific example? Maybe I would be able to find a suggestion to do.
-
RE: How I can open the same number of long positions in the sale, and vice versa in the BUY with a ONE increaseposted in Questions & Answers
Good to know it works, though. Interesting.
-
RE: Mark/flag a trade?posted in Questions & Answers
Honestly, it depends on your current distribution of blocks. I guess you prefer not to share your project but, can you please at least share the relevant part of it?

-
RE: CURIOUS : H1,H2,H3,H4,H5,H6,H8,H10,H12posted in Questions & Answers
In effect, you can create an Ea doind that, but that would not be an inidicator. fxDReema is not designed to make indicators.
-
RE: I need a loop, but don't know which oneposted in Questions & Answers
Believe me, miro, roar and trader.philipps are the real code breakers here, not me.

Once more, thank you four help. I will study it in detail but as far as I tested on my own this is what I'm looking for.

-
RE: I need a loop, but don't know which oneposted in Questions & Answers
My dearest paragorundu,
Let me say that this is probably one of the best Xmas presents I've been given in the last years! I think this is exactly what I'm looking for. I have to study it, though.
Can I take the liberty of taking advantage of your generosity and ask for a copy of those blocks and variables, please? I know I don't need to see the whole project. Just these wonderful blocks in the loop.
Please accept my <insert number here> (Loop) thanks.

-
RE: AND command blockposted in Questions & Answers
I suggest you to create a bool variable controlling when the lower TF condition is met (same for any other relevant indicator). Then you can use those variables as a condition to be met in your current TF before the buy/sell now block. IMHO that would be much easier than masterinf the 'wait to pass' feature.
-
RE: Help EA Semaforposted in Questions & Answers
Some hints:
-
Use different tree blocks for launching/trailing stopping trades. Trailing stop should have its own tree of conditions.
-
Same for close trades. Are those conditions on blocks 2, 3 and 4 for buys exactly the same for closing trades? I guess not. So you need another tree of conditions for closing your trades.
-
I see you are using candle ID 1 on your condition blocks, Good for you!
That's a common issue for newbies, so you are not a newbie anymore. 
Try redo your project again with these recommendations and let me know.
-
-
RE: How I can open the same number of long positions in the sale, and vice versa in the BUY with a ONE increaseposted in Questions & Answers
@trader-philipps Are you sure that lonely block on the 'On Init' tab will work? What about the 'never use lonely blocks' mantra?
-
RE: Set Trailing Stop to True/Falseposted in Questions & Answers
There are different possibilities. You can create a bool Condition (input parameter) initiated as you prefer. Then you can use that input on a condition block immediately above the TS block. That way you'll be able to choose if TS is functional or not.