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 |

show message Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
shcorp886
Posted : Friday, February 1, 2013 11:28:38 AM
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

Bruce_L
Posted : Friday, February 1, 2013 11:38:31 AM


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
shcorp886
Posted : Friday, February 1, 2013 11:46:29 AM
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.

 

Bruce_L
Posted : Friday, February 1, 2013 11:56:52 AM


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
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.