The data being analyzed:
Chart:
Time period: 15 min.
Days to load: 30
Calculate: On bar close
Strategy enabled (Live):
Time periods: 03 min. (primary) and 15 min.
Days to load: 30
Calculate: On each tick
Specific indicator data is written to a CSV file at the instance of a trade ENTRY during the live trading day. After the trading day ends, the indicator data on the chart DOES NOT match the indicator data that was generated at the exact moment of the trade ENTRY at a specific timestamp.
Both the chart and the indicator have the same amount of “Days to load”.
All data written to the CSV file are from bars that are fully formed historical bars.
Example:
RSI(BarsArray[1], 14, 1)[1]
Does the fact that the data used to build the “30 Days to load” chart bars are changing in real time make a difference how the indicators are calculated at the instance of a trade ENTRY compared to the end of a “completed day”? (New bars are being added during the live trading day. Are the oldest bars being removed from the “days to load” calculation?)
Why don’t both versions of the indicator data match?
What can I alter so the “at the instance of a trade ENTRY” and “completed day” chart versions of indicator data match exactly?
Comment