need help to programm this pattern with MACD

Forums ProRealTime English forum ProBuilder support need help to programm this pattern with MACD

  • This topic has 2 replies, 2 voices, and was last updated 1 year ago by avatarJS.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #205243

    Hi everyone,

    I need your help to program this pattern,

    I have tried several different codes and I find more or less results, but it is not great, A code to detect zones 1, 2 and 3
    Z3 = MACD < S-Line Z2 = S-Line > MACD
    Z1 = MACD < S-Line Z1, Z2 and Z3 < 0 and there is a sample of code and picture to explain

    Best Reguards

    #205302
    JS

    Hi @ZeroCafeine

    Try this…

    The pattern is red-green-red-green…

    2 users thanked author for this post.
    #205306
    JS

    It’s not necessary to use a For-loop here…

     

    2 users thanked author for this post.
Viewing 3 posts - 1 through 3 (of 3 total)

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