logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
JonK  
#1 Posted : Wednesday, February 21, 2007 5:39:32 AM(UTC)
JonK

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 2/21/2007(UTC)
Posts: 1

I would like to change the color of the price bars based on the relationship between current day high and low with the previous day's. Is there any sample code that would help me understand how to make this happen?

Thanks
wabbit  
#2 Posted : Wednesday, February 21, 2007 6:24:23 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Hi JonK,

You need to create an Expert Advisor and use the Highlights system to colour the bars to your liking. You can read more about creating Expert Advisors in the MetaStock Users Manula that comes shipped with your legitimate copy of MetaStock.

For the code writing aspect of creating an Expert Advisor, you might find it useful to work the through the free Equis Formula Primer that can be found in the "files" section of the forum.

If you have any more difficulties, please feel free to ask for more help.


Hope this helps.

wabbit [:D]


Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.