invert Screener code

Viewing 15 posts - 16 through 30 (of 36 total)
  • Author
    Posts
  • #227886 quote
    sam00075sam00075
    Participant
    Junior

    When creating an alert on the MACD, i think it’s “Horizontal line” 🙂

    #227887 quote
    JSJS
    Participant
    Master

    I think it is the “horizontal zero line” 🙂

    sam00075 thanked this post
    #227888 quote
    JSJS
    Participant
    Master

    When those two averages, above the horizontal line, cross each other, at that moment the zero line is also crossed…

    sam00075 thanked this post
    #227889 quote
    sam00075sam00075
    Participant
    Junior

    Is it not possible to add as a condition : When the Horizontal line is crossed ?

    Or when that happens close to the Horizontal line ?

    #227890 quote
    JSJS
    Participant
    Master

    In my train of thought I put this condition in, namely:

    c5=MACD[12,26,9](Close) Crosses Over 0 //The MACD baseline is touched, and broken to the upside.

    What value is your horizontal line?

    sam00075 thanked this post
    #227891 quote
    sam00075sam00075
    Participant
    Junior

    Not sure, logically the baseline value should be 0,00 no ?

    #227892 quote
    JSJS
    Participant
    Master

    0,00 = 0

    sam00075 thanked this post
    #227893 quote
    sam00075sam00075
    Participant
    Junior

    Do i need to replace  0 by 0,00 in the code ?

    #227894 quote
    JSJS
    Participant
    Master

    It’s not necessary, but in principle it doesn’t matter…
    When you try it, use: 0.00

    sam00075 thanked this post
    #227895 quote
    sam00075sam00075
    Participant
    Junior

    still not.

    How to replace the MACD[12,26,9] by the MACD horizontal line in the code ?

    c5=MACD[12,26,9](Close) Crosses Over 0 //The MACD

    i tried this but didn’t work

    c5=MACD[Horizontal line](Close) Crosses Over 0 //The MACD

    #227896 quote
    JSJS
    Participant
    Master

    If the horizontal line has no value, it cannot be used…
    I think the conditions are good.
    I’m going to sleep on it…

    sam00075 thanked this post
    #227897 quote
    sam00075sam00075
    Participant
    Junior

    Thanks a lot for your patience and time.

    Very appreciated.

    JS thanked this post
    #227898 quote
    sam00075sam00075
    Participant
    Junior

    I think i found it :

    c5=MACDLine[12,26,9](Close) Crosses Over 0 //The MACD baseline is touched, and broken to the upside.

    🙂 Just added “Line” in MACD

    #227909 quote
    JSJS
    Participant
    Master
    Hi Sam,

    Normally a buy signal is when the “MACD” crosses over the “Signal line”…

    (During this crossing, the value of the histogram is equal to zero and rising…)

    sam00075 thanked this post
    #227912 quote
    JSJS
    Participant
    Master

    In any case, a nice combination of conditions in this screener…

    sam00075 thanked this post
Viewing 15 posts - 16 through 30 (of 36 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

invert Screener code


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
sam00075 @sam00075 Participant
Summary

This topic contains 35 replies,
has 2 voices, and was last updated by sam00075sam00075
2 years, 7 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 12/20/2023
Status: Active
Attachments: 4 files
ProRealCode ProRealCode
Loading...