I can't manage MAX AND MIN SPREAD SHOWING on chart when spread is floating.
-
I know how to show spread, but I need to show max and min values at certain time, for example "TODAYS max value" "TODAYS min value" and "TODAYS average value" (most commonly spread) of the day:
example:
MAX: 0.9 pips
MIN: 0.1 pips
AV: 0.3 pipsI need to do this in MT4, so the pip is 0.0001 format (4digits after comma)
I can do it if I know where to start, what blocks to use.
-
I am not sure what you are asking, but this will add 0. to the start of a whole number, StringFormat("%02d", 1); this = 0.1
-
@jstap I just want to get spread (ask-bid) data. And I want to see when it reaches high levels, i.e. when opening market hours, spread usually goes higher. I want to see these limits and fix it. For example every H4 candle will draw max and min spread values. I have broker that has less than 1pip spread, so it is 0.9 0.6etc.
-
I am unsure how you would get this.
-
In other words, I would like to know every hour's MIN and MAX spread values.
-
I know but I don't know how you would get it
-
@LooG
Have you try using custom indicator and setting the buffer using the value of ask-bid ? -
Need a lot more information to grasp what you mean