macd entry arrows indicator

Forums ProRealTime English forum ProBuilder support macd entry arrows indicator

Viewing 8 posts - 1 through 8 (of 8 total)
  • #143551

    Hello everyone

    my purpose was to create an indicator that displays an arrow on the macd when the histogram crosses the zero line.

    Here’s my code:

    Sadly the arrows are very often one candle too early, (as you can see in the screenshot)

    does anyone have a clue on why this is?

    thanks in advance!

    #143562

    Hi I’m not sure what it is exactly that you are trying to achieve but this is my go to code for whenever I want to use arrows:

    Remove lines 11-39 and add the following:

    (make a duplicate of your code first just incase this wasn’t what you were after.)

     

     

    1 user thanked author for this post.
    #143588

    The Arrows on the graph

     

    1 user thanked author for this post.
    #143592

     

    #143710

    Thanks for your help! I’ve tried your code and the arrows are still missplaced, so i guess the problem is probably coming from the software configuration and not the code.

    #143712

    Update, it works well on the 1 hour time frame, so the problem is coming from the daily i guess

    #143715

    So i unactivated this feature (also apply these settings on the daily and higher timeframes),

    and now the arrows are placed correctly on the daily timeframe. Problem is solved.

    #189587

    “The Arrows on the graph”

    Where do I put this code?

    I am getting error “following variables undefined C, L, S”

Viewing 8 posts - 1 through 8 (of 8 total)

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