I need a simple MT4 indicator that measures the spreads and the liquidity of a given pair.
Once loaded to a chart, the indicator should start counting the spread for each tick whereas a new tick recorded is intended as the change of bid value,
ask value, or both (if the rate is changed simultaneously). Each new tick, it measures the spread and increases the counter for that specific value
The indicator should generate a nice looking display in the chart like the sample table below:
EUR/USD Weighted All sessions = 0.225
0.0 = 255 ticks (1:56)
0.1 = 435 ticks (4:56)
0.2 = 1566 ticks (12:44)
0.3 = 4895 ticks (06:22)
Other than the spread at a certain level, the indicator should also count and sum the of time the symbol has been displaying that value. I want to be able to judge how good are spreads by simply their ticks but also by evaluating how much total time those spreads have been available. The script should also generate a weighted spread average in the header. The weighted value should be an average of times and ticks.
Finally I want to be able to evaluate spreads on specific Time Session (European Session, etc) or simply from the moment i load it to the chart. So there should be some settings through which I can control this. Multiple displays are okay on the chart. I don't use this script to trade rather to check the broker spreads.
Freelancer has to release source and rights.