conteggio barre incrocio

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241369 quote
    EdisoneEdisone
    Participant
    Average

    Salve, sarebbe possibile modificare questo script in modo da aggiungere un conteggio delle barre trascorse da quando si è verificato l’incrocio?

    Grazie

    Ema20 = ExponentialAverage[20](close)
    Ema5 = ExponentialAverage[5](close)
    c1 = (Ema20 CROSSES UNDER Ema5)
    
    SCREENER[c1] ((close/DClose(1)-1)*100 AS "% Var ieri")
    
    #241373 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    L’incrocio è avvenuto nella barra corrente, quindi non c’è nessun conteggio da fare.

    #241403 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Ciao. Se vuoi trovare valori le cui medie hanno attraversato X periodi fa puoi inserire barssince(c1)

    Ema20 = ExponentialAverage[20](close)
    Ema5 = ExponentialAverage[5](close)
    c1 = (Ema20 CROSSES UNDER Ema5)
    
    count=barssince(c1)
    
    SCREENER[count<=5] ((close/DClose(1)-1)*100 AS "% Var ieri")
    
    robertogozzi and Edisone 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

conteggio barre incrocio


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Edisone @edisone Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Iván GonzálezIván González
1 year, 9 months ago.

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