Page 1 of 1

Indicator request (desperatly needed, please help!)

Posted: Sun Jan 30, 2011 11:50 pm
by webcom
I need a (simple?) indicator to plot the momentan High and Low of a candle under developement, as horizontal lines. It should plot two additional horizontal lines at High- X och Low +X where X is a constant manually fed written as e.g. 0,0015 with possibilities of change.

In the attachments, X is named as Range but it can have a value at your choice.The 4 lines may be ploted as 2 rectangles as showed in the first attachement.If the quotes were written on the lines it should be wonderful.

I`m not a programmer (my world was turned upside down when they told me that in fact X=X+1 and I must live with it the rest of my life, and this is not a travelling story!) but I dont think for a goodhearted one creating such an indicator should be a problem.Please help!

Thank you!

Posted: Mon Jan 31, 2011 2:33 pm
by Relativity
Try this.

Posted: Tue Feb 01, 2011 9:36 am
by webcom
Thank you for indi.It works fine to draw lines at HIGH and LOW of candle!

The other two lines at
( HIGH-RANGE) and (LOW+RANGE)
are drawn the other way around as:
(HIGH+RANGE) and( LOW-RANGE).

I tested various input data but it wont work.To modify the coding lays outside my abilities. can something be done?

Thanks again!
friendly
Webcom

Posted: Tue Feb 01, 2011 10:46 am
by bredin
Isnt this kind of like the Cash Zone??

G.

Posted: Tue Feb 01, 2011 11:58 am
by webcom
I dont know about Cash zone please advise!

Posted: Tue Feb 01, 2011 12:01 pm
by tmanbone
See if this one does what you want.

Posted: Tue Feb 01, 2011 12:37 pm
by webcom
@relativity@bredin@tmanbone:thank you guys!" lines.mq4" works well!

Posted: Tue Feb 01, 2011 9:18 pm
by bredin