Darwing a Horizontal Ray

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #92472 quote
    MacroT
    Participant
    Average

    Is there a way to draw a horizontal line from a point on a chart all the way to the right of the chart .

    So that it is a partial horizontal line from a particular point  rather that a horizontal line all the way from left to right of the whole chart ?

    I would need to code this as an indicator

    thanks

    #92474 quote
    robertogozzi
    Moderator
    Legend

    There you go:

    DEFPARAM DRAWONLASTBARONLY = true
    hh = highest[30](high)
    DRAWSEGMENT(barindex-30,hh,barindex,hh)coloured(0,128,0,255)
    RETURN
    #92475 quote
    MacroT
    Participant
    Average

    thanks a lot

    #92507 quote
    GraHal
    Participant
    Master

    There you go:

    Added as Row 104 to here … Snippet Link Library

    robertogozzi thanked this post
Viewing 4 posts - 1 through 4 (of 4 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

Darwing a Horizontal Ray


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
MacroT @macrot Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by GraHal
7 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/27/2019
Status: Active
Attachments: No files
Logo Logo
Loading...