Flat_white-1s: d I want to learn how to make it to calculate only one specific day of the
week and void calculating the others.
- Please edit your (original) post and use the CODE
button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor - Why did you post your MT4 question in the Root / MT5 Indicators
section instead of the MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon. - You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button)
and
state the nature of your problem.
No free help
urgent help.
-
input int k=700; int OnCalculate(…){ j=k; while(j>=0)
Don't compute all bars, every tick.
How to do your lookbacks correctly.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys,
I have just started learning coding with mql4 and really need someone to help me and to teach. I am trying to make an indicator that shows a chart of average volatility of an hour of one day of the week fro n-weeks.
So, calculations are following: I take an hour (for an example 1 am on Monday) and find its volatility. Then I do the same for same 1 am but for the Monday from the week before, then for 1 am Monday from 2 weeks before and so on. Then I take an average of volatility for all 1 am hours for n-weeks.
The current code draws it for all days of a week as one line and I want to learn how to make it to calculate only one specific day of the week and void calculating the others. Hopefully I was clear enough, sorry for my English
Code is following: