VOLATILITA’ STORICA MESE E DAILY

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #245110 quote
    massimogpmassimogp
    Participant
    Senior

    Buon giorno Massimo, chiedevo un o screener giornaliero con i seguenti parametri:

    (time frame monthly)

    valore ATR a 5 periodi

    valore ATR a 3 periodi

    calcolare il valore medio dei 2 ATR (esempio: ATR a 5 periodi  18 $ e ATR a 3 periodi  10 $ = 18 + 10 / 2 = 14 $)

    (time frame daily)

    titoli che dal primo giorno di ogni mese (1 marzo 1 aprile 1 maggio ecc..) fino al giorno dello screener (15 marzo 16 marzo 17 marzo ecc.) siano scesi del valore medio di ATR mensile trovato sopra così da monitorare eventuali entrate long.

    In quanto vedo che anche in trend a ribasso ci sono degli interessanti rimbalzi contrarian.  Spero di essermi spiegato, grazie mille.

    #245121 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    Timeframe(Monthly)
    Atr5 = AverageTrueRange[5](close)
    Atr3 = AverageTrueRange[3](close)
    Avg  = -((Atr5 + Atr3) / 2)
    //
    Timeframe(Daily)
    FOR i = 0 TO 31
       IF OpenMonth[i] <> OpenMonth[i + 1] THEN
          Inizio = Open[i]
          break
       ENDIF
    NEXT
    Diff = close - Inizio
    Cond = Diff < Avg
    SCREENER[Cond AND (high <> low)](Diff AS "Differenza")
    Iván González 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

VOLATILITA’ STORICA MESE E DAILY


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
massimogp @massimogp Participant
Summary

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

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 03/21/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...