Default to calculating indicator values OnPriceChange

This commit is contained in:
moshferatu 2023-11-13 05:18:03 -08:00
parent dec652e906
commit c4b4868a7f

View File

@ -33,7 +33,7 @@ namespace NinjaTrader.NinjaScript.Indicators
{
Description = @"Displays the RSI values of multiple time frames.";
Name = "RSI Dashboard";
Calculate = Calculate.OnBarClose;
Calculate = Calculate.OnPriceChange;
IsOverlay = true;
TimeFrames = new[] { "1 Minute", "5 Minutes", "30 Minutes", "1 Hour", "4 Hours", "Daily", "Weekly" };
RSIValues = new double[TimeFrames.Length];