E5Trading

E5TradingLibrary

  • This library replaces the previous MetaWorldEngineFilterLibrary3.

Library "E5TradingLibrary"

GetCandleStickSize(_src_high, _src_low)
  returns size of the candle
  Parameters:
    _src_high
    _src_low
  Returns: candlestick size

GetCandleStickBodySize(_src_open, _src_close)
  returns size of the candle body
  Parameters:
    _src_open
    _src_close
  Returns: candlestick body size

FilterLongerLowerWickCandles(_src_open, _src_close, _src_low)
  Alters Candlestick Value to Magnify Candles with Long Wicks
  Parameters:
    _src_open
    _src_close
    _src_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(_src_open, _src_close)
  Determine if Candle is Bullish or Bearish
  Parameters:
    _src_open
    _src_close
  Returns: True is Bullish

IsDoji(_candleIndex, _precision)
  Determine if Candle is a Doji
  Parameters:
    _candleIndex
    _precision
  Returns: True if a Doji

MACD(_src, _fastLength, _slowLength, _signalLength)
  Computes MACD
  Parameters:
    _src
    _fastLength
    _slowLength
    _signalLength
  Returns: Returns MACD and Signal Line

isFastSlowCrossed(SeriesA, SeriesB)
  Computes if SeriesA crosses SeriesB
  Parameters:
    SeriesA
    SeriesB
  Returns: if SeriesA crosses SeriesB then true else false

isReversalUpTrend(SeriesA, SeriesB)
  Computes if SeriesA crosses over SeriesB to determine reversal uptrend
  Parameters:
    SeriesA
    SeriesB
  Returns: if SeriesA crosses over SeriesB then true else false

isReversalDownTrend(SeriesA, SeriesB)
  Computes if SeriesA crosses over SeriesB to determine reversal uptrend
  Parameters:
    SeriesA
    SeriesB
  Returns: if SeriesA crosses over SeriesB then true else false

SSMA(_src, smalength)
  Computes smoothed SMA
  Parameters:
    _src
    smalength
  Returns: a single concatenated string for evaluation

GetTimeFrame()
  Get Current timeframe in minutes
  Returns: an integer value in minutes

getMA(_src, length, maType)
  Gets a Moving Average based on type
  Parameters:
    _src
    length
    maType
  Returns: A moving average with the given parameters

ATRSwitch(_src, _ATRMult, _ATRLength)
  Average True Range Trailing Stops by Sylvain Vervoort
  Parameters:
    _src
    _ATRMult
    _ATRLength
  Returns: upper ATR Line, lower ATR Line and the switch point

E5 Trading
Trade with a market edge!
Access indicators: www.e5trading.com
Socials: www.bio.site/e5trading
Библиотека Pine

В истинном духе TradingView автор опубликовал этот код Pine как библиотеку с открытым исходным кодом, чтобы другие разработчики Pine из нашего сообщества могли использовать его повторно. Поблагодарим автора! Вы можете использовать эту библиотеку приватно или в других публикациях с открытым исходным кодом, но повторное использование этого кода в публикации регулируется Правилами поведения.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать эту библиотеку?

Скопируйте текст в буфер обмена и вставьте в свой скрипт.