Ipercomprato/venduto su due time frame

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213178 quote
    andrea trevisan
    Participant
    Average

    Voglio fare uno screener che mi segnali ipercomprato/venduto contemporaneamente su time frame differenti.

    MIOrsi = RSI[14](close)

    timeframe (1hour)
    c1 = MIOrsi > 70

    timeframe (4Hours)
    c2 = MIOrsi > 70

    screener [c2 and c1]

    Questo è lo script però non funziona, lo screener mi segnala ipercomprato nel time frame impostato nel Popup di impostazione, che in teoria non dovrebbe avere nessuna influenza avendo impostato il timeframe nello script.

    Grazie.

    #213199 quote
    robertogozzi
    Moderator
    Master

    Devi calcolare l’RSI in ciascun timeframe, non usarlo.

    Poi potrai usare i dati in qualunque altro timeframe consentito:

    timeframe (1hour)
    MIOrsiH1 = RSI[14](close)
    c1 = MIOrsiH1 > 70
    
    timeframe (4Hours)
    MIOrsiH4 = RSI[14](close)
    c2 = MIOrsiH4 > 70
    
    Ttimeframe(default)
    screener [c2 and c1]
    #213215 quote
    andrea trevisan
    Participant
    Average

    Grazie

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

Ipercomprato/venduto su due time frame


ProScreener: Scansione Mercati & Screener

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by andrea trevisan
2 years, 11 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 04/12/2023
Status: Active
Attachments: No files
Logo Logo
Loading...