screener in un certo periodo del mese

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #224321 quote
    pitp222pitp222
    Participant
    New
    Translator

     

    Buongiorno,

    una cortesia,chiedo se possibile uno screener che ricerca tutti i titoli che hanno una performance positiva in un determinato periodo del mese(ad es. nella 2 settimana performance del 3%)

    spero di essermi spigato oppure se mancano delle informazioni vedo di rimediare

    Grazie a tutti in anticipo

    Pierangelo

    #224335 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Usi un timeframe settimanale?

    Lo chiedo perché la versione ProRealTime supportata da IG consente al massimo di andare indietro di 256 barre.

    #224341 quote
    pitp222pitp222
    Participant
    New
    Translator

     

    Pensavo anche giornaliero,tu cosa dici,per effettuare trading di breve

    Grazie 1000 per la celerità della risposta

    Buona serata

    Pierangelo

    #224349 quote
    Jean FXJean FX
    Moderator
    Junior

    La versione Completa => 255 barre
    La versione Premium => 1024 barre

    #224350 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    La versione Completa => 255 barre La versione Premium => 1024 barre

    La versione Completa (IG) <= 255 barre
    La versione Premium (PRT) <= 1024 barre

    #224413 quote
    pitp222pitp222
    Participant
    New
    Translator

     

    Grazie 1000,chiedo un consiglio su come scrivere il codice,tanto per avere una dritta.

    Grazie in anticipo buona serata

    Pierangelo

    #224735 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo, devi indicare te le date:

    Timeframe(Daily)
    DallaData = 20231105
    AllaData  = 20231110
    Inizio    = 0
    Fine      = 0
    Segnale   = 0
    FOR i = 0 TO 255
       IF OpenDate[i] = AllaData AND Fine = 0 THEN
          Fine        = close[i]
       ELSIF OpenDate[i] = DallaData AND Fine <> 0 THEN
          Inizio      = open[i]
          break
       ELSIF OpenDate[i] < DallaData AND Inizio = 0 THEN
          Inizio      = open[i - 1]
          break
       ENDIF
    NEXT
    Perf = ((Fine / Inizio) - 1) * 100
    IF Perf >= 3.00 THEN            // >= 3%
       Segnale = 1
    ENDIF
    SCREENER[Segnale](Perf AS "Performance%")
Viewing 7 posts - 1 through 7 (of 7 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

screener in un certo periodo del mese


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
pitp222 @pitp222 Participant
Summary

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

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