Hello,
I need Help with an indicator for my Metatrader 5. I am new to coding and a little bit helpless at the moment so I hope someone of you has time for my problem. Here is what I want to code:
1.) The indicator first needs to calculate the range from the high of the first 5 min candle
minus the low of the first 5 min candle of the day
2.) Then it needs to find out if the daily
high or the daily low is reached first. If the daily high is reached first, it needs to calculate the daily high minus the high of the first 5
min candle. If the daily low is reached first it hast to calculate the low of the first 5 min candle minus the daily low.
3.)
After that it needs to get the value of the second calculation (2.) and divide it by the value of the first calculation (1.)
4.)
At the end it sould give me the average value from the tird calculation (3.) for the last 30 days. This should be the output value.
I really hope, that someone of you has an idea how to do this.
Thank you so much for your help!!
Create an order in Freelance section, check it out...it's awesome if you want something done!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
- Deleted -