Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1815
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
OnTradeTransaction
Thank you. Just hell) I pity the algotraders on mt5.
It's worth it, in mt5 orders are processed many times faster. And testing is more plausible, there are almost no tester grails.
Read three or four posts.
Yeah, I did. Got it now.
Thanks, I thought it was a mistake, but it's the norm.1,12500*Point=0.0000112500
Fixed everything, the result did not change.
Maybe it is in the logic?
Well somehow it opens the TSL but as a stop
I fixed it, but the result didn't change.
Could it be a matter of logic?
Well, somehow it opens the TSL, but as a stop.
Your function looks like this:
NormalizeDouble((1,12700 - 1,12500/100000),5)
You need to understand what"Point" does.
Make a print.
Your function looks like this:
NormalizeDouble((1,12700 - 1,12500/100000),5)
You need to understand what"Point" does.
Make a print
before
after
But now it doesn't want to turn on at all.
No errors in compiler or terminal, just won't turn on.
What's the magic problem?
What is it?
Sorry for the intrusion.
I'm sorry for being intrusive.
It's not being intrusive. Never be afraid to say you don't know something - always ask.
I'll give you an example.What are "iTrailStart" and "iTrailDist"?
What are "iTrailStart" and "iTrailDist"?
Number of points to switch on and distance from market to trawl
iTrailStart = 10; //Number of points to enable trawl;
iTrailDist = 10; //Distance from the stop to the market;
If the order is in the plus by 11 pips, then 11-10=1 pips without a loss.
Number of points to include and distance from market to tsl
More or less