TradingView
Bjorgum
31 de Jul. de 2021 21:05

Bjorgum MTF MA 

Bitcoin / U.S. dollarBitstamp

Descripción

Scope:
  • Up to 3 MA's can be applied at the users discretion
  • Choose between 10 different average types including favorites from the Bjorgum series from HEMA to Reversal T3's
  • Each MA can be independently set
  • Go Multi-timeframe! Any MA can be set to any timeframe of reference you choose (ex. using 3 different timeframes of higher resolution to your chart reference to establish a multi-time frame trend)
  • RSI HEATMAP. Use the bar color or the MA color selection toggle to set your color to reference RSI on a gradient. This helps to establish clear visual reference to momentum on top of trend analysis
  • Assigning RSI bar color to an MA of a higher time frame can allow you to see visual reference of momentum of the greater trend that may be at play.
  • Example: trying to get short on a 15min while your 1hr and 4hr RSI Heatmap burns deep in oversold.
  • RSI color can be assigned to the bar color, the MA (1,2 or 3), or both. Alternatively, bar color can be assigned to a more simple rising/ falling MA color and price above/ below the MA for bar color.
  • ALL MTF FUNCTIONS ARE NON_REPAINTING.


The Idea

The original inspiration behind the script came from an observation of a constant struggle of Pinecoders of both youth or experience to find accurate multi-timeframe indicators that do not repaint, and appear as should on historical bars, while performing reliably in real time. I encourage you to scroll the Pinecoders FAQ on a recent piece explaining the difficulties and caveats of different approaches, but I would like to reference the elimination of the historical bar offset for THIS purpose. MA's are based on closing prices, that is to say they are confirmed and will not change once the bar has closed. There is no need to offset these for historical reference. The purpose of the historical offset is best exemplified, for example, with an intraday strategy involving daily breakouts. Let's entertain going long on a break to a new daily high. We would not know that in real time so we need to reference the previous bars close for BACKTESTING purposes, otherwise we get "lookahead bias". There is no shortage of strategies unintentionally employing this bias out there (I'm sure you have come across them with their unrealistic results).

There is no worry of repainting with the MTF security function included within this script, nor will it offset for something involving lookahead bias. I encourage those that are playing with the code or perhaps writing strategies of their own to borrow the functions within. There is also a function that will return the 10 MA variable selection - yours to keep.

With all that in mind, I wanted a practical script that is easily deployable in everyday trading for the average trader that gives the user a firm grip on their trading steering wheel equipped with the feel of the road. Incorporating several MA's of differing times with the RSI heatmap gives a good visual reference and feel to your trading environment, while offering a level of customization that will fit an individuals personal trading style. The RSI heatmap gradient is per percentage between 30 and 70 and your 2 colors - anything outside of those levels gives you the vibrant bias color

Below I walk through 2 examples of live trades scenarios I made using the mindset the script offers.

The Trade

LONG IZEA

Timeframe: 4hr chart
- 3 Tilson MA's of varying length are deployed at varying intraday time frames
- A bullish pattern in an uptrend offers a possible trade allowing entry from a low risk point from the pattern low
- See the chart for notes and observations using the script
- Notice how the heatmap brightens up as price extends far away from the averages - your risk has elevated for a new position
- Notice the heatmap cool off while price action consolidates sideways



The Trade

SHORT BTCUSDT

Timeframe: 4hr chart
- 3 EMAs are employed - same length (50), with 3 successive timeframe resolutions
- A downtrend is formed with a sharp move to stack the EMAs into layers
- A pull back opportunity presents itself in bearish consolidation
- Notice a Doji star at resistance establishing a swing high as RSI cools off into the EMA dynamic resistance for entry
- An '"equal legs" measured move can be used for a trade target with a stop out above the swing high.
- Again, take note of distance from EMA's, the heatmap in combination with trend development surrounding the MA's



These were just two ideas to show you an example of how to implement some strategy into your trading and to get some interesting use from the indicator. Hope you enjoyed the read and happy trading.

Notas de prensa

Updated the security function bar state offset swapping barstate.isconfirmed with barstate.isrealtime and changing the position of 0 and 1. Although the change should seem unnoticeable, this aligns with the manual and Pinecoders best practice.

Notas de prensa

This aligns with the PineCoders preferred method outlined here:

https://www.tradingview.com/script/00jFIl5w-security-revisited-PineCoders/

Sorry for the double re-publish :)
Comentarios
EpicM
This is really nice but i cannot make the same as your chart i mean i want to copy what your settings is. how? thank you
naufalape
@thrilledCamel77436, you can change on indicator setting, and change bar color to RSI 1
Azeezibnsana
@EpicM, youtube.com/watch?v=SHY5Kzh5ePw
please use above link to make settings as shown in the figure
Jackdaw12
i can't get the trend lines to curve like you have them in the main example on BTC, what were your settings for the 1D chart?
josuegad
hola como utilizo este indicador, o done puedo descargarlo
Bjorgum
@josuegad, haga clic en agregar a favoritos debajo de la descripción y luego estará en su pestaña favorita en su vista de gráfico
joheun
Many people have asked how to set the colors to match Bjorgum's examples. I made a short video, then posted two comments with a link to it on YouTube. I can't see the comments and am guessing they have been moderated/deleted. In this video I literally only show how to change colors on the chart and indicator. I do not talk about trading at all. I can tell no moderator watched the video, because it still only has 1 view from when I watched it after uploading.

If you need help setting the colors, search for "BJ MTF MA RSI Color Display Settings" on YT to find the short (3:03 total duration) tutorial by JohnHenry.
joheun
Your detailed examples helped me understand the point in using MA lines for intra-day. Also, the heatmap colors matched up to my lower indicators better than every other MA/MF I've found! Thanks Bjorgum!
Bjorgum
@joheun, Awesome!! Looks great my friend and glad its doin' it for you! Pro tip though : try turning your border colors off, and turn your wicks to a neutral color like grey - cleans it up a bit. Cheers!
Más