Is there a built in indicator similar to the moving average, except it is a simple average given a start and end time (or a start time to the present time)?
For example, I want the average of all (known) ticks or timeframes:
since the market began until now (ideally)
for the past 5 years until now
for the past year until now
for the past month until now, etc.
I don't want to drop the first value and replace it by the present value as in a moving average.
I want to keep all values. If there was 1 tick per second and I had 60 ticks for the past minute, my average would be over 60 values (periods), but the next tick would have an average over 61 values (periods).
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
For example, I want the average of all (known) ticks or timeframes:
since the market began until now (ideally)
for the past 5 years until now
for the past year until now
for the past month until now, etc.
I don't want to drop the first value and replace it by the present value as in a moving average.
I want to keep all values. If there was 1 tick per second and I had 60 ticks for the past minute, my average would be over 60 values (periods), but the next tick would have an average over 61 values (periods).