#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

# Plus DI and Minus DI crossover scan

Hi, I'm currently helping my grandad but I don't have the necessary coding skills just yet.

All he wants is a scan to alert him on the day when the Minus DI and Plus DI cross over. I tried [Plus DI(14) = Minus DI(14)] first (although [Plus DI(14) >= Minus DI(14)] works) and then a few of the True Range indicators from the stockcharts school but at this point it's all just a little confusing.

Any help or advice would be appreciated!

• mod
The easy way to do it is using the crossover operator "x". The "x" means the term on left crosses above the term on the right.

and [MinusDI(14) x PlusDI(14)]

would be minus DI crosses above plus DI, meaning yesterday minus DI was below plus DI and today minus DI is
above plus DI.

For plus to cross above minus, you would switch the order of the terms

and [PlusDI(14) x MinusDI(14)]

The crossover operator is explained here ( a few paragraphs down)

• ✭✭
edited August 2020