Do you want to know how to add text EasyLanguage on the chart with TradeStation automatically?
This EasyLanguage tutorial is made for you! Follow step by step what we will show you and you will be able to create a beautiful indicator that will automatically insert the text on your graphics.
Language Essentials is a teaching facility. We are associated with California State University, East Bay Graduate Speech Pathology Program, Gallaudet University Graduate School of Speech Pathology and Delta College's Speech Language Pathologist Assistant Program. Every year Language Essentials supervises several student interns. EasyLanguage ® is a full-featured programming language designed for traders. EasyLanguage ® can be used to create powerful trading indicators, strategies and custom trading applications.
To do this we will use the reserved word in easylanguage “Test_New”.
The indicator will follow the trend of a 14-period RSI and will signal the OverBought and OverSold areas.
Insert the Lenght for the RSI calculation – 14 is the standard value
The RSI_Value contains the RSI calculations

This is the calculation formula for the RSI – 14 periods
The condition is simple; when RSI is under 30 the indicator adds the text
Value1 is the variable that contains the text
Text_New is the EasyLanguage Reserved Word:
Value1 = Text_New(BarDate, BarTime, Price, “MyText”)
In this example we’re using:
BarDate = Date — Actual date
BarTime = Time — Actual time
Price = Low — Add text at Low Price for oversold and at High Price for OverBought
Easylanguage Essentials Online
Text_SetColor(Text_ID, Color)
With the Reserved Word Text_SetColor you could choose the color.
Text_SetStyle(Text_ID, Horiz, Vert)
With the Reserved Word Text_SetStyle you could choose the horizontal and vertical placement settings for the text object.
Horizontal:
0 = To the right of the bar
1 = To the left of the bar
2 = To the center of the bar
Vertical:
0 = Beneath the price
1 = Above the price
2 = Centered on the price
MORE FREE EASYLANGUAGE TUTORIALS HERE
How to avoid unnecessary text repetitions
The RSI indicator can remain overbought or oversold for numerous bars. The indicator will then add the text in each bar, creating a useless repetition.

To avoid this problem we will have to create an additional filter. For example, we will add the text only when the RSI changes from normal to oversold or overbought.
With these modifications, the text is added only when the change passes from normal to oversold or overbought.
Tradestation Easylanguage Essentials
More from Finance Strategy System