Indicatore massimi minimi e apertura

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213690 quote
    NAMBO40NAMBO40
    Participant
    New

    Buonasera avrei  bisogno  di un indicatore che  segnala il massimo il minino e  apertura con parametri variabili  e modificabili . Esempio indice dax massimo e minimo dalle 8,00 alle 22,00 attraverso linee orizzontali (colore , spessore  e stile modificabile )che seguono il passare del tempo piu  linea   di apertura  ore 8,00. Grazie.

    #213929 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    t       = 0
    IF (OpenTime >= 080000) AND (OpenTime <= 220000) THEN
       t = 255
       IF (OpenTime = 080000) OR ((OpenTime > 080000) AND ((OpenTime[1] < 080000) OR (OpenTime[1] >= 220000))) THEN
          HH = high
          LL = low
          OP = open
       ENDIF
       HH = max(HH,high)
       LL = min(LL,low)
    ENDIF
    x = t
    IF t[1] = 0 THEN
       x = 0
    ENDIF
    RETURN HH AS "Massimo" coloured("Blue",x),LL AS "Minimo" coloured("Red",x),OP AS "Apertura" coloured("SkyBlue",x)
    #213931 quote
    NAMBO40NAMBO40
    Participant
    New

    Perfetto era proprio quello che cercavo. Grazie molto.

Viewing 3 posts - 1 through 3 (of 3 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

Indicatore massimi minimi e apertura


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
NAMBO40 @nambo40 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by NAMBO40NAMBO40
3 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 04/24/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...