stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Request: Coder for an ATR support/resistance indicator
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3453
Page 1 of 1
Author:  TravisB [ Mon Feb 17, 2014 12:17 pm ]
Post subject:  Request: Coder for an ATR support/resistance indicator

Hello,

Maybe my search skills are crap, but I've been trying to find an indicator that places support/resistance lines based on the 14 period ATR, with the reference point being the previous week's New York friday close.
I've had no luck finding anything resembling what I am trying to do.

So, as an example, I've attached a screenshot of a chart of what I had in mind. Thank you in advance for anyone willing to help.
example of a requested indicator.png
Author:  Traderchris [ Thu Feb 20, 2014 10:11 am ]
Post subject:  Request: Coder for an ATR support/resistance indicator

Hi

A quick hack... Is this in the line of what you are looking for?

Regards

Chris
Author:  TravisB [ Sat Feb 22, 2014 3:24 am ]
Post subject:  Request: Coder for an ATR support/resistance indicator

Edit: I should have looked into the settings more before asking. Seems you've covered most and would only ask that you might include these requested additions......thanks

Yea, that is pretty close. Just a few additions or changes if I may ask:

1. The blue/red lines are good as is, (they are the projected ATR highs/lows based off the Friday close,) however, could you adjust the box placements to begin at 1.5x ATR above/below the Fri. close magenta line? The height of the boxes are good, just need to move the boxes up/down.

Just to clarify, as an example: Fri. close is 1.35. Projected ATR is 70. ATR blue line marked at 1.3570, ATR red line marked at 1.3430. ATR blue box at 1.5x ATR begins at 1.3650 with the height of 25 pips to 1.3675. ATR red box at 1.5x ATR begins at 1.3395 with the height extending down 25 pips to 1.3370.

2. Could you also include price labels for each line, as well as price labels listing the high and low of both the blue and red boxes?

3. Lastly, forgot to ask this originally.......could I also request to have a signal alert when price touches either of the ATR lines, the Friday close line, or the breaching of the boxes? (Just one alert, instead of multiple alerts when price repeatedly tags lines/boxes and then retreats.) Also, with the ability to turn on an alert separately for each line and box, as well as the ability to reset each alert if it has been tripped before?

That should do it. Hope those requests aren't too much to ask though, don't want to seem ungrateful for what you've already provided. If all those requests are too much, I would be more than grateful if request #1 could be coded. The rest is just for convenience.

Thank you sooo much for helping me out Chris, very much appreciated! :good:
All times are UTC Page 1 of 1