where is the code that opens orders ?
Your if statement says don't set i_Signal if its above or below the High/Low Level. its executing exactly how programmed.
Take the if statements out if you don't want to check. (if (Ask and if (Bid....
Hello, What if I give a suggest to use String to get signal, maybe it can help
Example like this
I see above using this
How about make improvement to this
and for Lot Calculation, I don't know detail of your Methode, but I want to give you example
I See above only like this
What if improvement to this
But if I see Back on the Case of the logic, I think it's only need to swicth with True False Condition
" Obviously the idea is still to be able to Sell once the High_Level is
breached and still be able to Buy when the Low_Level is breached"
High_Level= 1.50001; // Do not buy above this level , How About Make Condition Buy False and Sell True ? Low_Level = 1.40001; // Do not sell below this level, , How About Make Condition Buy True and Sell False ?
I Hope It Can Help :) Forgive me If I'm wrong, because I still amateur in the code.