Use substitution.
H = HighSpread;
L = LowSpread;
C = CloseSpread;
Now do ATR and Plot
Then cancel the effect with RestorePriceArrays()
Give this a spin.
Also AB yahoo group is best for this type of discussion.
con
AFAIK the ATR formula takes H,L & C prices into account. So unless something can be expressed in H, L & C you cannot use standard ATR.
You will see AB ATR function is ATR(periods only) because of the above.
Con
koistya
When starting AB (after copying your dll code to plugins) the following is displayed:
"AmiBroker for Win32 has encountered a problem and needs to close. We are sorry for the inconvenience."
Once dll is removed, AB works fine.
Regards
con