Formula "UP/DOWN Volume"

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #75483 quote
    cynarrcynarr
    Participant
    Average

    Salve

    ho trovato questa formula “UP/DOWN Volume” in linguaggio Metastock in rete.

    Sum(If(C > Ref(C,-1),V,0),50) /
    Sum(If(C <Ref(C,-1),V,0),50);
    1;

    e ho provato a tradurla in linguaggio prorealtime, ma non ottengo il risultato giusto

    IF (Close>Close[1]) Then
    a1=volume
    ENDIF
    IF (Close<Close[1]) THEN
    a2=volume
    ENDIF
    x=summation[50](a1)
    y=summation[50](a2)
    k=(x/y)
    return k AS ” UP/DOWN Volume”

    Qualcuno sa dirmi per cortesia dov’è l’errore?

    giuliano

Viewing 1 post (of 1 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

Formula "UP/DOWN Volume"


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
cynarr @cynarr Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 07/06/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...