Questions from Beginners MQL5 MT5 MetaTrader 5 - page 812
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How is that possible? Wasn't there a problem with the maths?
It looks like 1.05 *0.81/100 =0.008505
It gives you 35% stop and 81% tekprofit instead of 0.81% and 0.35%
The method from the standardSellLimit&BuyLimit library
Print shows:
2017.12.24 07:55:27.559 2017.01.03 16:54:17 1.04236745s_ep
2017.12.24 07:55:27.559 2017.01.03 16:54:17 1.25084094s_sl
2017.12.24 07:55:27.559 2017.01.03 16:54:17 0.521183725s_tp
How is this possible? Wasn't there a problem with the maths?
It looks like 1.05 *0.81/100 =0.008505
It gives you 35% stop and 81% tekprofit instead of 0.81% and 0.35%
The method from the standardSellLimit&BuyLimit library
Print shows:
2017.12.24 07:55:27.559 2017.01.03 16:54:17 1.04236745s_ep
2017.12.24 07:55:27.559 2017.01.03 16:54:17 1.25084094s_sl
2017.12.24 07:55:27.559 2017.01.03 16:54:17 0.521183725s_tp
Rewrite the same code, but so that ALL variables are declared. I'll see what types of variables you declare. And then the right solution is close at hand.
Rewrite the same code, but so that ALL variables are declared. I'll see what types of variables you declare. And then you'll be on your way to the right solution.
Errors. Not compiling.
Errors. It won't compile.
Sorry, try it now.
Sorry, try it now.
Probably overnight - so I don't understand at all WHAT you're trying to do.
A word of advice:
Probably overnight - so I don't understand ANYTHING you're trying to do.
A word of advice:
Thank you incredibly helpful.
It does not make muchdifference, but where the function does not work, it may open the whole deposit.
Strange but the function, works even if there are more orders than zero.
It doesn't make muchdifference, but where the function doesn't work it can open up the whole deposit.
Open the MT5 help for the function and make sure you correctly understand what an order is in MT5
Can you please tell me how to determine _Digits for another character?