I am running an alert which consist of macd-histogram . It works fine when its value is positive. But on negative value it skips the alert. Does odin software(angel broking) dont know the negative integers??? How to correct it from any logic or command. Please help
1 Like
the calculation of macd histogram will be like
MACD Line: (12-day EMA - 26-day EMA) Signal Line: 9-day EMA of MACD Line MACD Histogram: MACD Line - Signal Line
Check your code as per the above conditon/syntax , it should show the values
I already used this formula . I mean when macd hist value is negative the alert ignores it
yes, it should n’t and i haven’t checked odin