Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

How to change candlestick colors to just green andred? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
options7
Posted : Saturday, April 5, 2008 10:16:29 AM
Registered User
Joined: 2/24/2005
Posts: 4
Bruce_L
Posted : Monday, April 7, 2008 8:08:10 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you are asking about TeleChart, select Chart Template | Edit | Prices. Change the Draw Color to green, check Plot down days in different color and change Down Color to Red. If there is a Balance of Power on the Chart, make sure Apply BOP Colors to Price Graph is unchecked.

If you are asking about Blocks, right-click on the Price History and select New Paint Brush or Edit Paint Brush. The following RealCode would create green or red Candles based on the Net Change:

If Price.Last > Price.Last(1) Then
    PlotColor = Color.Green
Else
    PlotColor = Color.Red
End If

The following RealCode would do the same based on the Open versus Close instead:

If Price.Last > Price.Open Then
    PlotColor = Color.Green
Else
    PlotColor = Color.Red
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

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.