Apertura degli indici

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #191390 quote
    Silvia BrugnolaroSilvia Brugnolaro
    Participant
    Veteran

    Buongiorno, con proscreener è possibile analizzare gli indici europei ed avere una tabella con il valore di apertura e relativo atr (e altri valori di alcuni indicatori)?
    Altrimenti c’è qualche altra strada che posso seguire?
    Grazie

    #191397 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Questo screener ti permette di confrontare azioni appartenenti allo stesso indice:

    // Confronto tra azioni dello stesso indice
    //
    TIMEFRAME(daily)
    CloseVal = Close
    //
    //EQUITYFRAME("Azioni - US (NASDAQ","AMZN")
    EQUITYFRAME("Indices - MIB","Indices - MIB")
    CloseInd = Close
    EQUITYFRAME(default)
    Ratio = (CloseVal / CloseInd) *100
    //
    TIMEFRAME(default)
    RelativeStrength = (Ratio - Ratio[1]) *100
    MyAvg = average[20,0](RelativeStrength)       //Media Semplice a 20 periodi
    Cond = 0
    IF RelativeStrength CROSSES OVER MyAvg AND (close > 150) THEN
       cond = 1
    ELSIF RelativeStrength CROSSES UNDER MyAvg AND (close > 150) THEN
       cond = 2
    ENDIF
    SCREENER [Cond](Cond AS "1=↑,2=↓")//(RelativeStrength AS "RelativeStrength")

    Questo, invece, ti permette di confrontare un indice con le azioni che lo compongono:

    // confronto tra un indice  e le azioni che lo compongono
    //
    ////////////////////////////////////////////////////////////////
    EQUITYFRAME("Indices - MIB","MIB")
    Indice = (close - close[1]) * 100 / close    //es.: 2.277%
    //
    EQUITYFRAME(default)
    Stock = (close - close[1]) * 100 / close    //es.: 2.277%
    //-------------------------------------------------------
    Cond  = (Stock > Indice)
    SCREENER[Cond](Stock AS "Performance")

    ed infine questo per confontare coppie valutarie Forex:

    // confornto tra Valute FX
    //
    EQUITYFRAME("Currencies","EURUSD")
    eurusd=close
    //
    EQUITYFRAME("Currencies","GBPUSD")
    gbpusd=close
    //
    result=eurusd/gbpusd
    screener[1](result)
    #191399 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Non si possono confrontare indici diversi.

    Silvia Brugnolaro thanked this post
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

Apertura degli indici


ProScreener: Scansione Mercati & Screener

New Reply
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 years, 5 months ago.

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