INDICATORE DI VOLUME

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230984 quote
    massimogpmassimogp
    Participant
    Senior

    Grazie Roberto per i 2 indicatori, ti chiedevo un ultimo indicatore basato sul volume di grafici daily:

    sugli ultimi 50 giorni di negoziazione sarebbe da dividere il volume totale nei giorni al rialzo per il volume totale nei giorni al ribasso per ottenere il rapporto. E cercare azioni con rapporti superiori a 1,5. 

    #231007 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    Rialzo     = close > open
    Ribasso    = close < open
    RialVOL    = volume * Rialzo
    RibaVOL    = volume * Ribasso
    TotRIBASSO = 0
    TotRIALZO  = 0
    N          = 0
    FOR i = 0 TO 253
       IF high[i] <> low[i] THEN
          TotRIBASSO = TotRIBASSO + RibaVOL[i]
          TotRIALZO  = TotRIALZO  + RialVOL[i]
          N = N + 1
          IF N = 50 THEN
             break
          ENDIF
       ENDIF
    NEXT
    IF N = 50 THEN
       Rapporto = round(TotRIALZO / TotRIBASSO,3)  //3 decimli
    ELSE
       Rapporto = 0
    ENDIF
    SCREENER[Rapporto > 1.5](Rapporto AS "Rpporto")
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

INDICATORE DI VOLUME


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
massimogp @massimogp Participant
Summary

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

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