OPEN-SOURCE SCRIPT

Ultimate Indicator

Actualizado
This is a combination of all the price chart indicators I frequently switch between. It contains my day time highlighter (for day trading), multi-timeframe long-term trend indicator for current commodity in the bottom right, customizable trend EMA which also has multi-timeframe drawing capabilities, VWAP, customizable indicators with separate settings from the trend indicator including: EMA, HL2 over time, Donchian Channels, Keltner Channels, Bollinger Bands, and Super Trend. The settings for these are right below the trend settings and can have their length and multiplier adjusted. All of those also have multi-timeframe capabilities separate from the trend multi-time settings.

The Day Trade Highlight option will draw faint yellow between 9:15-9:25, red between 9:25-9:45, yellow between 9:45-10:05. There will be one white background at 9:30am to show the opening of the market. while the market is open there will be a very faint blue background. For the end of the day there will be yellow between 15:45-15:50, red between 15:50-16:00, and yellow between 16:00-16:05. During the night hours, there is no coloring. The purpose of this highlight is to show the opening / closing times of the market and the hot times for large moves.

The indicators can also be colored in the following ways:
1. Simple = Makes all colors for the indicator Gray
2. Trend = Will use the Donchian Channels to get the short-trend direction and by default will color the short-term direction as Blue or Red. Unless using Super Trend, the Donchian Channel is used to find short-term trend direction.
3. Trend Adv = Will use the Donchian Channels to get the short-trend direction and by default will color the short-term direction as Blue or Red. Unless using Super Trend, the Donchian Channel is used to find short-term trend direction. If there is a short-term up-trend during a long-term down-trend, the Blue will become Navy. If short-term down-trend during long-term up-trend, the Red will be Brown.
4. Squeeze = Compares the Bollinger Bands width to the Keltner Channels width and will color based on relative squeeze of the market: Teal = no squeeze. Yellow = little squeeze. Red = decent squeeze. White = huge squeeze. if you do not understand this one, try drawing the Bollinger Bands while using the Squeeze color option and it should become more apparent how this works. I also recommend leaving the length and multiplier to the default 20 and 2 if using this setting and only changing the timeframe to get longer/shorter lengths as I've seen that changing the length or multiplier can more or less make it not work at all.

Along with the indicator settings are options to draw lines/labels/fills for the indicator. I enjoy having only fills for a cleaner look.
The Labels option will show Buy/Sell signals when the short-term trend flips to agree with the long-term trend.
The Trend Bars option will do the same as the Labels option but instead will color the bars white when a Buy/Sell option is given.
The Range Bars option shows will color a bar white when the Close of a candle is outside of a respective ranging indicator option (Bollinger or Keltner).

The Trend Bars will draw white candles no matter which indicator selection you make (even "Off"). However, Range Bars will only draw white when either Bollinger or Keltner are selected.



The Donchian Channels and Super Trend are trending indicators and should be used during trending markets. I like to use the MACD in conjunction with these indicators for possibly earlier entries.
The Bollinger Bands and Keltner Channel are ranging indicators and should be used during ranging markets. I like to use the RSI in conjunction with these indicators and will use 60/40 for overbought and oversold areas rather than 70/30. During a range, I wait for an overbought or oversold indication and will buy/sell when it crosses back into the middle area and close my position when it touches the opposite band.
I have a MACD/RSI combination indicator if you'd like that as well :D


As always, trade at your own risk. This is not some secret indicator that will 100% win. As always, the trades you see in the picture use a 1:1.5 or 1:2 risk to reward ratio, for today (August 8, 2022) it won 5/6 times with one trade still open at the end of the day. Manage your account correctly and you'll win in the long term. Hit me up with any questions or suggestions. Happy Trading!
Notas de prensa
Wanted to include that today's trades were from 5:30am to end of day close.
- Also Updated the Name and max_labels_count
Notas de prensa
Minor Changes:
- Day Trade Highlight only works on charts 15m or below. Find it mostly is just noise on the screen at higher timeframes.
- Took the word "length" out of "Indicator length" in the settings.
- Rearranged the colors under the "Assign Colors" portion of the SuperTrend section of code
- Added a note to the transparency setting under the "Assign Colors" portion of the SuperTrend section of code
- I noticed that the colors for the Super Trend were backwards (red was for uptrend, blue was for downtrend), they have been fixed to correctly show red for downtrend and blue for uptrend.
Notas de prensa
Lots of updates:
- Can change time to consider Day Light Savings
- Added VWAP indicator which is separate from the VWAP trend line and utilizes the "Mult" option for standard deviation bands.
- Changed some bar colors when signals are produced
- Added Super Trend alert options per request.
Notas de prensa
Quality of life improvements:
- Added a "night time" to the day trading highlight -> Night time will show as darker on the chart than the day
- Added a "Cloud" indicator that will draw a cloud between the Trend EMA and the Indicator EMA
- Indicator EMA / HL2 / Cloud will now draw properly even if the "Draw Lines / Fill" boxes are not checked.
Notas de prensa
Added a tooltip for standard deviation
Notas de prensa
Few changes just to make things a bit more intuitive.
- Added Day Light Savings checkbox to the Highlight Day Trading option
- Rearranged the Indicator options so the first few are the trending indicators and the last few are the ranging indicators
Notas de prensa
Quick update, didn't add much just changed some default settings, changed the names of a few variables, and edited the screener to have a gray zone which would indicate it is near the respected time zone's 200 EMA. It will still show a green "Up" or red "Down" if above or below the 200 EMA. Now it shows gray when near the 200 EMA to indicate that maybe price is moving sideways in that timeframe or price is unsure if it will continue in a certain direction.
bandsBands and ChannelsbollingersbanddonchianchannelExponential Moving Average (EMA)EMASkeltnerchannelrangesignalssupertrendtrendVolume Weighted Average Price (VWAP)

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad