drawcandles H4 in 30 min

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #241268 quote
    EdisoneEdisone
    Participant
    Average

    Salve se è possibile avrei la necessità di disegnare/rappresentare le candele H4, (usando drawrectangle sia per il body che per le shadows)  in un time frame inferiore esempio 30 minuti come da foto allegata.

    Grazie mille.

    Screenshot-2024-12-09-094433.jpg Screenshot-2024-12-09-094433.jpg Screenshot-2024-12-09-100136.jpg Screenshot-2024-12-09-100136.jpg
    #241280 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ecco fatto:

    ONCE Size1 = 1.01
    ONCE Size2 = 0.99
    ONCE t     = 40
    DRAWCANDLE(High*Size1,High*Size1,Low*Size2,Low*Size2) COLOURED(255,255,255,1) BORDERCOLOR(255,255,255,1)
    IF (OpenHour MOD 4 = 1) AND (OpenHour <> OpenHour[1]) THEN
       r = 255
       b = 0
       IF C4 > O4 THEN
          r = 0
          b = 255
       ENDIF
       DrawRectangle(Bar4,O4,BarIndex[1],C4)             coloured(r,0,b,t) bordercolor("Red",1)
       DrawRectangle(Bar4+3,H4,BarIndex[1]-3,max(O4,C4)) coloured(r,0,b,t) bordercolor("Red",1)
       DrawRectangle(Bar4+3,L4,BarIndex[1]-3,min(O4,C4)) coloured(r,0,b,t) bordercolor("Red",1)
       O4   = open
       H4   = high
       L4   = low
       Bar4 = BarIndex
    ENDIF
    C4 = close
    H4 = max(H4,high)
    L4 = min(L4,low)
    RETURN
    Edisone and Iván González thanked this post
    DrawCandle-4H-every-30min.itf x.jpg x.jpg
    #244432 quote
    EdisoneEdisone
    Participant
    Average

    Salve, le candele non mi corrispondono, allego grafico esplicativo.

    Saluti

    Screenshot-2025-02-27-174627.png Screenshot-2025-02-27-174627.png
    #244488 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Purtroppo con gli strumenti dove c’è una candela (quella delle 090000 su 30 minuti, è alle 080000 su 4 ore) con aperture diverse non funziona.

    Edisone thanked this post
Viewing 4 posts - 1 through 4 (of 4 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

drawcandles H4 in 30 min


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Edisone @edisone Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
1 year, 6 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 12/09/2024
Status: Active
Attachments: 5 files
ProRealCode ProRealCode
Loading...