Multiple MAs + No Trend Zone + ATR Widget

xAverageJoex Pro+ 업데이트됨   
This is my first Pine Script attempt. Nothing special, just an "all in one" for the most common things I use, and what I have found to be the most common in a lot of strategies.

Great for free and limited accounts as it combines 7 total indicators into one.

-- First 5 indicators are Independant Moving Averages:
-Each one can be set for length, as well as source and type ( SMA , EMA , SMMA , WMA , VWMA ) individually

-- Second type (6th) of indicator is one I find extremly useful for staying OUT of consolidation trading. It's called a "No Trend Zone" indicator I swipped from the Hoffman Startegy. Basically, its set for a small deviation (0.5) of a 35 EMA , which creates a "Band" around the 35 line. When you have this "Band" flat or with no discernable incline/decline, with price action OR some or multiple moving averages inside this banded zone, it typically indicates a zone of consolidation. This will help you identify when you may be in one of those zones, that way you don't get trapped "waiting for paint to dry" before the market starts to move again with your position, and keep you from entering should you be considering the market at that time.

The last indicator is my favorite, and one I will refine a little deeper soon.

-- The ATR widget finishes us out. This widget can be customized for colors, turned on or off, and automatically rounds the ATR (ATR period based on the chart timeframe) to a nice readable number for what you're trading. It has settings to show or not, the length, what rounding style to use (forex pip 0.0001, forex/stock/ etf /indicies 0. 01 ) where to show it on the pane, a Multiplier Factor (for stop loss calculations automatically) and the colors.


I am primarily a forex trader, so the defaults are for Forex 0.0001. If you see some odd numbers (like 55798 on a current chart), check the inputs tab on the settings, and change the "ATR Style" from "Forex 0.0001" to "Forex/Stock/ ETF /Indicies 0.01", and you should arrive with the correct number.
릴리즈 노트: Added multipliers for Stop loss and Take Profit Calculations for a quick ATR number to use for setting calculations into the widget, with options to turn on or off the SL & TP numbers.
릴리즈 노트: Added fixes to the code so it would display properly on mobile
Added more customizations for layout and size to make it as flexible as possible for your pane layout
릴리즈 노트: **** Major Overhaul/Update! ****

The Department of Redundancy Department was a little mad I was copying their proprietary style, so I had to fix that lol :)

*Refined & optimized the original code -- Eliminated multiple switch cases with a single function call.

*Reduced the code size with variables for long strings

*Added 7 more Moving averages

*Updated the ATR widget display to show the actual multiplier used and not just a number

*Added the "Hoffman Inventory Retracement" candle recognition with the script from @UCSGEARS

*Added "*All Candlestick Patterns*" source code to help with spotting candle patterns directly on the chart

*Renamed the "No Trend Zone" to "Trend/No-Trend Channel" - It is still used the same way as described above, but on occassion with a steady trend, price will tend to use this zone as a Channel and bounce around within it as it climbs or falls, like a "Dynamic" channel at times. Still the same with a Flat channel, this means the market is probably ranging.

*Rearranged the settings tab to be a little cleaner and more organized. Moved The "Trend/No-Trend Channel" to the bottom so it would be in the right order on the "Styles" tab.

- Set up with 8 moving averages on, the last 4 are off.
- Defaults with Engulfing, Hammer, & Inverted Hammer Candles "On"
- Hoffman Inventory Racement Candles "On" by default
- 8 initial Moving Averages set in the fashion of the Hoffman overlay, with 4 extra (IDK you could need more? But its there...) by default.

Any ideas for more to add, or improvements, drop a comment and I'll see what I can do ;) Hopefully this helps you reduce the number of "Indicators" listed by tradeview so you can use others on a light account.

Happy Trading/Scalping
릴리즈 노트: Typos \_0_/ & Rename + Script credits
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.


이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?