Hi all,
can anybody help me where to find the percentage price oscillator indicator PPO? Many thanks in advance.
You can use this code:
a=exponentialaverage(26)(close)
b=exponentialaverage(12)(close)
c=100*(b-a)/a
signal=exponentialaverage(9)(c)
return c as "PPO", signal as "Signal"
Hi Gabri,
thank you very much. It is showing an error (Line 1 Number 25) but unfortunately i can not figure out what the error is. Can you please have a chek. I have attached a screenshot. Many thanks in advance.
Any average should be written with their period within brackets, not parenthesis:
exponentialaverage[26](close)