Help with MACD Alert issues

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #64305 quote
    giogee
    Participant
    New

    Hi guys just need a little help not sure if this can even give an alert.

    I’m try to get an alert on the Zero lag MACD but having trouble can someone help please attached image as I don’t want an alert when the line cross “0” but want an alert when histogram (or the bars goes above or below “0”

    #64376 quote
    robertogozzi
    Moderator
    Master

    There you go

    x = MACD[12,26,9](close)
    IF x CROSSES OVER 0 THEN  //histogram goes above ZERO
       .
       .
    ENDIF
    IF x CROSSES UNDER 0 THEN //histogram goes below ZERO
       .
       .
    ENDIF

     

    Roberto

    Nicolas thanked this post
    #64538 quote
    giogee
    Participant
    New

    Thank you for the help but when I try to add this as an indicator I get a syntax error am I doing something wrong

    Do I add this as an alert

    #64539 quote
    Nicolas
    Keymaster
    Master

    Roberto has gave you an example of how to code a signal indicator. If you want to add sounds alerts, you can follow this tutorial in video: https://www.prorealcode.com/blog/video-tutorials/alerts-prorealtime-10-3/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Help with MACD Alert issues


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
giogee @giogee Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by Nicolas
7 years, 11 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/03/2018
Status: Active
Attachments: 1 files
Logo Logo
Loading...