PIVOT POINTS PERSONALIZZATI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #184345 quote
    Gabriele BattistaGabriele Battista
    Participant
    Senior

    Buongiorno, vorrei costruire i punti pivot giornalieri, non su tutto l’orario di trading ma da ora…. a ora…., è possibile?

    #184429 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccoli:

    Inizio = 090000
    Fine   = 130000
    IF OpenTime = Inizio THEN
       myOpen  = open
       myHigh  = high
       myLow   = low
       myClose = close
    ENDIF
    IF OpenTime >= Inizio AND OpenTime <= Fine THEN
       myHigh  = max(myHigh,high)
       myLow   = min(myLow,low)
       myClose = close
    ENDIF
    // Pivots
    Pivot = (High + Low + Close) / 3       //Pivot
    //
    ResR1 = Pivot + (Pivot - myLow)
    ResR2 = Pivot + (myHigh - myLow)
    ResR3 = myHigh + (2 * (Pivot - myLow))
    //
    SupS1 = Pivot - (myHigh - Pivot)
    SupS2 = Pivot - (myHigh - myLow)
    SupS3 = myLow - (2 * (myHigh - Pivot))
    RETURN Pivot AS "Pivot",ResR1 AS "R1",ResR2 AS "R2",ResR3 AS "R3",SupS1 AS "S1",SupS2 AS "S2",SupS3 AS "S3"
    Pivot-su-intervallo-oario.itf x-1.jpg x-1.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

PIVOT POINTS PERSONALIZZATI


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 years, 8 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 01/02/2022
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...