I developed a multi time frame strategy:
else if (State == State.Configure) { AddDataSeries(Data.BarsPeriodType.Tick, 1); // BarsInProgress 1 }
Well, at this point I have a problem handling the Position.MarketPosition. When I want to take an enter I use in this way:
if(BarsinProgress == 1) { if(EnterLongCondition) EnterLong(1, quantity_1, "Long #1"); }
I have tried these ways:
Print(PositionsAccount[0].MarketPosition); Print(PositionsAccount[1].MarketPosition); Print(Position.MarketPosition);
PS: I have tried also with EnterLong(quantity_1, "Long #1");
Thank you
Comment