Conteggio barre da incrocio Medie Mobili.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #229690 quote
    11mark11mark
    Participant
    New

    Salve a tutti, vorrei un aiuto per un codice che mi da risultati strani su ProScreener.

    Vorrei che lo Screener restituisse tutti i titoli che hanno avuto il cross over della MM128 sulla MM255 da non più di 128 candele…. ho provato ad inserire il codice che riporto di seguito ma, eseguendolo, non elenca titoli, anche se ve ne sono che rispettano le condizioni poste. Il problema penso sia nella parte del conteggio candele a partire dal Cross Over.

    Grazie!!

     

    A=Average[128](close)
    B=Average[255](close)
    
    Once NumBarre=0
    If A Crosses Over B then
    NumBarre=0
    Endif
    NumBarre=NumBarre+1
    
    Condition1 = Average[32](close) > Average[128](close)
    Condition2 = A > B
    Condition3 = High<Highest[64](High)
    Condition4 = NumBarre <=128
    
    SCREENER[Condition1 and Condition2 and Condition3 and Condition4 ]
    
    #229730 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Il limite di periodi che si può usare è 256 (ma forse è meglio non superare 254, devi fare delle prove).

    Se dovessi usare indicatori tipo EMA (MME), non potrai superare circa 80 periodi, perché per i loro calcoli interni usano più del doppio delle barre nominali indicate.

Viewing 2 posts - 1 through 2 (of 2 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 da incrocio Medie Mobili.


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
11mark @11mark Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
2 years, 6 months ago.

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