INVITE-ONLY SCRIPT
업데이트됨 Double Bottom and Top Chart Pattern w/ Support and Resistance

-----------------------------------------------------------------
General Description:
This indicator (the one on the top panel) detects double top and double bottom patterns based on the “seasonality” of the classic MACD histogram (panel below) and the behavior of prices during those cycles.
Once a double top or a double bottom is confirmed the indicator draws a couple of parallel horizontal lines from both 1st and 2nd top or bottom, whichever be the case, and extend them horizontally all the way to the right of the chart. The indicator will keep drawing and extending the lines horizontally as many bars as the user indicates, leaving a clear demarcation of a possible support or resistance.
The indicator works on any market, any instrument, any timeframe, and any market condition.
-----------------------------------------------------------------
How it works:
The indicator tracks the values of the MACD histogram and prices. Every time the histogram is under 0 (during a negative cycle), the indicator detects and saves the minimum or more negative value of the price during that time/cycle/season. Every time the histogram is over 0 (positive cycle), the indicator detects and saves the maximum or more positive value of the price during that time/cycle/season.
Every time the histogram crosses over or under the 0 axis (every time a negative or positive cycle/season ends) the indicator makes its analysis.
When the histogram crosses over the 0 axis it means that a negative cycle just ended and the indicator begins to compare the minimum price registered during that negative cycle with the minimum price registered during the cycle before that last one (the last time the histogram was below 0). The indicator treats both minimum prices as “possible double bottoms” as long as they fit with our “deviation criteria”.
If the histogram crosses under the 0 axis it means that a positive cycle just ended and the indicator begins to compare the maximum price registered during that positive cycle with the maximum price registered during the cycle before that last one (the last time the histogram was above 0). The indicator treats both maximum prices as “possible double tops” as long as they fit with our “deviation criteria”.
Our deviation criteria is very simple, based on a relation between the average true range and the highs or lows. The MACD we use for the internal calculations is the standard (12, 26, 9).
After a double top/bottom is confirmed the indicator draws a couple of horizontal parallel lines from both tops/bottoms and extend those lines all the way to the right of the chart as many bars/candles as the user specifies, leaving a clear demarcation of a possible resistance or support.
-----------------------------------------------------------------
Options/adjustments for this indicator:
*Deviation.
Refers to the difference/relation/vertical distance between the PRICE peaks involved in the double top/bottom.
*Double Top/Bottom min width.
Refers to the minimum horizontal distance between the peaks involved in the double Top/bottom.
*Double Top/Bottom max width.
Refers to the maximum horizontal distance between the peaks involved in the double top/bottom.
*Max bars back to extent line.
Maximum amount of bars back that the last double top/bottom peak was seen.
*Plot Double Tops?
*Plot Double Bottoms?
*2nd peak/bottom bigger than the 1st?
*Plot Buy/Sell Confirmed Signals for Doubles?
*Plot Buy/Sell Temporary Signals for Doubles?
*Delete Previous Cancelled Double Tops/Bottoms?
General Description:
This indicator (the one on the top panel) detects double top and double bottom patterns based on the “seasonality” of the classic MACD histogram (panel below) and the behavior of prices during those cycles.
Once a double top or a double bottom is confirmed the indicator draws a couple of parallel horizontal lines from both 1st and 2nd top or bottom, whichever be the case, and extend them horizontally all the way to the right of the chart. The indicator will keep drawing and extending the lines horizontally as many bars as the user indicates, leaving a clear demarcation of a possible support or resistance.
The indicator works on any market, any instrument, any timeframe, and any market condition.
-----------------------------------------------------------------
How it works:
The indicator tracks the values of the MACD histogram and prices. Every time the histogram is under 0 (during a negative cycle), the indicator detects and saves the minimum or more negative value of the price during that time/cycle/season. Every time the histogram is over 0 (positive cycle), the indicator detects and saves the maximum or more positive value of the price during that time/cycle/season.
Every time the histogram crosses over or under the 0 axis (every time a negative or positive cycle/season ends) the indicator makes its analysis.
When the histogram crosses over the 0 axis it means that a negative cycle just ended and the indicator begins to compare the minimum price registered during that negative cycle with the minimum price registered during the cycle before that last one (the last time the histogram was below 0). The indicator treats both minimum prices as “possible double bottoms” as long as they fit with our “deviation criteria”.
If the histogram crosses under the 0 axis it means that a positive cycle just ended and the indicator begins to compare the maximum price registered during that positive cycle with the maximum price registered during the cycle before that last one (the last time the histogram was above 0). The indicator treats both maximum prices as “possible double tops” as long as they fit with our “deviation criteria”.
Our deviation criteria is very simple, based on a relation between the average true range and the highs or lows. The MACD we use for the internal calculations is the standard (12, 26, 9).
After a double top/bottom is confirmed the indicator draws a couple of horizontal parallel lines from both tops/bottoms and extend those lines all the way to the right of the chart as many bars/candles as the user specifies, leaving a clear demarcation of a possible resistance or support.
-----------------------------------------------------------------
Options/adjustments for this indicator:
*Deviation.
Refers to the difference/relation/vertical distance between the PRICE peaks involved in the double top/bottom.
*Double Top/Bottom min width.
Refers to the minimum horizontal distance between the peaks involved in the double Top/bottom.
*Double Top/Bottom max width.
Refers to the maximum horizontal distance between the peaks involved in the double top/bottom.
*Max bars back to extent line.
Maximum amount of bars back that the last double top/bottom peak was seen.
*Plot Double Tops?
*Plot Double Bottoms?
*2nd peak/bottom bigger than the 1st?
*Plot Buy/Sell Confirmed Signals for Doubles?
*Plot Buy/Sell Temporary Signals for Doubles?
*Delete Previous Cancelled Double Tops/Bottoms?
릴리즈 노트
-----------------------------------------------------------------General Description:
This indicator (the one on the top panel) detects double top and double bottom patterns based on the “seasonality” of the classic MACD histogram (panel below) and the behavior of prices during those cycles.
Once a double top or a double bottom is confirmed the indicator draws a couple of parallel horizontal lines from both 1st and 2nd top or bottom, whichever be the case, and extend them horizontally all the way to the right of the chart. The indicator will keep drawing and extending the lines horizontally as many bars as the user indicates, leaving a clear demarcation of a possible support or resistance.
The indicator works on any market, any instrument, any timeframe, and any market condition.
-----------------------------------------------------------------
How it works:
The indicator tracks the values of the MACD histogram and prices. Every time the histogram is under 0 (during a negative cycle), the indicator detects and saves the minimum or more negative value of the price during that time/cycle/season. Every time the histogram is over 0 (positive cycle), the indicator detects and saves the maximum or more positive value of the price during that time/cycle/season.
Every time the histogram crosses over or under the 0 axis (every time a negative or positive cycle/season ends) the indicator makes its analysis.
When the histogram crosses over the 0 axis it means that a negative cycle just ended and the indicator begins to compare the minimum price registered during that negative cycle with the minimum price registered during the cycle before that last one (the last time the histogram was below 0). The indicator treats both minimum prices as “possible double bottoms” as long as they fit with our “deviation criteria”.
If the histogram crosses under the 0 axis it means that a positive cycle just ended and the indicator begins to compare the maximum price registered during that positive cycle with the maximum price registered during the cycle before that last one (the last time the histogram was above 0). The indicator treats both maximum prices as “possible double tops” as long as they fit with our “deviation criteria”.
Our deviation criteria is very simple, based on a relation between the average true range and the highs or lows. The MACD we use for the internal calculations is the standard (12, 26, 9).
After a double top/bottom is confirmed the indicator draws a couple of horizontal parallel lines from both tops/bottoms and extend those lines all the way to the right of the chart as many bars/candles as the user specifies, leaving a clear demarcation of a possible resistance or support.
-----------------------------------------------------------------
Options/adjustments for this indicator:
*Timeframe
*2nd peak/bottom bigger than the first?
*Deviation.
Refers to the difference/relation/vertical distance between the PRICE peaks involved in the double top/bottom.
*Double Top/Bottom min width.
Refers to the minimum horizontal distance between the peaks involved in the double Top/bottom.
*Double Top/Bottom max width.
Refers to the maximum horizontal distance between the peaks involved in the double top/bottom.
*Max bars back to extent line.
Maximum amount of bars back that the last double top/bottom peak was seen.
*Plot Double Tops?
*Plot Double Bottoms?
*Plot Buy/Sell Confirmed Signals for Doubles?
*Plot Buy/Sell Temporary Signals for Doubles?
*Delete Previous Cancelled Double Tops/Bottoms?
Among other visual options.
In this version the "select Timeframe" feature was included, which allows the user to see higher timeframe patterns while being still in lower timeframes. In the following example you can see the double top / bottom patterns and zones from the Weekly chart while being in the 4hour charts of SPY.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 jorgelg93에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Contact me to get access: jorgelg93@gmail.com
경고: 액세스를 요청하기 앞서 초대 전용 스크립트에 대한 가이드를 읽어주세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 jorgelg93에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Contact me to get access: jorgelg93@gmail.com
경고: 액세스를 요청하기 앞서 초대 전용 스크립트에 대한 가이드를 읽어주세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.