if (Historical)
return;
if (Current == 1)
EnterLong();
That doesn't work, and if I replace if(Current ==1) with something like:
if (Position.MarketPosition == MarketPosition.Flat)
then it enters every time my strategy exits the long position.
What I am trying to do is go long as soon as I start the strategy with conditions that exit the position, and I only want it to happen only once???
I also would like to to it as soon as I start the strategy and not OnBarClose, but it always seems to occur on the close of the bar????
Comment