Hi, I decided to try to the OSF on demo and noted that it only performs sell orders. I am not a pragrammer but I decided to take a look at the lines and found the following possible error:
ticket=OrderSend(Symbol(),OP_SELL,buylots,Ask,3,StopLoss,Target,"OSF BUY",MagicEA,0,Green);
Shouldn't we have here and OP_BUY?
Mincealors99:
Yes. Good catch.
Hi, I decided to try to the OSF on demo and noted that it only performs sell orders. I am not a pragrammer but I decided to take a look at the lines and found the following possible error:
ticket=OrderSend(Symbol(),OP_SELL,buylots,Ask,3,StopLoss,Target,"OSF BUY",MagicEA,0,Green);
Shouldn't we have here and OP_BUY?
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
Open Source Forex:
Author: eesfx