Dinapoli Detrend Oscillator + Divergence.. help with indicator

 

Hello,

This is igorads Dinapoli Detrend Oscillator I belive, i've changed it to give a histogram instead. And I was wondering if someone can work on it so that a bar on the histogram would change colour should there be divergence with the closing price.

Anyone help?

 

anyone?

hrmm looks like i'm going to have to learn how to programme.

 

sounds good, i will try it

Reason: