ninja script output shows the output with some kind of time loops.
every ( 5 min) bar loop should print a output with time, some variables and order status...
but the output jumbles the times and print the outputs in a wrong order...
one example :
this is the code that should print every bar loop some variables and order status :
Print ("---------------------------------------------------------");
Print(Time[0].ToString());
Print ("---------------------------------------------------------");
Print ( "sell : " + sell + " buy : " + buy);
Print ("Buykurs " + Buykurs);
Print ("Sellkurs " + Sellkurs);
Print ("longlimit " + longlimit);
Print ("shortlimit " + shortlimit);
Print ("Position :" + Position.MarketPosition);
Print ("orderlong :");
Print (orderlong);
Print ("orderlongstop :");
Print (orderlongstop);
Print ("orderlongexit :");
Print (orderlongexit);
Print ("ordershort :");
Print (ordershort);
Print ("ordershortstop :");
Print (ordershortstop);
Print ("ordershortexit :" );
Print (ordershortexit);
Print ("--------------------------------------------------------------");
Print (" ");
there is first : 11:30:00, than 11:15:00 , than 11.35:00 , than 11.20:00 ... an so on ...
why this kind of messy time output ?
My Strategy is a little bit extensive (about 1000 lines) but there are no time loops, no goto , no second time series or somthing like this in the code that can change the order of the bars or the order from the output ... just one output print every 5 min bar update...
why this wrong output order ?
Some multithread buck ?
Comment