Need to add to this on chart Spread indy

Post Reply
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: Need to add to this on chart Spred indy

Post by gaheitman »

dancingphil wrote:The attached indy currently shows the spread at the top left hand corner of the chart; and it gives a great real time picture of what is happening. The code is very short and it works well.

What I want to do ( and don't know how to) is to also show under it the maximum spread that has occurred since it was added to the chart. That is, the like tick generated spread is useful, but I mostly want to track what the spread may have burst out to when I wasn't looking.

By this method, I hope to be able to monitor the true position rather than believe what the criminals tell us. I hope someone can help with this added code as the Indy will be useful to most of us.

Phil
Here's something I wrote some time ago that may do the trick... It displays the Current / Min / Max / Avg spread as a label you can move around the screen. It also plays a tick sound when current spread > 2*min. Not sure how useful that is -- it made sense at the time. :)

Feel free to hack it to pieces, and if you come up with a variant others might like, repost...

George
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”