PINE LIBRARY
MetaWorldEngineFilterLibrary3

Library "MetaWorldEngineFilterLibrary3"
GetCandleStickSize(Rule, Rule)
returns size of the candle
Parameters:
Rule: 1: (float) _src_high
Rule: 2: (float) _src_low
Returns: candlestick size
GetCandleStickBodySize(Rule, Rule)
returns size of the candle body
Parameters:
Rule: 1: (float) _src_open
Rule: 2: (float) _src_close
Returns: candlestick body size
FilterLongerLowerWickCandles(Rule, Rule, Rule)
Alters Candlestick Value to Magnify Candles with Long Wicks
Parameters:
Rule: 1: (float) open
Rule: 2: (float) close
Rule: 2: (float) low
Returns: Midpoint of the candle body less the lower wick. If value returned has a large delta from midpoint of the body, then it is short wick
IsBullish(Rule, Rule)
Determine if Candle is Bullish or Bearish
Parameters:
Rule: 1: (float) open
Rule: 2: (float) close
Returns: True is Bullish
IsDoji(Rule, Rule)
Determine if Candle is a Doji
Parameters:
Rule: 1: (int) Candle Index
Rule: 2: (float) Percentage of candle size. Larger the Number the less stringent the doji criterion
Returns: True if a Doji
MACD(Rule, Rule, Rule, Rule)
Computes MACD
Parameters:
Rule: 1: (float) _src
Rule: 2: (int) _fastLength input fast ema length
Rule: 2: (int) _slowLength input slow ema length
Rule: 3: (int) _signalLength input length of signal line (sma of MACD line)
Returns: Returns MACD and Signal Line
isFastSlowCrossed(Rule, Rule)
Computes if SeriesA crosses SeriesB
Parameters:
Rule: 1: (float) Series Input
Rule: 2: (float) Series Input
Returns: if SeriesA crosses SeriesB then true else false
isReversalUpTrend(Rule, Rule)
Computes if SeriesA crosses over SeriesB to determine reversal uptrend
Parameters:
Rule: 1: (float) Series Input
Rule: 2: (float) Series Input
Returns: if SeriesA crosses over SeriesB then true else false
isReversalDownTrend(Rule, Rule)
Computes if SeriesA crosses over SeriesB to determine reversal uptrend
Parameters:
Rule: 1: (float) Series Input
Rule: 2: (float) Series Input
Returns: if SeriesA crosses over SeriesB then true else false
SSMA(Rule, Rule)
Computes smoothed SMA
Parameters:
Rule: 1: (float) source
Rule: 2: (float) sma length
Returns: a single concatenated string for evaluation
GetTimeFrame()
Get Current timeframe in minutes
Returns: an integer value in minutes
getMA(float, int, string, float)
Gets a Moving Average based on type
Parameters:
float: _src The source data
int: length The MA period
string: maType The type of MA
float: sigma / smoothness of ALMA, else NA
Returns: A moving average with the given parameters
GetCandleStickSize(Rule, Rule)
returns size of the candle
Parameters:
Rule: 1: (float) _src_high
Rule: 2: (float) _src_low
Returns: candlestick size
GetCandleStickBodySize(Rule, Rule)
returns size of the candle body
Parameters:
Rule: 1: (float) _src_open
Rule: 2: (float) _src_close
Returns: candlestick body size
FilterLongerLowerWickCandles(Rule, Rule, Rule)
Alters Candlestick Value to Magnify Candles with Long Wicks
Parameters:
Rule: 1: (float) open
Rule: 2: (float) close
Rule: 2: (float) low
Returns: Midpoint of the candle body less the lower wick. If value returned has a large delta from midpoint of the body, then it is short wick
IsBullish(Rule, Rule)
Determine if Candle is Bullish or Bearish
Parameters:
Rule: 1: (float) open
Rule: 2: (float) close
Returns: True is Bullish
IsDoji(Rule, Rule)
Determine if Candle is a Doji
Parameters:
Rule: 1: (int) Candle Index
Rule: 2: (float) Percentage of candle size. Larger the Number the less stringent the doji criterion
Returns: True if a Doji
MACD(Rule, Rule, Rule, Rule)
Computes MACD
Parameters:
Rule: 1: (float) _src
Rule: 2: (int) _fastLength input fast ema length
Rule: 2: (int) _slowLength input slow ema length
Rule: 3: (int) _signalLength input length of signal line (sma of MACD line)
Returns: Returns MACD and Signal Line
isFastSlowCrossed(Rule, Rule)
Computes if SeriesA crosses SeriesB
Parameters:
Rule: 1: (float) Series Input
Rule: 2: (float) Series Input
Returns: if SeriesA crosses SeriesB then true else false
isReversalUpTrend(Rule, Rule)
Computes if SeriesA crosses over SeriesB to determine reversal uptrend
Parameters:
Rule: 1: (float) Series Input
Rule: 2: (float) Series Input
Returns: if SeriesA crosses over SeriesB then true else false
isReversalDownTrend(Rule, Rule)
Computes if SeriesA crosses over SeriesB to determine reversal uptrend
Parameters:
Rule: 1: (float) Series Input
Rule: 2: (float) Series Input
Returns: if SeriesA crosses over SeriesB then true else false
SSMA(Rule, Rule)
Computes smoothed SMA
Parameters:
Rule: 1: (float) source
Rule: 2: (float) sma length
Returns: a single concatenated string for evaluation
GetTimeFrame()
Get Current timeframe in minutes
Returns: an integer value in minutes
getMA(float, int, string, float)
Gets a Moving Average based on type
Parameters:
float: _src The source data
int: length The MA period
string: maType The type of MA
float: sigma / smoothness of ALMA, else NA
Returns: A moving average with the given parameters
Phát hành các Ghi chú
Deleted the chart which erroneously showed another indicatorPhát hành các Ghi chú
v3Added:
ATRSwitch(float, float, int)
Average True Range Trailing Stops by Sylvain Vervoort
Parameters:
float: _src the source data
float: ATRMult ATR Multiple
int: ATRlength ATR Length
Returns: upper ATR Line, lower ATR Line and the switch point
Phát hành các Ghi chú
v4Thư 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.
E5 Trading
Trade with a market edge!
Access indicators: e5trading.com
Socials: bio.site/e5trading
Trade with a market edge!
Access indicators: e5trading.com
Socials: bio.site/e5trading
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.
E5 Trading
Trade with a market edge!
Access indicators: e5trading.com
Socials: bio.site/e5trading
Trade with a market edge!
Access indicators: e5trading.com
Socials: bio.site/e5trading
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.