Chikou offset

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #95513 quote
    DymjohnDymjohn
    Participant
    Senior

    Can anyone tell me how to offset price to a different number of periods to the standard offset in the Ichimoku indicator?

    In other words I want to show current price offset 15 periods in the past?

    regards

    dymjohn

    #95519 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    To display CURRENT close “n” bars ago:

    Offset = 15
    DRAWSEGMENT(barindex - (offset + 1),close[1],barindex - offset,close) coloured(0,128,0,255)
    RETURN
    Dymjohn thanked this post
    x-2.jpg x-2.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

Chikou offset


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Dymjohn @dymjohn Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/05/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...