saklas:
Hi! I have a problem with the following code. First part of the if BuySignal == true && SellMarketCount(Symbol(),MagicNumber) == 0) runs great, but when i check ForceBuy to true the script don't place the order. Can anyone help me with that? Thx
Are you checking the return values from your Trading functions and reporting any errors when they fail ? what errors do you get ?
I don't get any error. The ea ignore the variable bool ForceBuy. The ea works great if BuySignal==true and SellMarketCount(Symbol(),MagicNumber) == 0
saklas: I don't get any error.
How do you know that if you DON'T CHECK?
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
Hi! I have a problem with the following code. First part of the if BuySignal == true && SellMarketCount(Symbol(),MagicNumber) == 0) runs great, but when i check ForceBuy to true the script don't place the order. Can anyone help me with that? Thx