FH
I'm guessing this is a sub-pip account and your Slippage is too small, so try 30 instead of 2 for Slippage
Good Luck
-BB-
I'm guessing this is a sub-pip account and your Slippage is too small, so try 30 instead of 2 for Slippage
Good Luck
-BB-
BarrowBoy:
FH
I'm guessing this is a sub-pip account and your Slippage is too small, so try 30 instead of 2 for Slippage
Good Luck
-BB-
FH
I'm guessing this is a sub-pip account and your Slippage is too small, so try 30 instead of 2 for Slippage
Good Luck
-BB-
Tip=OrderType(); if (Tip==0) {//...On your Buy logic, you open a buy, then the above code close all buys. OP_BUY is defined as zero. Get rid of plain constants and use OP_BUY/OP_SELL.
send=OrderSend(Symb,OP_BUY,lots,Ask,2,Bid-600*Point,Bid+2000*Point);On a 5 digit broker a pip is NOT a Point. Your TP/SL should be external int SL.pips=600, Slippage.pips=2 and the EA should adjust:
//++++ These are adjusted for 5 digit brokers. double pips2points, // slippage 3 pips 3=points 30=points pips2dbl; // Stoploss 15 pips 0.0015 0.00150 int Digits.pips; // DoubleToStr(dbl/pips2dbl, Digits.pips) int init() { if (Digits == 5 || Digits == 3) { // Adjust for five (5) digit brokers. pips2dbl = Point*10; pips2points = 10; Digits.pips = 1; } else { pips2dbl = Point; pips2points = 1; Digits.pips = 0; }
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
Here is my code: