Interpretazione formula

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12165 quote
    cynarr
    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
    Nicolas
    Keymaster
    Master

    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.

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 Nicolas
9 years, 5 months ago.

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