Hi, can anyone help?
This seems a simple task but it does not work. I want to start a buy process when Ask or Bid crosses a Bollinger Band for example;
if(Ask==UpperBand) // UpperBand is the iBands fuction
{
Then if ask is equal to Upperband then open trade etc .
The problem is that the double equal == operand does not work. When Ask is equal to Upper band the code ignores this . I tried this and it works <= and this does also >= does but not ==.
I want to trade to open at precisely the point that the market crosses the band.
Hi, can anyone help?
This seems a simple task but it does not work. I want to start a buy process when Ask or Bid crosses a Bollinger Band for example;
if(Ask==UpperBand) // UpperBand is the iBands fuction
{
Then if ask is equal to Upperband then open trade etc .
The problem is that the double equal == operand does not work. When Ask is equal to Upper band the code ignores this . I tried this and it works <= and this does also >= does but not ==.
I want to trade to open at precisely the point that the market crosses the band.
Many thanks for any possible answers
Chris