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
you say ......."Your Slippage isn't adjusted for 4/5 Digit Broker"
I say ......my understanding is that it is in points or pips or whatever - already
i.e so 3 is good to use and 3*mypoint is incorrect.
Can anyone confirm this?
OK, a little help . . .
Find this part in your code, and change it to this . . .
This doesn't check the Magic Number . . you will need to add that in if you want to place manual orders on the same pairs or if you want to run on different timeframes on the same pair at the same time . . . do you ?
Bars is not reliable, it's a bad idea to use Bars . . you should use Time instead.
Your Slippage isn't adjusted for 4/5 Digit Brokers . . nor is your TP or SL.
If you make your SL small you will get error 130 because you aren't checking if it's too close or allowing for Spread.
Is your Broker an ECN Broker ? you can't set SL & or TP when you place an Market order with an ECN Broker, you have to code a OredrModify() to add the SL & or TP after the order is placed . . .
Shall I go on ? this is BASIC stuff . . . these points come up on this Forum day in, day out . . .
And you don't understand much of this because you haven't actually coded anything . . . you have used someone else's code . . "Expert Advisor Builder". There is only one short cut: Jobs
you say ......."Your Slippage isn't adjusted for 4/5 Digit Broker"
I say ......my understanding is that it is in points or pips or whatever - already
i.e so 3 is good to use and 3*mypoint is incorrect.
Can anyone confirm this?
Read this https://www.mql5.com/en/forum/138912
you say ......."Your Slippage isn't adjusted for 4/5 Digit Broker"
I say ......my understanding is that it is in points or pips or whatever - already
Slippage = 3 means 0.3 pips on a 5 digit Broker and 3 pips on a 4 Digit Broker.
Once again clear as mud.
err 0.98330
slippage = 3 = where is the fill ?
slippage = 3*SymPoints (5 digit broker) = where is the fill?
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
if( SymPoints == 0.001 ) { SymPoints = 0.01; SymDigits = 3; }
else if( SymPoints == 0.00001 ) { SymPoints = 0.0001; SymDigits = 5;
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Once again clear as mud.
err 0.98330
slippage = 3 = where is the fill ?
slippage = 3*SymPoints (5 digit broker) = where is the fill?
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
if( SymPoints == 0.001 ) { SymPoints = 0.01; SymDigits = 3; }
else if( SymPoints == 0.00001 ) { SymPoints = 0.0001; SymDigits = 5;
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
i dont know