Aurix Exchange

Spread Monitor

maximo

Member
Hiya,

I coded this spread monitor to keep an eye on best times for lowest spreads.

Place on any timeframe, but M1 chart will quickly show how it works and exactly when good and bad spreads are happening with your broker. :D

Shows Maximum (red), Minimum (green), Average of Min/Max (blue)


Stovedude, can you add saving the data to a file every new bar?
As data gets wiped on a disconnection from server..
I'm not familiar with file commands yet.

[edit] updated with SD's suggestion
 

Attachments

  • Spread_Monitor.mq4
    2 KB · Views: 2

stovedude

Active member
Maybe try using Static in front of the main variables that you are using to save the data. This way, it will remain in memory for a couple weeks
 

maximo

Member
Well you'd think so wouldn't ya.

Static'd the array's used to store H,L,M.

Still blanking the data on reconnect.
 

Aurix Exchange
Top