Price Action Channel Master by JustUncleL

This indicator combines a number of PAC types into one indicator and will replace some of my previously PAC scripts (some were not published).
It draws a Moving Average (MA) channel based on various boundary criteria. Even though the MA choices are not limited to SMA and EMA , these would be the your first choices with most PAC requirements, feel free to experiment though.
Optional Bar colouring around that channel.

Options Available:

(1) Select between 11 different types of moving averages for the base (centre) MA line choices are :

(2) Select Channel Boundary Criteria:
  • HILO = Channel boundaries based on High and Low MAs (default).
  • ATR = Channel boundaries are Multiplier * ATR distance from base line
  • PIP = Channel boundaries are Multiplier * PIPs distance from base line
  • STDEV = Channel boundaries are Multiplier * StdDev(price) distance from base line (this is the same as Bollinger bands if SMA is the base MA)
  • KC = Channel boundaries are Multiplier * StdDev(True Range) distance from base line (this is the same as Keltner channel if SMA is the base MA)

(3) Option to display coloured Candles around the Ribbon, the colouring uses the Default candle 3-tone colour scheme:
  • Lime = candle closed above Ribbon.
  • Red = candle closed below Ribbon.
  • Gray = Candle Closed inside Ribbon.
The Grab candles 6-tone colour scheme:
  • Lime = Bull candle closed above Ribbon.
  • Green = Bear candle closed above Ribbon.
  • Red = Bull candle closed below Ribbon.
  • DarkRed = Bear candle closed below Ribbon.
  • Aqua = Bull candle closed inside Ribbon.
  • Blue = Bear candle closed inside Ribbon.
Jul 21
릴리즈 노트: Corrected Error for KC lower boundary, thanks to sal157011
Corrected Date of script released.
Jul 21
릴리즈 노트: By request, optional second channel added.
Dec 11
릴리즈 노트: ... Minor improvements.
  • Updated inputs to use selectable options.
  • Added implied GPL copyright notice.
  • Added SWMA and Laguerre types to moving average options.
즐겨찾기 스크립트에서 빼기 즐겨찾기 스크립트에 넣기
The coolest thing about JustuncleL indicators is the versatility. You can test so many ideas off of one code. It's awesome!! <3
Great job and thank you for the free code.
I found an error on line 192:
Lwr = type=="ATR"? atrLower(C,M,L) : type=="STDEV"? stdLower(C,M,L) : type=="PIP"? pipLower(C,M,L) : type=="KC"? kcUpper(C,M,L) : hiloLower(C,M,L)
instead of kcUpper(C,M,L) should be kcLower(C,M,L).

Now, could you made some modifications in order to plot two of any of those channels on the same indicator. That would be superb, as I'm not a pro and can only have three indicators on the chart.
Thank you.
JustUncleL sal157011
@sal157011, Thank you for finding that error, I shall make an update to correct. it.
+1 응답
gatarayihajp JustUncleL
Thanks a lot. Your indicator is so useful. You're a good man.
JustUncleL sal157011
@sal157011, I will look into adding an optional second channel specification within the same script, so that two channels can be displayed by the same script.
sal157011 JustUncleL
@JustUncleL, Thank you. Here is the squeeze:
JustUncleL sal157011
@sal157011, Your welcome, thank you for the idea. The two channels makes the script more versatile.
Where C, M, and L on the PAC channel boundaries are coming from, or what those variables stand for? Thanks.
JustUncleL syracusepro
@syracusepro, They come from the function call at line 201, they stand for Centre (or base MA), Multiplier and Length.
syracusepro JustUncleL
@JustUncleL, Thanks a lot.
홈으로 스탁 스크리너 포렉스 스크리너 크립토 스크리너 이코노믹 캘린더 사용안내 차트 특징 프라이싱 하우스룰(내부규정) 모더레이터 웹사이트 & 브로커 솔루션 위젯 차팅 솔루션 라이트웨이트 차팅 라이브러리 헬프 센터 프렌드 리퍼하기 기능 개발/개선 요청 블로그 & 뉴스 잦은물음 위키 트위터
프로화일 프로화일설정 계정 및 빌링 프렌드 리퍼하기 나의 서포트 티켓 헬프 센터 공개아이디어 팔로어 팔로잉 비밀메시지 채팅 로그아웃