MACD Level captured in a variable?
-
Hiya again guys. I need some help.
Is there anyway way to capture the level on a MACD at the point where the main line and signal line cross? as a variable?
Thanks again!
-
@highmoose Do you mean the exact number at the crossing? Then no. What we see as human traders is a visual effect. The only real values for the MACD lines are those after and before the crossing, but never the value inbetween.
-
@l-andorrà I think that will still work. What i am looking to do is compare 2 bullish crosses and see if one is below the other. (This will be my own version of divergence detection)
I think the level just before, OR just after will still work just as good, as long as i can detect if once crossover happens above or below the next one

-
@l-andorrà How can i capture the levels just before the cross? Thanks
-
@highmoose You can create two variables and store both values this way:

Than you can use normal 'condition' blocks to check when one number is above the other.
-
@l-andorrà Thanks man! you're the best!
-
@highmoose You're welcome, man!
