nuovi max / min

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #133790 quote
    lowbatlowbat
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
6 years ago.

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