invert Screener code

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

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

    #227887 quote
    JS
    Participant
    Senior

    I think it is the “horizontal zero line” 🙂

    sam00075 thanked this post
    #227888 quote
    JS
    Participant
    Senior

    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
    sam00075
    Participant
    New

    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
    JS
    Participant
    Senior

    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
    sam00075
    Participant
    New

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

    #227892 quote
    JS
    Participant
    Senior

    0,00 = 0

    sam00075 thanked this post
    #227893 quote
    sam00075
    Participant
    New

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

    #227894 quote
    JS
    Participant
    Senior

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

    sam00075 thanked this post
    #227895 quote
    sam00075
    Participant
    New

    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
    JS
    Participant
    Senior

    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
    sam00075
    Participant
    New

    Thanks a lot for your patience and time.

    Very appreciated.

    JS thanked this post
    #227898 quote
    sam00075
    Participant
    New

    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
    JS
    Participant
    Senior
    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
    JS
    Participant
    Senior

    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.

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 sam00075
2 years ago.

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