@Sim22, is it possible to add the POC and VWAP for this? Then maybe Value Area (Value Envelope?)
very useful thank you!
Thanks Sim22!!! You are doing a great job with all these NT8 scripting!
atata
Hello Sim22,
With the new release of Ninja 8, this line is not allowing the script to compile:
if (!BarsArray[0].IsTimebased && priorType == Sim22_PriorAllOHLC_CalcType.PriorMonth)
Ninja sends the error CS 1061 on line 335 column 23:
Sim22_PriorAllOHLC.cs
Error: 'NinjaTrader Data Bars' does not contain a definition for 'IsTimebased' and no extension method 'IsTimebased' accepting a first argument of the type 'NinjaTrader.Data.Bars' could be found (are you missing a directive or an assembly reference?)
Thank you JM1111
If you are using Ninja 8 RC1, you need to replace Bars.IsTimebased (see below):
Removed property Bars.IsTimebased -> please use Bars.BarsType.IsTimeBased instead
I'm unable to figure out your suggested replacement of "if (!BarsArray[0].IsTimebased && priorType == Sim22_PriorAllOHLC_CalcType.PriorMonth)" with "Removed property Bars.IsTimebased -> please use Bars.BarsType.IsTimeBased instead". Could you please indicate the full and correct C# statement and probably the Line number to be modified in the script.