how reserved word to code brek trendline?
Posted: Aug 02 2022
by turbofib
hi, i want to code the break trendline (see pics)
i code the trendline using tl_new_BN
Re: how reserved word to code brek trendline?
Posted: Aug 03 2022
by Svetlana MultiCharts
Hi,
You can find all reserved words related to trendline
in this section.
Re: how reserved word to code brek trendline?
Posted: Aug 03 2022
by turbofib
Hi, I haven't find it (how to code if price break trendline or not )
Re: how reserved word to code brek trendline?
Posted: Aug 05 2022
by Svetlana MultiCharts
Please refer to these keywords:
TL_GetValue
TL_GetValue_bn
TL_GetValue_Dt
TL_GetValue_s
They accept X coordinate and return the trend line price in this point. Then you can compare bar prices with that price and determine the trend line.
Also you can use Trendline LE and Trendline SE pre-built signals as an example.