This version is identical in terms of functionality to version 1(which is located here: https://nexusfi.com/local_links.php?action=ratelink&catid=27&linkid=1994).
I added the code (finally) to pull the expiry date from the chart and automatically add it to the indicator, so it no longer needs the user to manually input the date.
This indicator is for equities traders, to compare current performance with the 'other 3' equities and an average of all 4.
It adds data series for ES, NQ, RTY and YM, shows % change for each since the session open (24 hr session, not just the day session) as well as a simple moving average of all 4. The SMA period is user-configurable. Default is 10.
Hope you version 1 users find and download this one.
****
In reply to the comment about getting it to work in a strategy, I have never tried and am not a programming guru, but it seems likely that the 4 equity data series have to be loaded in the initializing sections of the strategy, which is before you call the indicator. The indicator can't load the data series for the strategy because it gets called after the strategy is initialized.
That'd be my guess. That you have to load the 4 data series in the strategy itself for the indicator to access them when it's called.
Good luck!
****
Category NinjaTrader 8 Indicators and More
|
|
|