I'm trying to perform a simple spread check before placing trades, but I just can't get it to work. Can someone help me out? thanks!!!!
OrderSend ("GBPUSD",OP_SELL,1.0,MarketInfo("GBPUSD",MODE_BID),10,0,0);
At what price do you open a sell trade ???
OrderSend
Why aren't you checking if it succeed or fails ???
I'm trying to perform a simple spread check before placing trades, but I just can't get it to work. Can someone help me out? thanks!!!!
RaptorUK,
Yes I was thinking that was going to check for a 3 pip spread or less.
A value of 3 only means 3 pips on a 4 Digit Broker . . . if your Broker is a 5 digit Broker you need to allow for this
A value of 3 only means 3 pips on a 4 Digit Broker . . . if your Broker is a 5 digit Broker you need to allow for this
Wow, never would have thought of that.
thanks!!!!!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I'm trying to perform a simple spread check before placing trades, but I just can't get it to work. Can someone help me out? thanks!!!!