HanJinSignals26

pinbar(longFrac, shortFrac, strict)
Parameters:
longFrac (simple float)
shortFrac (simple float)
strict (simple bool)
engulf()
fractal()
harami()
bigbody(minFrac)
Parameters:
minFrac (simple float)
Added:
isSideways(bbLen, bbMult, kcLen, kcMult, useTrueRange)
Parameters:
bbLen (simple int)
bbMult (simple float)
kcLen (simple int)
kcMult (simple float)
useTrueRange (simple bool)
Updated:
isSideways(bbLen, kcLen, kcMult, useTrueRange)
Parameters:
bbLen (simple int)
kcLen (simple int)
kcMult (simple float)
useTrueRange (simple bool)
Added:
touchBollingerBand(upperBand, lowerBand)
Parameters:
upperBand (float)
lowerBand (float)
Added:
hasPosition(positionSize)
Parameters:
positionSize (float)
isLongPosition(positionSize)
Parameters:
positionSize (float)
isShortPosition(positionSize)
Parameters:
positionSize (float)
isFlatPosition(positionSize)
Parameters:
positionSize (float)
Added:
calculateContracts(accountEquityUsd, riskPct, entryPrice, stopLossPrice, usdPerPointPerContract)
Parameters:
accountEquityUsd (float)
riskPct (float)
entryPrice (float)
stopLossPrice (float)
usdPerPointPerContract (float)
splitContracts(totalContracts)
Parameters:
totalContracts (float)
Updated:
calculateContracts(accountEquityUsd, riskPct, entryPrice, stopLossPrice, usdPerPointPerContract, minRiskPoints, maxContracts)
Parameters:
accountEquityUsd (float)
riskPct (float)
entryPrice (float)
stopLossPrice (float)
usdPerPointPerContract (float)
minRiskPoints (float)
maxContracts (int)
Added:
riskBudgetUsd(accountEquityUsd, riskPct)
Parameters:
accountEquityUsd (float)
riskPct (float)
riskPoints(entryPrice, stopLossPrice)
Parameters:
entryPrice (float)
stopLossPrice (float)
riskUsdPerContract(riskPoints, usdPerPointPerContract)
Parameters:
riskPoints (float)
usdPerPointPerContract (float)
contractsByRisk(riskBudgetUsd, riskUsdPerContract)
Parameters:
riskBudgetUsd (float)
riskUsdPerContract (float)
Updated:
splitContracts(totalContracts)
Parameters:
totalContracts (int)
Removed:
calculateContracts(accountEquityUsd, riskPct, entryPrice, stopLossPrice, usdPerPointPerContract, minRiskPoints, maxContracts)
Added:
planFuturesContracts(accountEquityUsd, riskPct, entryPrice, stopLossPrice, usdPerPointPerContract, minSizingRiskPoints, maxContracts)
Parameters:
accountEquityUsd (float)
riskPct (float)
entryPrice (float)
stopLossPrice (float)
usdPerPointPerContract (float)
minSizingRiskPoints (float)
maxContracts (int)
Removed:
riskBudgetUsd(accountEquityUsd, riskPct)
riskPoints(entryPrice, stopLossPrice)
riskUsdPerContract(riskPoints, usdPerPointPerContract)
contractsByRisk(riskBudgetUsd, riskUsdPerContract)
Added:
payload(side, tag)
Parameters:
side (string)
tag (string)
Библиотека Pine
В истинном духе TradingView автор опубликовал этот код Pine как библиотеку с открытым исходным кодом, чтобы другие программисты Pine из нашего сообщества могли её использовать. Браво автору! Вы можете использовать эту библиотеку для личного пользования или в других публикациях с открытым исходным кодом, но повторное использование этого кода в публикациях регулируется Правилами поведения.
Отказ от ответственности
Библиотека Pine
В истинном духе TradingView автор опубликовал этот код Pine как библиотеку с открытым исходным кодом, чтобы другие программисты Pine из нашего сообщества могли её использовать. Браво автору! Вы можете использовать эту библиотеку для личного пользования или в других публикациях с открытым исходным кодом, но повторное использование этого кода в публикациях регулируется Правилами поведения.