If somebody could obliged me this, I will be most grateful (don't get much luck these days with requests). Just need a simple script to do the following. Draw a horizontal line on a chart. When I drag the line to any point on the chart, it displays the price a number of pips (specified by user) above the line, and the price a number of pips (specified by the user) below the line. So as an example, I specify 300 pips above line, and 250 pips below line. I drag line to say price 1.50000, on chart it will display price above as 1.50250, and price below as 1.49750. As I move the line, the figures change to reflect. Should be able to (1) work correctly (calculate correctly) on both either 4 and 5-digit brokers, (2) able to dictate position to display figures on chart (top left, top right, bottom left or bottom right) so as not obscure other displays on the chart, and (3), as already mentioned, able to specify numbers of pips above and below. Lastly, being able to define line properties (like colour, thickness or style) will be desireable. Many thanks
- Post #7,363
- Quote
- Mar 6, 2015 12:14am Mar 6, 2015 12:14am
- Joined Feb 2007 | Status: Member | 2,030 Posts
Trade what you see not what you hope
- Post #7,365
- Quote
- Edited 2:21am Mar 6, 2015 2:10am | Edited 2:21am
- | Joined Jun 2010 | Status: Member | 187 Posts
- Post #7,367
- Quote
- Mar 6, 2015 6:58am Mar 6, 2015 6:58am
- Joined Oct 2012 | Status: Member | 1,959 Posts
Please Do Not PM Me With Coding Enquiries
- Post #7,370
- Quote
- Mar 6, 2015 9:12am Mar 6, 2015 9:12am
- | Commercial Member | Joined Jan 2013 | 15 Posts
- Post #7,371
- Quote
- Mar 6, 2015 10:59am Mar 6, 2015 10:59am
- Joined Jul 2010 | Status: Member | 9,189 Posts
- Post #7,372
- Quote
- Mar 6, 2015 2:31pm Mar 6, 2015 2:31pm
- | Joined Jun 2010 | Status: Member | 187 Posts
- Post #7,373
- Quote
- Mar 6, 2015 2:57pm Mar 6, 2015 2:57pm
- | Joined Jul 2013 | Status: Member | 86 Posts
- Post #7,377
- Quote
- Mar 7, 2015 5:39pm Mar 7, 2015 5:39pm
- Joined Oct 2012 | Status: Member | 1,959 Posts
Please Do Not PM Me With Coding Enquiries
- Post #7,379
- Quote
- Edited Mar 8, 2015 12:54am Mar 7, 2015 10:19pm | Edited Mar 8, 2015 12:54am
- Joined Feb 2007 | Status: Member | 2,030 Posts
Trade what you see not what you hope
- Post #7,380
- Quote
- Mar 7, 2015 11:45pm Mar 7, 2015 11:45pm
- Joined Oct 2012 | Status: Member | 1,959 Posts
Please Do Not PM Me With Coding Enquiries