PINE LIBRARY
Cập nhật lib_Indicators_DT

Library "lib_Indicators_DT"
This library functions returns some Moving averages and indicators.
Created it to feed my indicator/strategy "INDICATOR & CONDITIONS COMBINATOR FRAMEWORK v1 [DTU]" which I will publish it as soon as possible.
Credits: Library includes some public indicators, snippets from tradingview & 03.freeman's ("All MAs displayed") scripts.
(I hope, I dont break Tradingview's House Rules on Script Publishing)
f_plotPrep(src_, src_, src_, src_) Prepare Indicator Plot Type
Parameters:
src_: Source
src_: plotingType_ "Original, Stochastic, Percent"
src_: stochlen_ Stochasting plottingtype length
src_: plotSWMA_ Use SWMA for the output
Returns: Return the prepared indicator
f_funcPlot(string, float, simple, string, simple, bool) f_funcPlot(string f, float src_, simple int length_, string plotingType_ = "Original", simple int stochlen_=50, bool plotSWMA=false) Return selected indicator value with different parameters
Parameters:
string: f indicator-> options=['Hide'
'▼▼▼ MOV AVGs ▼▼▼',
'alma', 'cma','dema', 'ema', 'gmma','hl2ma','hull','lagAdapt', 'lagAdaptV', 'laguerre', 'lesrcp','linreg', 'lexp', 'percntl',
'percntli', 'rema','rma','sma','smma','super2', 'super3','swma','tema', 'tma','vida','vwma', 'wma',
'▼▼▼ INDICATORS ▼▼▼',
'bbr', 'bbw', 'cci', 'cctbbo', 'change', 'cmo', 'cog', 'copcurve', 'correl', 'count', 'dev', 'kcr', 'kcw',
'macd', 'mfi', 'roc', 'rsi', 'smi_Oscillator', 'smi_signal', 'stdev','trix' , 'tsi', 'variance', 'willprc']
float: src_ close,open.....
simple: int length_ indicator length
string: plotingType return param-> options=['Original', 'Stochastic', 'PercentRank')
simple: int stochlen_ length for return Param
bool: plotSWMA Use SWMA on Plot
Returns: float [series]
This library functions returns some Moving averages and indicators.
Created it to feed my indicator/strategy "INDICATOR & CONDITIONS COMBINATOR FRAMEWORK v1 [DTU]" which I will publish it as soon as possible.
Credits: Library includes some public indicators, snippets from tradingview & 03.freeman's ("All MAs displayed") scripts.
(I hope, I dont break Tradingview's House Rules on Script Publishing)
f_plotPrep(src_, src_, src_, src_) Prepare Indicator Plot Type
Parameters:
src_: Source
src_: plotingType_ "Original, Stochastic, Percent"
src_: stochlen_ Stochasting plottingtype length
src_: plotSWMA_ Use SWMA for the output
Returns: Return the prepared indicator
f_funcPlot(string, float, simple, string, simple, bool) f_funcPlot(string f, float src_, simple int length_, string plotingType_ = "Original", simple int stochlen_=50, bool plotSWMA=false) Return selected indicator value with different parameters
Parameters:
string: f indicator-> options=['Hide'
'▼▼▼ MOV AVGs ▼▼▼',
'alma', 'cma','dema', 'ema', 'gmma','hl2ma','hull','lagAdapt', 'lagAdaptV', 'laguerre', 'lesrcp','linreg', 'lexp', 'percntl',
'percntli', 'rema','rma','sma','smma','super2', 'super3','swma','tema', 'tma','vida','vwma', 'wma',
'▼▼▼ INDICATORS ▼▼▼',
'bbr', 'bbw', 'cci', 'cctbbo', 'change', 'cmo', 'cog', 'copcurve', 'correl', 'count', 'dev', 'kcr', 'kcw',
'macd', 'mfi', 'roc', 'rsi', 'smi_Oscillator', 'smi_signal', 'stdev','trix' , 'tsi', 'variance', 'willprc']
float: src_ close,open.....
simple: int length_ indicator length
string: plotingType return param-> options=['Original', 'Stochastic', 'PercentRank')
simple: int stochlen_ length for return Param
bool: plotSWMA Use SWMA on Plot
Returns: float [series]
Phát hành các Ghi chú
v2- Minor wording changes that not affect to the results
- [url=
![INDICATORS & CONDITIONS TEST FRAMEWORK v1 [DTU]](https://s3.tradingview.com/g/giNSN8tF_mid.png)
- Thanks changed to for dump21 indicator that I was used in my library to RodrigoKazuma
- !!! You can still used V1 for your indicators and strategies. This version is only includes wordings that not affect to the results
Thư viện Pine
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo Nội quy chung.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Thư viện Pine
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo Nội quy chung.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.