PINE LIBRARY
Cập nhật BankNifty_CSM

Library "BankNifty_CSM"
TODO: add library description here
getLtp_N_Chang(openPrice, closePrice, highPrice, hl2Price, lowPrice, hlc3Price, bankNiftyClose)
Parameters:
openPrice (float)
closePrice (float)
highPrice (float)
hl2Price (float)
lowPrice (float)
hlc3Price (float)
bankNiftyClose (float)
TODO: add library description here
getLtp_N_Chang(openPrice, closePrice, highPrice, hl2Price, lowPrice, hlc3Price, bankNiftyClose)
Parameters:
openPrice (float)
closePrice (float)
highPrice (float)
hl2Price (float)
lowPrice (float)
hlc3Price (float)
bankNiftyClose (float)
Phát hành các Ghi chú
v2Added:
candlepatternbullish()
candlepatternbearish()
Phát hành các Ghi chú
v3Added:
getADX_Prediction(highPrice, lowPrice)
Parameters:
highPrice (float)
lowPrice (float)
get_RSI_Prediction(closePrice, bnfprice, Ex_RS)
Parameters:
closePrice (float)
bnfprice (float)
Ex_RS (int)
get_MFI_Prediction(hlc3Price, bnfprice, Ex_RS)
Parameters:
hlc3Price (float)
bnfprice (float)
Ex_RS (int)
frama_Calculation(src, length, mult)
Parameters:
src (float)
length (int)
mult (float)
CSM_CPMA(length, price, HL2, Open, High, Low, OHLC4, HLC3, HLCC4)
Parameters:
length (simple int)
price (float)
HL2 (float)
Open (float)
High (float)
Low (float)
OHLC4 (float)
HLC3 (float)
HLCC4 (float)
Phát hành các Ghi chú
v4Minor code , color added and corrections
Phát hành các Ghi chú
v5Minor corrections and text changes
Phát hành các Ghi chú
v6Phát hành các Ghi chú
v7Added:
BullishCandlePatternOnDownTrend(C_Len, C_ShadowPercent, C_ShadowEqualsPercent, C_DojiBodyPercent, C_Factor)
Parameters:
C_Len (simple int)
C_ShadowPercent (float)
C_ShadowEqualsPercent (float)
C_DojiBodyPercent (float)
C_Factor (int)
BearishCandlePatternOnUpTrend(C_Len, C_ShadowPercent, C_ShadowEqualsPercent, C_DojiBodyPercent, C_Factor)
Parameters:
C_Len (simple int)
C_ShadowPercent (float)
C_ShadowEqualsPercent (float)
C_DojiBodyPercent (float)
C_Factor (int)
Updated:
getLtp_N_Chang(openPrice, closePrice, highPrice, hl2Price, lowPrice, hlc3Price, stockLastClosePrice, bankNiftyClose)
Parameters:
openPrice (float)
closePrice (float)
highPrice (float)
hl2Price (float)
lowPrice (float)
hlc3Price (float)
stockLastClosePrice (float)
bankNiftyClose (float)
candlepatternbullish(C_Len, C_ShadowPercent, C_ShadowEqualsPercent, C_DojiBodyPercent)
Parameters:
C_Len (simple int)
C_ShadowPercent (float)
C_ShadowEqualsPercent (float)
C_DojiBodyPercent (float)
candlepatternbearish(C_Len, C_ShadowPercent, C_ShadowEqualsPercent, C_DojiBodyPercent)
Parameters:
C_Len (simple int)
C_ShadowPercent (float)
C_ShadowEqualsPercent (float)
C_DojiBodyPercent (float)
Phát hành các Ghi chú
v8Phát hành các Ghi chú
v9Phát hành các Ghi chú
v10Phát hành các Ghi chú
v11Phát hành các Ghi chú
v12Phát hành các Ghi chú
v13Added:
entryExitinStrategy(longCondition, shortCondition, window, longTakeProfit, shortTakeProfit, LossstratA, trailingTakeProfit)
Parameters:
longCondition (bool)
shortCondition (bool)
window (bool)
longTakeProfit (float)
shortTakeProfit (float)
LossstratA (float)
trailingTakeProfit (float)
Phát hành các Ghi chú
v14Added:
getGradientColor(src, length, beta)
Parameters:
src (float)
length (simple int)
beta (float)
Phát hành các Ghi chú
v15Updated:
getGradientColor(isFirstbar, src, length, beta)
Parameters:
isFirstbar (bool)
src (float)
length (simple int)
beta (float)
Phát hành các Ghi chú
v16Updated:
getGradientColor(isFirstbar, src, length, beta, isSmoothed)
Parameters:
isFirstbar (bool)
src (float)
length (simple int)
beta (float)
isSmoothed (bool)
Thư viện Pine
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 publications is governed by House Rules.
Thông báo miễn trừ trách nhiệm
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Thư viện Pine
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 publications is governed by House Rules.
Thông báo miễn trừ trách nhiệm
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.