conteggio barre incrocio

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241369 quote
    Edisone
    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
    robertogozzi
    Moderator
    Master

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

    #241403 quote
    Iván González
    Moderator
    Master

    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.

conteggio barre incrocio


Supporto ProScreener

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ález
1 year, 1 month ago.

Topic Details
Forum: Supporto ProScreener
Language: Italian
Started: 12/12/2024
Status: Active
Attachments: No files
Logo Logo
Loading...