Hi! It is possible to draw a horizontal line and to have an indicator like this (pseudo-code):
if Horizontal_Line is True
then getHorizontalLine_Price
Thanks in advance!
Draw Horizontal line - get the HL price in an indicator [SOLVED]
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Draw Horizontal line - get the HL price in an indicator
Yes, this is possible. You can draw any kind of line you want (provided it's a trend line), and with the `TL_GetValue_s()` keyword you can retrieve a trend line's price for any time on the chart.Hi! It is possible to draw a horizontal line and to have an indicator like this (pseudo-code):
if Horizontal_Line is True
then getHorizontalLine_Price
How you implement it is a bit more work, of course. Do you already have a piece of code to begin with?
Re: Draw Horizontal line - get the HL price in an indicator [SOLVED]
Hi JoshM and thanks for your reply. No, I don't have any code yet. I just found this http://www.multicharts.com/discussion/v ... php?t=8766 and trying to modify to get what I want. I would be grateful if you could help me/let me know of any ideas.