This is a nice piece of work! But there are things I dont understand:
Could you explain how does the external variable work-e.g. what exactly should I input, to receive a calculation for last 6 months and last year?
Thanks in advance for explanations!
I've also found a minor error: e.g. when you put the script in GBPJPY, the script says that minimal value occurred on 20.07.2009 and actually it was a day earlier.
Cheers,
Tom
This is a nice piece of work! But there are things I dont understand:
Could you explain how does the external variable work-e.g. what exactly should I input, to receive a calculation for last 6 months and last year?
Thanks in advance for explanations!
I've also found a minor error: e.g. when you put the script in GBPJPY, the script says that minimal value occurred on 20.07.2009 and actually it was a day earlier.
Cheers,
Tom
I was chnges script file (actual file Histo ranges_v0.10.mq4).
Input for calculation:
- last 6 months :
agoYear=0, agoMonth=6, agoWeek=0, agoDays=0
- last year :
- agoYear=1, agoMonth=0, agoWeek=0, agoDays=0
- agoYear=0, agoMonth=12, agoWeek=0, agoDays=0
- agoYear=0, agoMonth=0, agoWeek=0, agoDays=365
- agoYear=0, agoMonth=0, agoWeek=52, agoDays=1
- last 18 months :
- agoYear=1, agoMonth=6, agoWeek=0, agoDays=0
- agoYear=0, agoMonth=18, agoWeek=0, agoDays=0
Rafael

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Simple daily range script :
Author: Rafael