Help with MACD Alert issues

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #64305 quote
    giogeegiogee
    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”

    olag-macd-Alert.jpg olag-macd-Alert.jpg
    #64376 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    giogeegiogee
    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
    NicolasNicolas
    Keymaster
    Legend

    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 NicolasNicolas
8 years, 7 months ago.

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