DIGEGNARE MIN/MAX H1 IN GRAFICO MINORE

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #241421 quote
    Radetzky
    Participant
    Senior

    Buongiorno Sig Roberto:  in passato probabilemnet col suo aiuto ho combinato  questo  codice per segnare i MAX/MIN orari in un grafico minore ( come  da titolo  …io lo uso  sul 1min ) .

    ——————————————————————————-

    DEFPARAM CalculateOnLastBars=2000
    IF OpenMinute MOD 60 = 0 THEN
    DRAWSEGMENT(start,hh,barindex,hh)coloured(0,123,0)style(line,2) ///spessore 1-5
    DRAWSEGMENT(start,ll,barindex,ll)coloured(255,0,255)style(line,2) ///spessore 1-5
    start = barindex
    HH = high
    LL = low
    ENDIF

    HH = max(HH,high)
    LL = min(LL,low)
    RETURN

    ———————————————————————————————————————-

    Il punto è che lo segna alla fine dell’ora   sull’ora passata:

    DOMANDA : si potrebbe proiettare  il livello nell’ora successiva ??? in modo di averlo sull’ora che lo ha generato e sulla successiva

    allego  foto

    GRAZIE  e BUONE FESTE !!!

    #241466 quote
    Iván González
    Moderator
    Master
    DEFPARAM CalculateOnLastBars=2000
    
    IF OpenMinute MOD 60 = 0 THEN
    lasthh=hh
    lastll=ll
    DRAWSEGMENT(start,hh,barindex,hh)coloured(0,123,0)style(line,2) ///spessore 1-5
    DRAWSEGMENT(start,ll,barindex,ll)coloured(255,0,255)style(line,2) ///spessore 1-5
    start = barindex
    HH = high
    LL = low
    ENDIF
    
    HH = max(HH,high)
    LL = min(LL,low)
    
    if islastbarupdate then
    DRAWSEGMENT(start,lasthh,barindex,lasthh)coloured(0,123,0)style(dottedline,2) 
    DRAWSEGMENT(start,lastll,barindex,lastll)coloured(255,0,255)style(dottedline,2)
    endif
    RETURN
    robertogozzi thanked this post
    #241529 quote
    Radetzky
    Participant
    Senior

    GRAZIE….. Ivan  come  sempre,

    il motivo delle  richiesta e legata al voler provare ad  utilizzare  tali  livelli per tecniche  di BREAKOUT  in trend………al  contempo faccio gli auguri di  buone  feste ,  allo staff e  a tutti

    Iván González thanked this post
    #241586 quote
    Iván González
    Moderator
    Master

    Prego! Buone vacanze anche a te!!

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

DIGEGNARE MIN/MAX H1 IN GRAFICO MINORE


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Radetzky @radetzky Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Iván González
1 year, 1 month ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 12/14/2024
Status: Active
Attachments: 1 files
Logo Logo
Loading...