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.
bool wasAbove = prevX < prevY;
bool isAbove = currX < currY;
bool isCross = wasAbove != isAbove;
I wonder how would one code of buying and selling doing these confirmation as image ?
To add comments, please log in or register