how reserved word to code brek trendline?

Questions about MultiCharts and user contributed studies.
turbofib
Posts: 218
Joined: 11 May 2013
Has thanked: 68 times
Been thanked: 3 times

how reserved word to code brek trendline?

Postby turbofib » 02 Aug 2022

hi, i want to code the break trendline (see pics)

i code the trendline using tl_new_BN
Attachments
breakTL.png
(3.33 KiB) Not downloaded yet

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: how reserved word to code brek trendline?

Postby Svetlana MultiCharts » 03 Aug 2022

Hi,

You can find all reserved words related to trendline in this section.

turbofib
Posts: 218
Joined: 11 May 2013
Has thanked: 68 times
Been thanked: 3 times

Re: how reserved word to code brek trendline?

Postby turbofib » 03 Aug 2022

Hi,

You can find all reserved words related to trendline in this section.
Hi, I haven't find it (how to code if price break trendline or not )

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: how reserved word to code brek trendline?

Postby Svetlana MultiCharts » 05 Aug 2022

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.


Return to “MultiCharts”