Hi
I assume this is really simple, but I cannot find any instruction on how to do this.
I am programing an indicator and I want it to plot lines between point A and point B, but I am not able to find an instruction on how to do this.
Could anyone tell me where I can find a tutorial or a any type of instruction on how this simple task is done?
Thank you
Andy
How make andraw a line from point a to point b in the chart?
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: How make andraw a line from point a to point b in the ch
Can you draw a mock up on how you want to plot this line?Hi
I assume this is really simple, but I cannot find any instruction on how to do this.
I am programing an indicator and I want it to plot lines between point A and point B, but I am not able to find an instruction on how to do this.
Could anyone tell me where I can find a tutorial or a any type of instruction on how this simple task is done?
Thank you
Andy
There are different ways to do it,
e.g.
plot it like a daily bar (with a Bar High and a Bar Low),
or use drawing objects. (Look up TL_NEW)
Re: How make andraw a line from point a to point b in the ch
Thanks for your reply TJ
What I'm looking for is to make the indicator draw lines from different points on different bars.
E.g. draw a line from the high of bar [0] to the high of bar [5].
Another need is to make the indicator draw a "point" or "dot" at a particular price on a particular bar.
E.g. draw a "point" at price 125 on bar [3]
Thanks for any input!
What I'm looking for is to make the indicator draw lines from different points on different bars.
E.g. draw a line from the high of bar [0] to the high of bar [5].
Another need is to make the indicator draw a "point" or "dot" at a particular price on a particular bar.
E.g. draw a "point" at price 125 on bar [3]
Thanks for any input!
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: How make andraw a line from point a to point b in the ch
You can start here:Thanks for your reply TJ
What I'm looking for is to make the indicator draw lines from different points on different bars.
E.g. draw a line from the high of bar [0] to the high of bar [5].
Another need is to make the indicator draw a "point" or "dot" at a particular price on a particular bar.
E.g. draw a "point" at price 125 on bar [3]
Thanks for any input!
[FAQ] EasyLanguage / PowerLanguage
viewtopic.php?f=16&t=6929
The Essential EasyLanguage Programming Guide
Drawing Objects ... pg.112