Massimi e Minimi Mensili

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #107587 quote
    Roberto71Roberto71
    Participant
    Junior

    Buon pomeriggio Roberto,

    avrei bisogno di sapere come potrei fare per :

    individuare i titoli il cui minimo giornaliero odierno è inferiore/superiore al minimo/massimo registrato da inizio mese (01/09) ad oggi oppure dal 01/08 al 31/08 oppure 01/07 al 31/07 oppure dal 01/07 al 31/08 (una volta capito il sistema penso io a creare diversi screeners).

    Grazie 1000

    p.s. vedi le frecce arancioni

    EN-Giornaliero.png EN-Giornaliero.png
    #107604 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Questo ti segnala con 1 quelli > massimo del mese precedente e con 2 quelli < minimo:

    If barindex < 2 Then
       PrevMeseHI  = 0
       PrevMeseLO = 0
       MeseHI          = high
       MeseLO         = low
    Endif
    If OpenMonth <> OpenMonth[1] Then
       PrevMeseHI = MeseHI
       PrevMeseLO = MeseLO
       MeseHI     = high
       MeseLO     = low
    Endif
    MeseHI = max(MeseHI,high)
    MeseLO = min(MeseLO,low)
    Risultato = 0
    If close > PrevMeseHI Then
       Risultato = 1
    Endif
    If close < PrevMeseLO Then
       Risultato = 2
    Endif
    SCREENER[Risultato](Risultato AS “1=⬆️, 2=⬇️”)
    #107605 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Questo le chiusure correnti con minimi e massimi del mese in corso:

    If barindex < 2 Then
       MeseHI = high
       MeseLO = low
    Endif
    If OpenMonth <> OpenMonth[1] and IntraDayBarIndex = 0 Then
       MeseHI = high
       MeseLO = low
    Endif
    Risultato = 0
    If close > MeseHI Then
       Risultato = 1
    Endif
    If close < MeseLO Then
       Risultato = 2
    Endif
    MeseHI = max(MeseHI,high)
    MeseLO = min(MeseLO,low)
    SCREENER[Risultato](Risultato AS “1=⬆️, 2=⬇️”)
    #107606 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Nel primo sostituisci la riga 7 con:

    If OpenMonth <> OpenMonth[1] and IntraDayBarIndex = 0 Then
Viewing 4 posts - 1 through 4 (of 4 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

Massimi e Minimi Mensili


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Roberto71 @roberto71 Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
7 years ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 09/15/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...