im running 70100030
Aparently ninjatrader (and thats a bit hard to describe) pulls out code that already has been deleted or doesnt exist out of nowhere and uses it.
for example.
i had a couple of custom bartypes added to nt. today i was working on another one and since i wasnt really using 1 of the other custom ones and u only have that many bartype slots to chose from, i decided to delete the obsolete one, and asign its slot to the one i was currently working on.
however, after restarting ninjatrader to apply the changes, i couldnt see any changes. my new bartype wasnt there and the old one still was. since i stumbled across a similar issue earlier today, i then deleted all the custom files/bartypes from the types folder, but after the restart i was still able to load all the custom types. unfortunatle not my new one (which was ofc also deleted at that point, so really no surprise here)
how is that even possible. there shouldnt be any code left to tell ninjatrader how to do that stuff that its currently doin.
the really frustrating thing about it is, that the changes arent applied either. like i said i stumbled across an similar problem earlier today where it wouldnt let me change a simple plot line like
Add(new Line(System.Drawing.Color.White, 0.382, "0.382"));
to a diffrent color.
Add(new Line(System.Drawing.Color.Blue, 0.382, "0.382"));
i could do whatever i want with this line - i even deleted it completely- it wouldnt change a thing. i compiled, i restarted, i applied the indicator to the chart over and over again. it just stayed the same. it still plotted that white line like it was supposed to following the original code.
the only way to at least fix that problem, was to rename the indicator. then finally it instantly applied and showed all the changes (blue color) to the plot once i added the new named indicator to the chart.
however. ofc now i changed the line in the code to
Add(new Line(System.Drawing.Color.Orange, 0.382, "0.382"));
tryin if it would be fixed now, and what do you know, it stayed blue. even more funny, just by changing the name (and only the name!)of the indicator back to the original name - the line then became white again. only by changing the name AGAIN to a now completly new name, i was able to get the line orange
how strange is that please? where is ninjatrader gettin this code from to do that. thats super weird. im kinda feeling im goin crazy a bit - maybe i am i dont know.
pls help
Comment