Hello,
Can someone please post the code to display ATR Channel on the price chart.
Thank you.
What do you mean by ATR channel?
Do you have a screenshot to show what you need?
Hello @robertogozzi,
I have found a thread on the website: https://www.prorealcode.com/prorealtime-indicators/multiple-atr-bands/
but the problem is I cannot understand the inputs.
What is range?
What is mult1,2 and 3?
What is atrlen?
If you can shed some light on the above questions, I would be truly grateful.
Thank you.
Maisam
To add a custom indicator (my example is for Pivots) to the price chart, simply follow these steps:
- click on the wrench in the upper left corner of the price chart
- click on “Add indicator” from the price properties
- select the indicator you want to add to your chart
- set the indicator properrties, if any
What is range?
What is mult1,2 and 3?
What is atrlen?
RANGE is the difference between HIGH and LOW, that is the amount of price moved in a bar
MULT1, MULT2, MULT3, ATRLEN and LENGTH are the variables needed to make the indicator work, you need to import the file and they will be easy to set from within the properties of the indicator.
Thank you very much. I have imported the indicator and it worked like a charm. Before I was trying to copy and paste the code.
You are a star. Thanks once again. Much appreciated.
Regards,
Maisam
Maybe you have copied the code and pasted it in? In that case your variables will not be in the code. Click on the Itf-file as shown in the attached picture for download and then import the file in indicator, then when you open it, it will look like the other picture, hope it helps!
Edit: You were faster Roberto:)
@Andyswede
Yes. You are correct. I tried to copy and paste the code. That’s why it did not work.