screener di tendenza medie mobili

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #161554 quote
    RickygiovaRickygiova
    Participant
    New

    Ciao A tutti

    mi piacerebbe creare uno screener con le seguenti condizioni:

    media semplice 20 > media 50

    media 50 > media 100

    prezzo incrocia  la media a 20 e chiude sopra

    chiusura > apertura

    capitalizzazione 2 bilion

    volume medio 2 milioni

    ps ..riportarlo anche come indicatore con metta una freccia  alla rottura del massimo della barra indicata in precedenza….quella che chiude sopra la m20 per intenderci ( mi piacerebbe che si colori di giallo)

    spero in qualche buon anima che mi possa aiutare…grazie

    #161555 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo, senza capitalizzazione perché è un dato sconosciuto (non provato):

    Sma20  = average[20,0](close)
    Sma50  = average[50,0](close)
    Sma100 = average[100,0](close)
    c1     = Sma20 > Sma50
    c2     = Sma50 > Sma100
    c3     = close CROSSES OVER Sma20
    c4     = close > open
    c5     = average[20,0](Volume) >= 2000000
    Cond   = c1 and c2 and c3 and c4 and c5
    Screener[Cond]
    #161556 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Qual’è la barra indicata in precedenza?

    Non hai indicato niente di preciso, quindi è quella del segnale?

    #161557 quote
    RickygiovaRickygiova
    Participant
    New

    Grazie 1000 Roberto funziona

    #161558 quote
    RickygiovaRickygiova
    Participant
    New

    si, quella del segnale ….nel senso che come screener funziona…… ora se lo volessi mettere come indicatore dove mi colora la barra del segnale di setup in giallo e inserisce una simbolo (tipo freccia) se entro le 2 barre successive rompe il massimo della barra di setup.

    #161560 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo (non provato):

    Once Cond = 0
    Sma20  = average[20,0](close)
    Sma50  = average[50,0](close)
    Sma100 = average[100,0](close)
    c1     = Sma20 > Sma50
    c2     = Sma50 > Sma100
    c3     = close CROSSES OVER Sma20
    c4     = close > open
    c5     = average[20,0](Volume) >= 2000000
    If Cond = 0 then
      Cond   = c1 and c2 and c3 and c4 and c5
      If Cond Then
          DrawCandle(Open,High,Low,Close) coloured(238,220,130,255)
          Massimo = high
       Endif
    Endif
    x = Cond
    If summation[3](Cond) = 3 then
       Cond = 0
    Endif
    If x Then
       If close crosses over Massimo Then
          DrawArrowUp(BarIndex,Low-range) coloured(0,128,0,200)
          Cond = 0
       Endif
    Endif
    Return
    #161722 quote
    RickygiovaRickygiova
    Participant
    New

    grazie ancora Roberto

    perfetto…funziona

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 di tendenza medie mobili


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Rickygiova @rickygiova Participant
Summary

This topic contains 6 replies,
has 2 voices, and was last updated by RickygiovaRickygiova
5 years, 7 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 02/15/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...