Indicatore DrawDown sempre nullo…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #216888 quote
    Guidoz
    Participant
    New

    Ciao a tutti.

    Qualcuno saprebbe dirmi perché questo semplice indicatore creato da me, con lo scopo di visualizzare il massimo DrawDown, mi restituisce sempre zero? Grazie

    Massimo=0
    If close > Massimo THEN 
    Massimo=close 
    endif
    if close < Massimo then
    DrawDown = (close-Massimo)/MASSIMO*100
    ELSE 
    DrawDown = 0
    ENDIF 
    return DrawDown
    #216903 quote
    Guidoz
    Participant
    New

    Trovato…la prima riga “Massimo=0” non serve

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Indicatore DrawDown sempre nullo…


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Guidoz @guidoz Participant
Summary

This topic contains 1 reply,
has 1 voice, and was last updated by Guidoz
2 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 06/27/2023
Status: Active
Attachments: No files
Logo Logo
Loading...