Pips per second/minute/hour
-
Hi all,
I'm trying to figure out how to calculate pips per second or minute or specified amount of time, and also whether these
move in a positive/bullish or negative/bearish direction.
If anyone could please try and point me in the right direction for this.Cheers
-
@wezil It depends on what that will be used for. Why do you exactly need to know how many pips per second are arrivint to your terminal right now?
-
@wezil Hello.
There's something I need to understand first. Let's say you wanted to calculate pips per day and the day started with the price of 1.0000, then moved down to 0.9990 and went back up to end the day with 1.0010 . To you, does that count as:
- Pips per day is the difference between start and end making a total of 10 pips?
- Or is it being down 10 then up 20 making a total of 30 pips?
- Or is it every pip moved whether up or down throughout the whole day which will be in the 100s or 1000s of pips?
-
@l-andorrà Hello, and thanks for your reply!
I'm just interested, and thought that maybe it could be useful for seeing movement/strength of movement. -
@q8carpenter Hi q8carpenter, and thanks for your reply!
Number 3.) then please.
Every pip, whether up or down, and also per second, minute, hour or day?I can't seem to quite figure it out. I can calculate pips of movement for a given candle, but so far, not per second, minute and so on.
Cheers
-
@wezil
This is one way to do it. I used the round number detector to see whenever the price is at 1 pip levels and pass to the formula block which will add 1 to the variable (var_1). the variable will be reset in this case once per hour, but you can connect one of the other green blocks to have it reset per second, minute or day. You will see the comment block display the pips as they update with price movement.Backtest this EA using every tick model and you will see what I mean.

-
Hi q8carpenter,
Thanks for your help, but this didn't work for me. I never saw the pip count rise above 1 unfortunately

Cheers
-
@wezil Do you have it set up exactly like that?
Please have a look at the attached images. I wanted to upload a video but it was too large. I have it count per hour and reset with each new hour bar. For the backtest model I chose every tick and backtesting on the 1 hour time frame.

-
-
@wezil In this link is a way of getting the 1min candle open price for a chosen time, on back test will only work on 1min TF but should work on any in demo or live.
Using this method 1min is the smallest gap you can work with.
hope this helps
