Interpretazione formula

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12165 quote
    cynarrcynarr
    Participant
    Average

    Salve

    qualcuno, per favore, sa dirmi il significato esatto di queste due righe scritte in linguaggio prorealtime?

    Io so solo cosa significa  “close – close[1]”  e  “close[1] – close“.

    Ho dubbi soprattutto  sullo “0,” cosa sta a significare?

    Poi c’è Max che credo indichi il massimo ma di che cosa? visto che   “close – close[1]”   ha solo un valore e non ha un Min e un Max.

     

    rialzo = MAX(0, close – close[1])
    ribasso = MAX(0, close[1] – close)

     

    Saluti

    cynarr

    #12192 quote
    NicolasNicolas
    Keymaster
    Legend

    MAX e MIN => scegliere il valore massimo o minimo e indicalo tra parentesi.
    Ad esempio, se desideri conoscere il valore massimo tra la Close della candela in corso e quella precedente,  puoi fare:

    value = MAX(close,close[1])
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

Interpretazione formula


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
cynarr @cynarr Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
10 years ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 08/24/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...