PINE LIBRARY
已更新 DR_IDR_Library

Library "DR_IDR_Library"
Back-End Logic for DR/IDR Strategy
SessionActive(drIdr, settings, drawDRIDRs)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
drawDRIDRs (bool)
DrawMidLine(drIdr, settings, drawDRIDRs)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
drawDRIDRs (bool)
ExtendBands(drIdr, settings, drawDRIDRs)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
drawDRIDRs (bool)
CheckForRetest(drIdr, settings, RetestZones, currentUpperThreshold, currentLowerThreshold)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
RetestZones (RetestZones)
currentUpperThreshold (float)
currentLowerThreshold (float)
ResetVals(drIdr)
Parameters:
drIdr (DrIdr)
GetNewDrIdr()
CandleData
Fields:
High (series float)
HighClose (series float)
Low (series float)
LowClose (series float)
BarIndex (series int)
DrIdrSettings
Fields:
CloseColor (series color)
UpperLineColor (series color)
MidLineColor (series color)
LowerLineColor (series color)
UpperBandColor (series color)
LowerBandColor (series color)
UpperLineWidth (series int)
MidLineWidth (series int)
LowerLineWidth (series int)
MarkCandles (series bool)
RetestZone
Fields:
UpperBorder (series float)
LowerBorder (series float)
StartBar (series int)
InZoneValid (series bool)
InZoneBar (series int)
InZoneBox (series box)
BreakoutValid (series bool)
BreakoutBar (series int)
BreakoutBox (series box)
RetestZones
Fields:
ArrRetestZones (array<RetestZone>)
ArrRetestZonesLength (series int)
Retest
Fields:
FirstLeaving (series bool)
FirstLeavingBar (series int)
RetestOccured (series bool)
RetestBar (series int)
SecondLeaving (series bool)
Bullish (series bool)
Bearish (series bool)
RetestValid (series bool)
RangeValid (series bool)
DrIdr
Fields:
StartHour (CandleData)
Retest (Retest)
CloseZoneBox (series box)
UpperZoneBox (series box)
LowerZoneBox (series box)
UpperLine (series line)
UpperLevel (series float)
MidLine (series line)
MidLevel (series float)
LowerLine (series line)
LowerLevel (series float)
Back-End Logic for DR/IDR Strategy
SessionActive(drIdr, settings, drawDRIDRs)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
drawDRIDRs (bool)
DrawMidLine(drIdr, settings, drawDRIDRs)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
drawDRIDRs (bool)
ExtendBands(drIdr, settings, drawDRIDRs)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
drawDRIDRs (bool)
CheckForRetest(drIdr, settings, RetestZones, currentUpperThreshold, currentLowerThreshold)
Parameters:
drIdr (DrIdr)
settings (DrIdrSettings)
RetestZones (RetestZones)
currentUpperThreshold (float)
currentLowerThreshold (float)
ResetVals(drIdr)
Parameters:
drIdr (DrIdr)
GetNewDrIdr()
CandleData
Fields:
High (series float)
HighClose (series float)
Low (series float)
LowClose (series float)
BarIndex (series int)
DrIdrSettings
Fields:
CloseColor (series color)
UpperLineColor (series color)
MidLineColor (series color)
LowerLineColor (series color)
UpperBandColor (series color)
LowerBandColor (series color)
UpperLineWidth (series int)
MidLineWidth (series int)
LowerLineWidth (series int)
MarkCandles (series bool)
RetestZone
Fields:
UpperBorder (series float)
LowerBorder (series float)
StartBar (series int)
InZoneValid (series bool)
InZoneBar (series int)
InZoneBox (series box)
BreakoutValid (series bool)
BreakoutBar (series int)
BreakoutBox (series box)
RetestZones
Fields:
ArrRetestZones (array<RetestZone>)
ArrRetestZonesLength (series int)
Retest
Fields:
FirstLeaving (series bool)
FirstLeavingBar (series int)
RetestOccured (series bool)
RetestBar (series int)
SecondLeaving (series bool)
Bullish (series bool)
Bearish (series bool)
RetestValid (series bool)
RangeValid (series bool)
DrIdr
Fields:
StartHour (CandleData)
Retest (Retest)
CloseZoneBox (series box)
UpperZoneBox (series box)
LowerZoneBox (series box)
UpperLine (series line)
UpperLevel (series float)
MidLine (series line)
MidLevel (series float)
LowerLine (series line)
LowerLevel (series float)
版本注释
v2Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。