Place, on the chart that the study is based on, the text "UpT" at the top of a bar number 100 if the Open price has increased incrementally over the last three bars:
<syntaxhighlight>
If Open > Open[1] And Open[1] > Open[2] ThenValue1=Text_NewText_New_BN(100currentbar, High, "UpT");