PINE LIBRARY

MHCustomSpotTradingLibrary

Library "MHCustomSpotTradingLibrary"

HMA(float, float)
  Parameters:
    float: _src price data
    float: _length Period
  Returns: Hull Moving Average

EHMA(float, float)
  Parameters:
    float: _src price data
    float: _length Period
  Returns: EHMA Moving Average

THMA(float, float)
  Parameters:
    float: _src price data
    float: _length Period
  Returns: THMA Moving Average

HullMode(string, float, float)
  Parameters:
    string: modeSwitch Hull type
    float: _src price data
    float: _length Period
  Returns: A Moving Average

start_Dates(int, int, int)
  Parameters:
    int: year
    int: month
    int: day
  Returns: Start Date

stop_Dates(int, int, int)
  Parameters:
    int: year
    int: month
    int: day
  Returns: Stop Date

f_print(string, int, int)
  Parameters:
    string: _text
    int: col
    int: row
  Returns: Nothing

showStats()

greenCandle()

redCandle()

getDecimals()

truncate()

toWhole()

toPips()

getMA()

getEAP()

barsAboveMA()

barsBelowMA()

barsCrossedMA()

getPullbackBarCount()

getBodySize()

getTopWickSize()

getBottomWickSize()

getBodyPercent()

isHammer()

isStar()

isDoji()

isBullishEC()

isBearishEC()

timeFilter()

dateFilter()

dayFilter()

atrFilter()

fillCell()
strategiestechindicator

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer