I discovered while debugging something I am doing, that
with both lengths for adx, pdi and ndi set to 14, that
pdi does not return any data until the 41st bar wherease adx and ndi return data on the 15th bar (not streaming data).
While this is not a serious problem, once understood, I know of no reason why pdi should behave differntly from adx and ndi. It turns out I have to test for null on the return from those now because of this.
jgr
with both lengths for adx, pdi and ndi set to 14, that
pdi does not return any data until the 41st bar wherease adx and ndi return data on the 15th bar (not streaming data).
While this is not a serious problem, once understood, I know of no reason why pdi should behave differntly from adx and ndi. It turns out I have to test for null on the return from those now because of this.
jgr
Comment