PINE LIBRARY
업데이트됨 Waves

Library "Waves"
Methods for elliot wave detection
method delete(this)
deletes the subwave drawing
Namespace types: Subwave
Parameters:
this (Subwave): Subwave object to be deleted
Returns: deleted subwave object
method delete(this)
deletes the wave drawing and the corresponding subwaves
Namespace types: Wave
Parameters:
this (Wave): Wave object to be deleted
Returns: deleted wave object
method createWave(pivot, lineColor, waves, limit)
Create wave object
Namespace types: zg.Pivot
Parameters:
pivot (Pivot type from Trendoscope/Zigzag/7): pivot object where the wave needs to be created
lineColor (color): color of the wave to be drawn
waves (array<Wave>): array of existing waves
limit (int): max number of waves to be shown in the chart
Returns: wave object created
method createSubWaves(wave, subwavePivots)
Create sub waves for the wave
Namespace types: Wave
Parameters:
wave (Wave)
subwavePivots (array<SubwavePivots>): array of sub wave pivots
Returns: wave object created
method draw(subWave)
Draw subwave
Namespace types: Subwave
Parameters:
subWave (Subwave)
Returns: subwsubWave object
method draw(wave, limitSubwaves)
Draw Wave
Namespace types: Wave
Parameters:
wave (Wave): Wave object to be drawn
limitSubwaves (bool): limit the number of subwave combinations within the wave
Returns: wave object
method checkMotiveWave(prices)
based on the price array, check if there is motive wave and identify the type
Namespace types: array<float>
Parameters:
prices (array<float>): float array of prices
Returns: WaveType representing the identified wave type. na otherwise
method scanMotiveWave(pivot, lastPivot, existingWaves, allowedTypes)
Scan for motive wave
Namespace types: zg.Pivot
Parameters:
pivot (Pivot type from Trendoscope/Zigzag/7): Zigzag pivot that will be checked for motive wave
lastPivot (Pivot type from Trendoscope/Zigzag/7): previous Zigzag pivot
existingWaves (array<Wave>): array of existing waves
allowedTypes (array<WaveType>): allowed Wave types to filter them
Returns: array of subwave pivots
SubwavePivots
SubwavePivots represents the sub pivots of the main wave
Fields:
waveType (series WaveType): Type of the Wave
indices (array<int>): Bar index values of sub waves
subPivots (array<Pivot> type from Trendoscope/Zigzag/7): sub pivot objects of the wave
Subwave
Subwave represents the drawing of sub waves
Fields:
waves (array<Line> type from Trendoscope/Drawing/1): array of sub wave lines
points (array<Label> type from Trendoscope/Drawing/1): Array of subwave pivot labels
subwavePivots (SubwavePivots): array of subwave pivots being drawn
Wave
Wave object type
Fields:
pivot (Pivot type from Trendoscope/Zigzag/7): starting point of the wave
wave (Line type from Trendoscope/Drawing/1): Line representing the wave
waveLabel (Label type from Trendoscope/Drawing/1): label containing wave details
subWaves (array<Subwave>): array of sub waves
Methods for elliot wave detection
method delete(this)
deletes the subwave drawing
Namespace types: Subwave
Parameters:
this (Subwave): Subwave object to be deleted
Returns: deleted subwave object
method delete(this)
deletes the wave drawing and the corresponding subwaves
Namespace types: Wave
Parameters:
this (Wave): Wave object to be deleted
Returns: deleted wave object
method createWave(pivot, lineColor, waves, limit)
Create wave object
Namespace types: zg.Pivot
Parameters:
pivot (Pivot type from Trendoscope/Zigzag/7): pivot object where the wave needs to be created
lineColor (color): color of the wave to be drawn
waves (array<Wave>): array of existing waves
limit (int): max number of waves to be shown in the chart
Returns: wave object created
method createSubWaves(wave, subwavePivots)
Create sub waves for the wave
Namespace types: Wave
Parameters:
wave (Wave)
subwavePivots (array<SubwavePivots>): array of sub wave pivots
Returns: wave object created
method draw(subWave)
Draw subwave
Namespace types: Subwave
Parameters:
subWave (Subwave)
Returns: subwsubWave object
method draw(wave, limitSubwaves)
Draw Wave
Namespace types: Wave
Parameters:
wave (Wave): Wave object to be drawn
limitSubwaves (bool): limit the number of subwave combinations within the wave
Returns: wave object
method checkMotiveWave(prices)
based on the price array, check if there is motive wave and identify the type
Namespace types: array<float>
Parameters:
prices (array<float>): float array of prices
Returns: WaveType representing the identified wave type. na otherwise
method scanMotiveWave(pivot, lastPivot, existingWaves, allowedTypes)
Scan for motive wave
Namespace types: zg.Pivot
Parameters:
pivot (Pivot type from Trendoscope/Zigzag/7): Zigzag pivot that will be checked for motive wave
lastPivot (Pivot type from Trendoscope/Zigzag/7): previous Zigzag pivot
existingWaves (array<Wave>): array of existing waves
allowedTypes (array<WaveType>): allowed Wave types to filter them
Returns: array of subwave pivots
SubwavePivots
SubwavePivots represents the sub pivots of the main wave
Fields:
waveType (series WaveType): Type of the Wave
indices (array<int>): Bar index values of sub waves
subPivots (array<Pivot> type from Trendoscope/Zigzag/7): sub pivot objects of the wave
Subwave
Subwave represents the drawing of sub waves
Fields:
waves (array<Line> type from Trendoscope/Drawing/1): array of sub wave lines
points (array<Label> type from Trendoscope/Drawing/1): Array of subwave pivot labels
subwavePivots (SubwavePivots): array of subwave pivots being drawn
Wave
Wave object type
Fields:
pivot (Pivot type from Trendoscope/Zigzag/7): starting point of the wave
wave (Line type from Trendoscope/Drawing/1): Line representing the wave
waveLabel (Label type from Trendoscope/Drawing/1): label containing wave details
subWaves (array<Subwave>): array of sub waves
릴리즈 노트
v2Updated:
method createWave(pivot, lineColor, waves, limit)
Create wave object
Namespace types: zg.Pivot
Parameters:
pivot (Pivot type from Trendoscope/Zigzag/10): pivot object where the wave needs to be created
lineColor (color): color of the wave to be drawn
waves (array<Wave>): array of existing waves
limit (int): max number of waves to be shown in the chart
Returns: wave object created
method scanMotiveWave(pivot, lastPivot, existingWaves, allowedTypes)
Scan for motive wave
Namespace types: zg.Pivot
Parameters:
pivot (Pivot type from Trendoscope/Zigzag/10): Zigzag pivot that will be checked for motive wave
lastPivot (Pivot type from Trendoscope/Zigzag/10): previous Zigzag pivot
existingWaves (array<Wave>): array of existing waves
allowedTypes (array<WaveType>): allowed Wave types to filter them
Returns: array of subwave pivots
SubwavePivots
SubwavePivots represents the sub pivots of the main wave
Fields:
waveType (series WaveType): Type of the Wave
indices (array<int>): Bar index values of sub waves
subPivots (array<Pivot> type from Trendoscope/Zigzag/10): sub pivot objects of the wave
Subwave
Subwave represents the drawing of sub waves
Fields:
waves (array<Line> type from Trendoscope/Drawing/2): array of sub wave lines
points (array<Label> type from Trendoscope/Drawing/2): Array of subwave pivot labels
subwavePivots (SubwavePivots): array of subwave pivots being drawn
Wave
Wave object type
Fields:
pivot (Pivot type from Trendoscope/Zigzag/10): starting point of the wave
wave (Line type from Trendoscope/Drawing/2): Line representing the wave
waveLabel (Label type from Trendoscope/Drawing/2): label containing wave details
subWaves (array<Subwave>): array of sub waves
릴리즈 노트
v3파인 라이브러리
트레이딩뷰의 진정한 정신에 따라, 작성자는 이 파인 코드를 오픈소스 라이브러리로 게시하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 경의를 표합니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈소스 게시물에서 사용할 수 있지만, 이 코드의 게시물 내 재사용은 하우스 룰에 따라 규제됩니다.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
파인 라이브러리
트레이딩뷰의 진정한 정신에 따라, 작성자는 이 파인 코드를 오픈소스 라이브러리로 게시하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 경의를 표합니다! 이 라이브러리는 개인적으로 사용하거나 다른 오픈소스 게시물에서 사용할 수 있지만, 이 코드의 게시물 내 재사용은 하우스 룰에 따라 규제됩니다.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.