How to detect intersection of OBV, MFI y CCI indicators.

Back to topics list To post a new topic, please log in or register
juantrade 2015.06.17 00:42

Hello all,

I'm trying to build an indicator that alerts me every time the indicators OBV, MFI y CCI intersect as shown in the image below in the blue squares:

The problem that I have is that indicator OBV always has different values when it touches the other two indicators, so I can't condition it to one specific value.

Has anybody had this problem? or does anyone know how to make it work?

Thanks in advance.

WHRoeder 2015.06.17 02:42 #
They never intersect at a bar, only between bars. Use standard cross code.
bool wasAbove = prevX < prevY;
bool isAbove  = currX < currY;
bool isCross  = wasAbove != isAbove;

diegomoedano 2015.09.23 04:32 #
I wonder how would one code of buying and selling doing these confirmation as image ?
Back to topics list  

To add comments, please log in or register