Registered User Joined: 11/4/2009 Posts: 81
|
Hi
is there a way to create an indicator that showing the message in huge font size for example, to show the current close of sp500 "1500 sp500" on mid of the chart in font size 40 or bigger (ajustable)?
Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I can't think of a way to do so. You can add a custom field to the overlay, but it is just static text. You can use set a Label to use for a bar in a RealCode Indicator and the fonts can be set quite large, but there is no way to force the label to appear in the middle of the chart.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/4/2009 Posts: 81
|
thank you Bruce,
please show me how to set a label for a bar in a realcode indicator, I just want the current bar number to be show.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following RealCode Indicator plots the close with a Label indicating the current bar at every bar (this will create a lot of overlap):
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Label Example
'|******************************************************************
Label = CurrentIndex
Plot = Price.Last
You may have intende to only have a label for the last bar. If so, you could use something similar to the following:
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:Label Example for Last Bar
'|******************************************************************
If isLastBar Then
Label = CurrentIndex
End If
Plot = Price.Last
Note that the option to plot labels and settings for how the labels are displayed are not part of the RealCode itself. You need to click on the RealCode Indicator and select Edit to adjus these settings.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|