Moving average cross with MACD

Forums ProRealTime English forum ProScreener support Moving average cross with MACD

Viewing 4 posts - 1 through 4 (of 4 total)
  • #248566

    Hi,

    Please help me with a screener

    1.Price moving average 20 cross e.g. over
    2. Refer to attached code. I need a condition where the moving average cross takes place under conditions/ during the times where e.g. the zerolagMACD is currently/must be trading over signalMACD and vice versa, at the time of the moving average cross (note: not referring to the point where both need to cross at the same time).
    3. trading range macd e.g 0 to 0.1

    Regards,
    Segie

    #248567

    Can you better explain rule 2?

     

    #248568

    Please see attached.

    When 20ma cross takes place it must correspond with the appropriate color of the MACD.

    E.g Whith Bull MA cross then MACD must also be in the ‘blue’. zerolagMACD currently trading over signalMACD

    If there’s a bull MA cross but MACD in the ‘red’ then shouldn’t be part if the screened items. i,e zerolagMACD currently trading under signalMACD

    Both must align.

    #248582

    Hi! I think instead using flags you should just code macd>signal.

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login