SpreadPlot

The title says it all
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

SpreadPlot

Post by renexxxx »

I have created some indicators to monitor the spread and tick count and I thought that would share it with the forum in case someone can do something with it.

It looks like:
Capture.PNG
As you can see on this picture (that shows the spread and tick count for GBPAUD today), it has so far been a quiet day for this currency pair. It is thought that when a big price movement is imminent, irregular activity can be witnessed on these plots. I have got no idea if that is always true.

For these 3 indicators, you will need one additional indicator, called SpreadCollector. This indicator has no visual component, but the only thing it does, is collect the average spread, maximum spread, minimum spread, tick count and std deviation of the spread. This information is collected in the context of a time interval, parameterized by RefreshSeconds. Since the lowest timeframe that Empty4 supports is M1, it makes no sense to collect at higher frequency than 60 seconds, as the SpreadPlot, TickPlot and SigmaPlot indicators (when installed on M1) would only use the 60 second interval readings (i.e. one point per candle).

You need to run the SpreadCollector on every symbol/chart you wish to collect spread data for. The SpreadCollector stores this information in a file, that SpreadPlot, TickPlot and SigmaPlot read. The reason for splitting SpreadPlot, TickPlot and SigmaPlot over three indicators, is because the ranges of their values are rather different.

Have fun!
You do not have the required permissions to view the files attached to this post.
User avatar
Boulder
Trader
Posts: 115
Joined: Sun Feb 28, 2016 5:16 pm
Location: Belgium

SpreadPlot

Post by Boulder »

:clap: :clap: :clap:
User avatar
fiox
Trader
Posts: 151
Joined: Wed Feb 18, 2015 6:16 pm
Location: Italy

SpreadPlot

Post by fiox »

Thanks renexxxx :D :hi:
marcoFF
Trader
Posts: 127
Joined: Mon Apr 20, 2015 10:50 pm

SpreadPlot

Post by marcoFF »

Thanks :hi:
mikeV
Posts: 4
Joined: Mon Nov 24, 2014 10:35 pm

SpreadPlot

Post by mikeV »

Thanks renexxxx
drunka
Trader
Posts: 86
Joined: Thu Dec 11, 2014 8:05 pm

SpreadPlot

Post by drunka »

Thank you for sharing your work!
User avatar
simplex
Trader
Posts: 127
Joined: Thu Feb 07, 2013 5:21 pm
Location: An insignificant small town close to an insignificant former capital at the Rhine River.

SpreadPlot

Post by simplex »

Great work, Rene!

Thanks a lot for sharing, much appreciated! This is just what I intended to code for months now, but all the time something different appears to have higher priority.

:good:

simplex
If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
It appears that the Weighted Moving Average was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag. (John F. Ehlers)
User avatar
vectieba
Trader
Posts: 15
Joined: Thu May 05, 2016 6:03 am
Location: South Africa

SpreadPlot

Post by vectieba »

Very Nice! I missed this one
What makes a good EA ... low drawdown, consistent profit!
Image
User avatar
DavidB
Trader
Posts: 43
Joined: Sat Dec 20, 2014 3:13 pm
Location: The Netherlands

SpreadPlot

Post by DavidB »

fantastic tool, using it to improve my strategy, thank you so much Rene
User avatar
DavidB
Trader
Posts: 43
Joined: Sat Dec 20, 2014 3:13 pm
Location: The Netherlands

SpreadPlot

Post by DavidB »

The indicator works great on Forex pairs. I was hoping / expecting it to work also on other symbols such as indexes.

When I tried it on EUSTX50 and FRA40, (Global Prime) the indi's showed an empty frame and max / min values but the colored trends were missing. The min/max values for spreadplot were indicating 11999 and 13001 respectively, for SigmaPlot -1 and 2 respectively and the tickplot 0 and 125.

Just wanted to share this. The indi is a great tool and works perfectly for what it was intended to do! Thanks again Rene.
Post Reply

Return to “Indicators and matrixes”