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

Notification

Icon
Error

Options
Go to last post Go to first unread
Patrick  
#1 Posted : Tuesday, November 2, 2004 6:14:58 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
The up and down color options in the price properties windows is not based on the same open/close relationship that governs candlesticks. Candlesticks are solid (black) if the open is more than the close and hollow (white) if the open is less than the close. The price bars are colored by the properties window as up if today's close is more than yesterday's close and down if today's close is less than yesterday's close. If you want to have candles colored differently, you will need to use an expert with different highlights setup for white and black candles.

You can do this with an Expert Advisor as follows:

Start MetaStock.

Display a candlestick chart.

Click Format | Prices.

Set the UP and DOWN fields to black and click OK.

Click Tools | Expert Advisor.

Click New.

Click the Name tab.

Type Candlestick Color Change into the Name field.

Click the Highlights tab.

Click New.

Type UP CANDLE Into the name field.

Set the color to Green.

Type C>O into the Condition field and click OK.

Click New again.

Type DOWN CANDLE Into the name field.

Set the color to Red.

Type C<O into the Condition field and click OK

.Click OK to Close the Expert Editor menu.

Then click Attach to attach this Expert to the Chart.

The candlestick chart will now display Green and Red.
Users browsing this topic
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.