Replies

katorian
06 Aug 2022, 17:08

Thanks for this.  I also tried a few things like a dummy indicator fed in as a source.  But like you showed it just seems to need a "wake up".  It doesn't even need to be anything meaningful by the looks of it.  The following works too:

for (int i = 0; i <= 100; i++) { _ = Bars.LastBar; }

 

Can this please be fixed so we don't have to add useless bits of code?


@katorian

katorian
06 Aug 2022, 17:08

Thanks for this.  I also tried a few things like a dummy indicator fed in as a source.  But like you showed it just seems to need a "wake up".  It doesn't even need to be anything meaningful by the looks of it.  The following works too:

for (int i = 0; i <= 100; i++) { _ = Bars.LastBar; }

 

Can this please be fixed so we don't have to add useless bits of code?


@katorian