Basic Buy Setup

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #244375 quote
    denise.ligoriodenise.ligorio
    Participant
    New

    Ciao,

    sono una super neofita quindi abbiate pietà di me!

    Vorrei imparare a fare un indicatore e un analogo proscreener per intercettare:

    • Trend rialzista
    • 3/4/5 candele rosse o 3/4/5 massimi decrescenti (delle singole candele)
    • Conferma del trend rialzista (rottura del massimo dell’ultima candela definita)
    • Media mobile a 20 e 40 con candela che sta attorno alla media mobile 20

    Se parto da zero mi perdo nel codice che non ho mai usato. Quindi chiedo se qualcuno mi può impostare il tutto così anche comincia a imparare le cose base.

    Grazie!

    #244440 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Indicatore:

    Sma         = average[100,0](close)
    Sma20       = average[20,0](close)
    Sma40       = average[40,0](close)
    TrendRialzo = (close > Sma)// AND (Sma > Sma[1])
    Rosse5      = (summation[5](close < open) = 5)
    Massimi5    = (summation[5](high < high[1]) = 5)
    c1          = TrendRialzo
    c2          = Rosse5[1] OR Massimi5[1]
    c3          = high > high[1]
    c4          = (high >= Sma20) AND (high >= Sma40)
    c5          = (low <= Sma40)  AND (low <= Sma40)
    Cond        = c1 AND c2 AND c3 AND c4 AND c5
    RETURN Cond AS "Segnale"

    Screener:

    Sma         = average[100,0](close)
    Sma20       = average[20,0](close)
    Sma40       = average[40,0](close)
    TrendRialzo = (close > Sma)// AND (Sma > Sma[1])
    Rosse5      = (summation[5](close < open) = 5)
    Massimi5    = (summation[5](high < high[1]) = 5)
    c1          = TrendRialzo
    c2          = Rosse5[1] OR Massimi5[1]
    c3          = high > high[1]
    c4          = (high >= Sma20) AND (high >= Sma40)
    c5          = (low <= Sma40)  AND (low <= Sma40)
    Cond        = c1 AND c2 AND c3 AND c4 AND c5
    SCREENER[Cond]
    Iván González and denise.ligorio thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Basic Buy Setup


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
1 year, 6 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 02/26/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...