×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

Text New s

195 bytes added, 08:17, 9 February 2012
no edit summary
Displays a text object, consisting of the specified string expression located at the specified bar and specified price value, on the chart that the study is based on; . Text_New_s returns an object-specific ID number, required to (further) modify the object.
==== Usage ====<syntaxhighlight>Text_New_s (BarDate, BarTime_s, PriceValue,"Text")</syntaxhighlight>  == Parameters == :'''BarDate''' - a numerical expression specifying the date of the bar at which the object is to be placed; the date is indicated in the ''YYYMMdd'' format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.
==== Parameters ==== [[BarDate]] :'''BarTime_s''' - a numerical expression specifying the date time of the bar , including seconds, at which the object is to be placed; the date time is indicated in the YYYMMdd 24-hour ''HHmmss'' format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month 130000 = 1:00:00 PM.
[[BarTime_s]] :'''PriceValue''' - a numerical expression specifying the time price value (vertical position, corresponding to a value on the price scale of the bara chart), including seconds, at which where the object is to be placed; the time is indicated in the 24-hour HHmmss format, where 130000 = 1:00:00 PM .
[[PriceValue]] :'''Text''' - a numerical the string expression specifying the price value (vertical position, corresponding to a value on the price scale of a chart), where the object is to be placed displayed.
== Notes ==* See [[TextText_New]] - to place a text on the string expression chart with minutes precision.* See [[Text_New_self]] and [[Text_New_self_s]] to be displayed place text on a SubChart.
==== Example ====
Place, on the chart that the study is based on, the text "UpT" at the top of a bar if the Open price has increased incrementally over the last three bars:
<syntaxhighlight>If Open>Open[1] And Open[1]>Open[2] Then
Value1=Text_New_s(Date,Time_s,High,"UpT");</syntaxhighlight>
[[Category:Text Drawing]]