返回代码库
TradingView脚本库未分类已发布

OutofOptionsHelperLibrary

TradingView 原文 · 抓取于 2026.09.30

TradingView 脚本库 · outofoptions

原作者outofoptions
首次发布2026.10.01
当前版本v20.0
已审核发布文件tradingview-yiv9t7h7.pine6.4 KB · TradingView · v20.0
SHA-256
a43a6f90bfdd4ebf7b93e8c828f94d845d8f8c6ad0cd6f2c9da51870c46199ea
授权
待确认
授权与文件校验
授权条款
待确认
SHA-256
a43a6f90bfdd4ebf7b93e8c828f94d845d8f8c6ad0cd6f2c9da51870c46199ea
登录后下载;未登录仍可查看源码预览
SOURCE PREVIEW

源码预览

正在读取已发布源码…
CAPABILITIES

核心功能

Library "OutofOptionsHelperLibrary" Helper library for my indicators/strategies

isUp(i)   is Up candle   Parameters:     i (int)   Returns: bool

isDown(i)   is Down candle   Parameters:     i (int)   Returns: bool

TF(t)   format time into date/time string   Parameters:     t (int)   Returns: string

S(s)   format data to string   Parameters:     s (float)   Returns: string

S(s)   format data to string   Parameters:     s (int)   Returns: string

S(s)   format data to string   Parameters:     s (bool)   Returns: string

barClose(price, up, strict)   Determine if candle closed above/below price   Parameters:     price (float)     up (bool)     strict (bool): bool if close over is required or if close at the price is good enough   Returns: bool

processSweep(L, price, up, leftB)   Determine how many liquidity sweeps were made   Parameters:     L (array<liquidity>)     price (float)     up (bool)     leftB (int)   Returns: int

liquidity   Fields:     price (series float)     time (series int)     oprice (series float)     otime (series int)     sweeps (series int)     bars_swept (series int)

INSTALLATION

安装与验证

◇
安装说明待补充

在文档完善前,请勿将未验证文件用于实盘环境。