I been searching Google on how to enter a trade as soon as my conditions are satisfied.
Basically, I'm entering a trade as soon as there has been a retrace by x amount of pips. So in order for me to get the current price, I used Close[0]. I'm not sure if that means the close after the bar is completed or as the bar is happening. I also have the Calculate set to Calculate.OnEachTick. I also looked at CalculateOnBarClose, which seems to be different and applicable only to live accounts. I asked this question previously and a staff was nice enough to tell me to set CalculateOnBarClose to false when you get NJ8, but I get a compile error.
Thanks
Comment