That's fine if you want to call ATR from within the IStrategy framework, but I'm interested in using ATR as a calculation step in a custom indicator I'm writing. Ideally in this case you don't want to use IHistory or a known set of input bars.
I want to get ATR as an IIndicator and calculate outputs values from inputs and then use them for for further calculations. I have a suspicion that the ATR is not actually called "ATR" so when I call getIndicator(String S), the API can't match S to the built in ATR indicator. There is no documentation on how to call it from the IIndicators framework.
f451
jlongo
Post subject: Re: Anyone know how to call ATR from IIndicatorsProvider?