I'm trying to figure out why the bigger TF indicator values are not correct on my multi TF strategy. The smaller TF indicator values are correct. I built this simple script using the SampleMultiTimeFrame included with NJT.
The script is simply adding the bigger secondary data series, the bigger indicator and then printing out the indicator values so I can check them. The bigger TF one is not correct.
I'm just using the MACD standard indicator and printing out the value. When I tried this with the SMA indicator, it was correct. Not sure why the MACD is different.
Steps to duplicate:
1. Run the included script with RTY 12-18 contract with 1 minute as the primary data series for date 10/17/2018. The script adds the 15 minute data series.
2. Check the MACD values in the Output Window. For example, at 6:00AM,
10/17/2018 6:00:00 AM - BigMACD: -1.79744401229141. SmallMACD: 0.515067892503566
The SmallMACD one is correct. The BigMACD one is not correct (if you load up a 15 minute RTY 12-18 chart for 10/17/2018). It should be: -1.68.
Why the difference?
Comment