nuovi max / min

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

    buongiorno a tutti,

    non essendo esperto in programmazione su pro real time, qualcuno saprebbe creare un codice che riesca ad indicare sul grafico nuovi massimi e minimi con profondità di mercato oltre le 20 candele? (turtle System)

     

    grazie

    #145336 quote
    robertogozzi
    Moderator
    Master

    Questo ti fa vedere i minimi e massimi delle ultime 20 candel (ma puoi variare il numero a tuo piacimento, purché > 0):

    DEFPARAM DrawOnLastBarOnly = true
    N       = 20
    Massimo = highest[N](high)
    Minimo  = lowest[N](low)
    DRAWSEGMENT(BarIndex[N - 1],Massimo,BarIndex,Massimo) coloured(0,0,255,255)
    DRAWSEGMENT(BarIndex[N - 1],Minimo ,BarIndex,Minimo)  coloured(0,0,255,255)
    RETURN
    x-8.jpg x-8.jpg
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

nuovi max / min


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
lowbat @lowbat Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/29/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...