Library "PubLibTrend"
trend, multi-part trend, double trend and multi-part double trend conditions for indicator and strategy development

rlut()
  return line uptrend condition
  Returns: bool

dt()
  downtrend condition
  Returns: bool

ut()
  uptrend condition
  Returns: bool

rldt()
  return line downtrend condition
  Returns: bool

dtop()
  double top condition
  Returns: bool

dbot()
  double bottom condition
  Returns: bool

rlut_1p()
  1-part return line uptrend condition
  Returns: bool

rlut_2p()
  2-part return line uptrend condition
  Returns: bool

rlut_3p()
  3-part return line uptrend condition
  Returns: bool

rlut_4p()
  4-part return line uptrend condition
  Returns: bool

rlut_5p()
  5-part return line uptrend condition
  Returns: bool

rlut_6p()
  6-part return line uptrend condition
  Returns: bool

rlut_7p()
  7-part return line uptrend condition
  Returns: bool

rlut_8p()
  8-part return line uptrend condition
  Returns: bool

rlut_9p()
  9-part return line uptrend condition
  Returns: bool

rlut_10p()
  10-part return line uptrend condition
  Returns: bool

rlut_11p()
  11-part return line uptrend condition
  Returns: bool

rlut_12p()
  12-part return line uptrend condition
  Returns: bool

rlut_13p()
  13-part return line uptrend condition
  Returns: bool

rlut_14p()
  14-part return line uptrend condition
  Returns: bool

rlut_15p()
  15-part return line uptrend condition
  Returns: bool

rlut_16p()
  16-part return line uptrend condition
  Returns: bool

rlut_17p()
  17-part return line uptrend condition
  Returns: bool

rlut_18p()
  18-part return line uptrend condition
  Returns: bool

rlut_19p()
  19-part return line uptrend condition
  Returns: bool

rlut_20p()
  20-part return line uptrend condition
  Returns: bool

rlut_21p()
  21-part return line uptrend condition
  Returns: bool

rlut_22p()
  22-part return line uptrend condition
  Returns: bool

rlut_23p()
  23-part return line uptrend condition
  Returns: bool

rlut_24p()
  24-part return line uptrend condition
  Returns: bool

rlut_25p()
  25-part return line uptrend condition
  Returns: bool

rlut_26p()
  26-part return line uptrend condition
  Returns: bool

rlut_27p()
  27-part return line uptrend condition
  Returns: bool

rlut_28p()
  28-part return line uptrend condition
  Returns: bool

rlut_29p()
  29-part return line uptrend condition
  Returns: bool

rlut_30p()
  30-part return line uptrend condition
  Returns: bool

dt_1p()
  1-part downtrend condition
  Returns: bool

dt_2p()
  2-part downtrend condition
  Returns: bool

dt_3p()
  3-part downtrend condition
  Returns: bool

dt_4p()
  4-part downtrend condition
  Returns: bool

dt_5p()
  5-part downtrend condition
  Returns: bool

dt_6p()
  6-part downtrend condition
  Returns: bool

dt_7p()
  7-part downtrend condition
  Returns: bool

dt_8p()
  8-part downtrend condition
  Returns: bool

dt_9p()
  9-part downtrend condition
  Returns: bool

dt_10p()
  10-part downtrend condition
  Returns: bool

dt_11p()
  11-part downtrend condition
  Returns: bool

dt_12p()
  12-part downtrend condition
  Returns: bool

dt_13p()
  13-part downtrend condition
  Returns: bool

dt_14p()
  14-part downtrend condition
  Returns: bool

dt_15p()
  15-part downtrend condition
  Returns: bool

dt_16p()
  16-part downtrend condition
  Returns: bool

dt_17p()
  17-part downtrend condition
  Returns: bool

dt_18p()
  18-part downtrend condition
  Returns: bool

dt_19p()
  19-part downtrend condition
  Returns: bool

dt_20p()
  20-part downtrend condition
  Returns: bool

dt_21p()
  21-part downtrend condition
  Returns: bool

dt_22p()
  22-part downtrend condition
  Returns: bool

dt_23p()
  23-part downtrend condition
  Returns: bool

dt_24p()
  24-part downtrend condition
  Returns: bool

dt_25p()
  25-part downtrend condition
  Returns: bool

dt_26p()
  26-part downtrend condition
  Returns: bool

dt_27p()
  27-part downtrend condition
  Returns: bool

dt_28p()
  28-part downtrend condition
  Returns: bool

dt_29p()
  29-part downtrend condition
  Returns: bool

dt_30p()
  30-part downtrend condition
  Returns: bool

ut_1p()
  1-part uptrend condition
  Returns: bool

ut_2p()
  2-part uptrend condition
  Returns: bool

ut_3p()
  3-part uptrend condition
  Returns: bool

ut_4p()
  4-part uptrend condition
  Returns: bool

ut_5p()
  5-part uptrend condition
  Returns: bool

ut_6p()
  6-part uptrend condition
  Returns: bool

ut_7p()
  7-part uptrend condition
  Returns: bool

ut_8p()
  8-part uptrend condition
  Returns: bool

ut_9p()
  9-part uptrend condition
  Returns: bool

ut_10p()
  10-part uptrend condition
  Returns: bool

ut_11p()
  11-part uptrend condition
  Returns: bool

ut_12p()
  12-part uptrend condition
  Returns: bool

ut_13p()
  13-part uptrend condition
  Returns: bool

ut_14p()
  14-part uptrend condition
  Returns: bool

ut_15p()
  15-part uptrend condition
  Returns: bool

ut_16p()
  16-part uptrend condition
  Returns: bool

ut_17p()
  17-part uptrend condition
  Returns: bool

ut_18p()
  18-part uptrend condition
  Returns: bool

ut_19p()
  19-part uptrend condition
  Returns: bool

ut_20p()
  20-part uptrend condition
  Returns: bool

ut_21p()
  21-part uptrend condition
  Returns: bool

ut_22p()
  22-part uptrend condition
  Returns: bool

ut_23p()
  23-part uptrend condition
  Returns: bool

ut_24p()
  24-part uptrend condition
  Returns: bool

ut_25p()
  25-part uptrend condition
  Returns: bool

ut_26p()
  26-part uptrend condition
  Returns: bool

ut_27p()
  27-part uptrend condition
  Returns: bool

ut_28p()
  28-part uptrend condition
  Returns: bool

ut_29p()
  29-part uptrend condition
  Returns: bool

ut_30p()
  30-part uptrend condition
  Returns: bool

rldt_1p()
  1-part return line downtrend condition
  Returns: bool

rldt_2p()
  2-part return line downtrend condition
  Returns: bool

rldt_3p()
  3-part return line downtrend condition
  Returns: bool

rldt_4p()
  4-part return line downtrend condition
  Returns: bool

rldt_5p()
  5-part return line downtrend condition
  Returns: bool

rldt_6p()
  6-part return line downtrend condition
  Returns: bool

rldt_7p()
  7-part return line downtrend condition
  Returns: bool

rldt_8p()
  8-part return line downtrend condition
  Returns: bool

rldt_9p()
  9-part return line downtrend condition
  Returns: bool

rldt_10p()
  10-part return line downtrend condition
  Returns: bool

rldt_11p()
  11-part return line downtrend condition
  Returns: bool

rldt_12p()
  12-part return line downtrend condition
  Returns: bool

rldt_13p()
  13-part return line downtrend condition
  Returns: bool

rldt_14p()
  14-part return line downtrend condition
  Returns: bool

rldt_15p()
  15-part return line downtrend condition
  Returns: bool

rldt_16p()
  16-part return line downtrend condition
  Returns: bool

rldt_17p()
  17-part return line downtrend condition
  Returns: bool

rldt_18p()
  18-part return line downtrend condition
  Returns: bool

rldt_19p()
  19-part return line downtrend condition
  Returns: bool

rldt_20p()
  20-part return line downtrend condition
  Returns: bool

rldt_21p()
  21-part return line downtrend condition
  Returns: bool

rldt_22p()
  22-part return line downtrend condition
  Returns: bool

rldt_23p()
  23-part return line downtrend condition
  Returns: bool

rldt_24p()
  24-part return line downtrend condition
  Returns: bool

rldt_25p()
  25-part return line downtrend condition
  Returns: bool

rldt_26p()
  26-part return line downtrend condition
  Returns: bool

rldt_27p()
  27-part return line downtrend condition
  Returns: bool

rldt_28p()
  28-part return line downtrend condition
  Returns: bool

rldt_29p()
  29-part return line downtrend condition
  Returns: bool

rldt_30p()
  30-part return line downtrend condition
  Returns: bool

dut()
  double uptrend condition
  Returns: bool

ddt()
  double downtrend condition
  Returns: bool

dut_1p()
  1-part double uptrend condition
  Returns: bool

dut_2p()
  2-part double uptrend condition
  Returns: bool

dut_3p()
  3-part double uptrend condition
  Returns: bool

dut_4p()
  4-part double uptrend condition
  Returns: bool

dut_5p()
  5-part double uptrend condition
  Returns: bool

dut_6p()
  6-part double uptrend condition
  Returns: bool

dut_7p()
  7-part double uptrend condition
  Returns: bool

dut_8p()
  8-part double uptrend condition
  Returns: bool

dut_9p()
  9-part double uptrend condition
  Returns: bool

dut_10p()
  10-part double uptrend condition
  Returns: bool

dut_11p()
  11-part double uptrend condition
  Returns: bool

dut_12p()
  12-part double uptrend condition
  Returns: bool

dut_13p()
  13-part double uptrend condition
  Returns: bool

dut_14p()
  14-part double uptrend condition
  Returns: bool

dut_15p()
  15-part double uptrend condition
  Returns: bool

dut_16p()
  16-part double uptrend condition
  Returns: bool

dut_17p()
  17-part double uptrend condition
  Returns: bool

dut_18p()
  18-part double uptrend condition
  Returns: bool

dut_19p()
  19-part double uptrend condition
  Returns: bool

dut_20p()
  20-part double uptrend condition
  Returns: bool

dut_21p()
  21-part double uptrend condition
  Returns: bool

dut_22p()
  22-part double uptrend condition
  Returns: bool

dut_23p()
  23-part double uptrend condition
  Returns: bool

dut_24p()
  24-part double uptrend condition
  Returns: bool

dut_25p()
  25-part double uptrend condition
  Returns: bool

dut_26p()
  26-part double uptrend condition
  Returns: bool

dut_27p()
  27-part double uptrend condition
  Returns: bool

dut_28p()
  28-part double uptrend condition
  Returns: bool

dut_29p()
  29-part double uptrend condition
  Returns: bool

dut_30p()
  30-part double uptrend condition
  Returns: bool

ddt_1p()
  1-part double downtrend condition
  Returns: bool

ddt_2p()
  2-part double downtrend condition
  Returns: bool

ddt_3p()
  3-part double downtrend condition
  Returns: bool

ddt_4p()
  4-part double downtrend condition
  Returns: bool

ddt_5p()
  5-part double downtrend condition
  Returns: bool

ddt_6p()
  6-part double downtrend condition
  Returns: bool

ddt_7p()
  7-part double downtrend condition
  Returns: bool

ddt_8p()
  8-part double downtrend condition
  Returns: bool

ddt_9p()
  9-part double downtrend condition
  Returns: bool

ddt_10p()
  10-part double downtrend condition
  Returns: bool

ddt_11p()
  11-part double downtrend condition
  Returns: bool

ddt_12p()
  12-part double downtrend condition
  Returns: bool

ddt_13p()
  13-part double downtrend condition
  Returns: bool

ddt_14p()
  14-part double downtrend condition
  Returns: bool

ddt_15p()
  15-part double downtrend condition
  Returns: bool

ddt_16p()
  16-part double downtrend condition
  Returns: bool

ddt_17p()
  17-part double downtrend condition
  Returns: bool

ddt_18p()
  18-part double downtrend condition
  Returns: bool

ddt_19p()
  19-part double downtrend condition
  Returns: bool

ddt_20p()
  20-part double downtrend condition
  Returns: bool

ddt_21p()
  21-part double downtrend condition
  Returns: bool

ddt_22p()
  22-part double downtrend condition
  Returns: bool

ddt_23p()
  23-part double downtrend condition
  Returns: bool

ddt_24p()
  24-part double downtrend condition
  Returns: bool

ddt_25p()
  25-part double downtrend condition
  Returns: bool

ddt_26p()
  26-part double downtrend condition
  Returns: bool

ddt_27p()
  27-part double downtrend condition
  Returns: bool

ddt_28p()
  28-part double downtrend condition
  Returns: bool

ddt_29p()
  29-part double downtrend condition
  Returns: bool

ddt_30p()
  30-part double downtrend condition
  Returns: bool
statisticsstrategiestechindicator

Biblioteca Pine

Siguiendo fielmente el espíritu TradingView, el autor ha publicado este código Pine como una biblioteca de código abierto, permitiendo que otros programadores de Pine en nuestra comunidad lo utilicen de nuevo. ¡Olé por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en una publicación se rige por las Normas internas.

Exención de responsabilidad