Chikou offset

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #95513 quote
    Dymjohn
    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
    robertogozzi
    Moderator
    Master

    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.

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 robertogozzi
6 years, 10 months ago.

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