the_daily_trader

The One Trader Toolkit - Open Access

the_daily_trader Zaktualizowano   
This script is the open version of my existing invite-only script of the same name and has been opened for access to the community to use, but not modify or clone in any way.
This has been done as the invite-only script cannot be changed back to a public script and vice-versa, keeping in line with Tradingview House Rules.
The code is based on a full strategy that has been explained in detail as follows:

// Step 1:
// We will consider the 200ema a standard to assess the average price over the longer term.
// If the current price on the daily chart is seen above the 200ema, we will consider that the stock is in a long term uptrend.
// If the current price on the daily chart is seen below the 200ema, we will consider that the stock is in a long term downtrend.
// In order to assess the long term trend, a band is plotted between the CLOSE (Average price), HIGH (Average High Price), LOW (Average Low Price) of the last 200 days.
// This band has been color coded for easy visual recognition. Green fill between ema close and ema high. Red fill between ema close and ema low.
// The methodology explains that the trader should have a long bias when the price is above the green part of the band and a short bias while price is below the red part of the band.


// Step 2:
// Now we come to a lower timeframe analysis with the 200ema moving average on the hourly timeframe.
// This is marked by a very distinct solid blue line which cannot be missed.
// If the price is still above this moving average and correlates with the higher timeframe trend in step 1, then we will continue our analysis.
// Otherwise, the stock is not ready to be filtered down and we will move to another stock.

// Step 3:
// On the same hourly timeframe, we will continue further analysing the position of a red 50ema line as compared to the same blue 200ema line or a separetely plotted gray 200ema line.
// If the 50ema is above the blue or the gray 200ema line (and in correlation with trend in steps 1-3), then the stock is believed to be bullish.
// If the 50ema is below the blue or the gray 200ema line (and in correlation with trend in steps 1-3), then the stock is believed to be bearish.

// Step 4:
// After multiple confirmation of a continuing trend, we will try to ascertain a good entry point.
// On the one hour timeframe, we will apply the Phase Changer.
// Phase Changer configuration is derived from a common setup which includes the 8ema and 20ema lines.
// I have implemented it in the Indian stock market setup with an added theory that we ignore the Phase Changer position on any timeframe higher than hourly timeframe.
// So the Phase Changer is not only an indication of the continuing trend, but also a great indicator of what the price is trying to achieve through its interaction with the lines.
// If 8ema is above the 20ema on the hourly chart, then the stock is believed to be bullish.
// If 8ema is below the 20ema on the hourly chart, then the stock is believed to be bearish.
// The same will be done on 15 minutes timeframe.
// In either setup, if there is a pullback and price is touching any of the two ema lines and eventually gets rejected towards the continuing trend, then it is an indication of a good entry at the failure of the pullback.

// Step 5:
// After confirmation through Daily, Hourly and 15 minutes timeframes, we will now come to the execution (5 Minute) timeframe.
// Apply the breakfast range. This is the range formed during the first hour of trading.
// The high of the first hour and the low of the first hour form the breakfast breakout.
// This method is also widely known as Open Range Breakout (ORB).
// The breakfast range is commonly used for stock indices only on a Monday morning, we use it for all days of the week and mostly on stocks.
// If the breakout is consistent with the trend that we have been confirming since step 1, we will enter the trade.


// Step 6:
// An additional daily range has been plotted for those who would like to trade the breakout of the daily range.
// This is the sum of the open price of the day the range of the previous day.
// The green line is used as resistance and the red line is used as support.
// Any breakout of those lines will be considered a strong continuation of the trend, mostly until the end of the trading session.


// Miscellaneous
// The first hour of the trading day is marked yellow with a black solid bar marked at the end of the first hour.
// All trades will be taken only after 10:20am.

// Stoploss Settings
// We will be calculating stoploss with the help of the ATR values.
// I have defined two stop loss levels, one for safe traders and the other for aggressive traders.
// Safe traders will select the safe option in a long trade or short trade respectively and mark the stoploss indicated at the time of taking the breakout entry.
// Aggressive traders on the other hand will select the aggressive stop loss option in long or short trades respectively and mark the stoploss indicated at the time of taking the breakout entry.
Informacje o Wersji:
Next update scheduled for April 2022.
Informacje o Wersji:
Major Update :

- Added a 2 hour range to indicate an initial balance for a potential Double Distribution Day
- Updated certain comments for better identification of code
- Added background for the brunch range
- Modified background color for the ranges and no trade time parameters to be consistent with the range
- Deleted the vertical lines that marked a limit of the no trade duration
Informacje o Wersji:
Modified a comment
Informacje o Wersji:
Major Update :

- The Daily Range has been updated with a new calculation and a new reference called the Gravity Zone.
- The idea of the gravity zone is that the central leading price ranges are plotted for the day in order set the bias of the trend for the day and price relationship to the market value.
- Price will either tend to gravitate towards the gravity zone or move away from it. Additional candlestick pattern analysis is required in order to use the gravity zone efficiently.
- Static leading support and resistance points have been added in order to give our intraday traders the ability to set their targets as per pivot levels so they do not miss the opportunity to either exit on time or look for continuation signals against these levels.
- This strategy is an overall trend following + breakout method. Please use the levels in conjunction with higher time-frame trend following parameters.

Skrypt chroniony
Ten skrypt został opublikowany z zamkniętym kodem źródłowym i możesz z niego dowolnie korzystać. Możesz go dodać do ulubionych, żeby używać go na wykresie. Nie możesz przeglądać ani modyfikować jego kodu źródłowego.
Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?