Hi all. Can you tell me how to make it so that at some timeframe I can read the price change in that timeframe?
Record the price at T1 (start time), fix the price at T2 (finish time). The difference between the two points will give you the price change for the time period T2 - T1.
There are two main ways of measuring price speed
1 Change per time period in seconds
2 Price changes per number of ticks
Andwith both methods it is difficult to detect fluctuations within a period either by time or by ticks
A third way is to control the price change in absolute value either by the number of ticks or by the period of time
Hi all. Can you tell me how to make it so that I can read the price change in a certain period of time?
Ideally, you should know or identify the pattern of price change over time as a function P=f(t) and identify the rate function (v) by differentiating P and get it in the form v=dP/dt, where time t will be explicitly present. By substituting the desired t into the function v, you will get the values of velocity at each or the desired time t. If you will not find suitable, from your point of view, function P, I can advise you to try to use, suggested by me, variant of this function known, in the depths of our forum, as "formula (18)" https://www.mql5.com/ru/articles/250.
(18)
There the velocity function in the form of formula (11) is also given, if we take f=v
(11)
The methods of determination of coefficients and parameters of these formulas are given in the article and you can also find them in the depths of my indicator. If you are not afraid of difficulties, you can get a new good indicator of price change velocity. If you need advice, I will always be there for you. Good luck!
I also invite experienced programmers to join in, if you find the idea interesting. I think it is more than interesting. The indicator will react to each tick. I am thinking now what it will look like. Please advise me, if someone comes up with the idea of its configuration. Perhaps in the form of oscillators, so https://freshforex.org/encyclopedia-forex/The-Rate-of-Change/ or so https://freshforex.org/encyclopedia-forex/momentum-indicator/??

- 2011.02.07
- Yousufkhodja Sultonov
- www.mql5.com
... If you are not afraid of difficulties, you can get a good new indicator for the speed of price change....
I also invite experienced programmers to join if you find the idea interesting. I think it is more than interesting. The indicator will react on every tick. I am thinking now what it will look like. Please advise, if someone comes up with the idea of its configuration. Perhaps in the form of oscillators, so https://freshforex.org/encyclopedia-forex/The-Rate-of-Change/ or so https://freshforex.org/encyclopedia-forex/momentum-indicator/ ??
it would look different. And this type of graph has been known for a long time. No gamma functions are needed.
And it looks like this
>tick history. But it seems that the developers have promised to finally build the history and they may prepare this type of chart.
So we wait, I have been waiting for 7-8 years.
Record the price at T1 (start time), fix the price at T2 (finish time). The difference between the two points will give you the price change for the time interval T2 - T1.
TimeCurrent() is measured in seconds, so

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use