Registered User Joined: 2/24/2005 Posts: 4
|
|

 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
|