Ipercomprato/venduto su due time frame

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213178 quote
    andrea trevisanandrea 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
    robertogozzirobertogozzi
    Moderator
    Legend

    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 trevisanandrea trevisan
    Participant
    Average

    Grazie

Viewing 3 posts - 1 through 3 (of 3 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

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 trevisanandrea trevisan
3 years, 5 months ago.

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