Horizontal lines when indicator same value for two candles

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #54657 quote
    robdav
    Participant
    Veteran

    Hi

    I would like something that will draw a horizontal line every time an indicator has been at the same value for two candles or more over the last x candles.

    Is this possible please?

    Thanks

    Robert

    #54684 quote
    Nicolas
    Keymaster
    Master

    What indicator please? Do you have an example?

    #54692 quote
    robdav
    Participant
    Veteran

    Hi Nicolas,

    fibo3 in this example?

    Thanks

    Rob

    //parameters
    // period = 50

    ll = lowest[period](low)
    hh = highest[period](high)
    //mid = (ll+hh)/2

    fibo3 = (hh-ll)*0.382+ll

    #54695 quote
    Nicolas
    Keymaster
    Master

    It already draws horizontal lines, it’s a Fibonacci level on price. So I’m not sure to understand exactly your query..

    #54696 quote
    robdav
    Participant
    Veteran

    You’re right, I’m being daft, long weekend.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Horizontal lines when indicator same value for two candles


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
robdav @robdav Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/04/2017
Status: Active
Attachments: No files
Logo Logo
Loading...