MasterTrader1949X

TradeTale Scalper

This script explains how "Supertrend" along with ALMA & Simple Moving Average can be used to catch "HH-HL-LH-LL" with linear regression Candles.

Simple Moving Average (MA):-
A simple moving average (SMA) is used in technical analysis, used to help smooth out price data by creating a constantly updated average price. A rising moving average indicates that the security is in an uptrend, while a declining moving average indicates a downtrend.

Supertrend :-
A Super Trend is a trend following indicator similar to moving averages. It is comprise of just two parameters - period and multiplier. Average True Range (ATR) plays a key role in ‘Supertrend’ as the indicator uses ATR to compute its value and it signals the degree of price volatility.

Supertrend Calculations:-
Up = (high + low / 2 + multiplier x ATR
Down = (high + low) / 2 – multiplier x ATR
Calc of Average True Range = / 14
14 is period.
ATR is derived by multiplying the previous ATR with 13.
Add the latest TR and divide it by period.
ATR is important in supertrend.

ALMA:-
Arnaud Legoux Moving Average (ALMA) is a technical analysis indicator that calculates the average price of an asset over a specific period using Gaussian distribution function. It aims to provide a responsive and smooth moving average (MA) while reducing lag and noise.ALMA can be used for trend identification, trend reversal or dynamic support and resistance.

ALMA Calculations:-
ALMA = (Weighted Sum of Prices) / (Sum of Weight).
Weighted Sum of Prices:
- Each price within the selected period is multiplied by a specific weight.
- Weight is determined using a Gaussian function.
- Which assign higher weights to more recent prices and lower weights to older prices.
- That is why its more responsive to price changes
Sum of Weight:
- Add up all the weights using Gaussian function for each price within selected period.

Linear Regression Candles:-
open, high, low, and close values of Linear Regression Candles are adjusted as per Smoothed moving average. This adjustment not only highlights the trend more clearly but also colors the candles in green (for bullish) or red (for bearish) based on whether the close is above or below the open. The advantage of the Linear Regression Indicator over a normal moving average is that it has less lag than the moving average, responding quicker to changes in direction. The downside is that it is more prone to whipsaws.

HH-HL-LH-LL:-
Charts provide traders with a visual representation of the price action over a given period of time. To analyse these charts and make informed trading decisions, traders use various technical indicators, one of which is the concept of Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL). HH, HL, LH, and LL are terms used to describe the price action. They identify the direction of the trend and the potential reversal points. HH and HL are used to identify an uptrend, while LH and LL are used to identify a downtrend.

Logic of this indicator:-
HH & HL are used as Long signals when Supertrend is in Uptrend and is above ALMA & SMA. (also other calculations are used)
LL & LH are used as Short signals when Supertrend is in Downtrend and is below ALMA & SMA. (also other calculations are used)

How to Use:-
Long: when Long appears + Green Candles + price above White SMA Line. (Bullish Entry/ Bear Exit)
Short: when Short appears + Red Candles + price below White SMA Line. (Bearish Entry/ Bull Exit)

Chart Timeframe:-
This Indicator works on all timeframes.
Traders should set stop loss and take profit levels as per risk reward ratio.

Note:
- Hide the actual candles for better view from chart setting.
- you may select "Repaint" from indicator settings in which Long & Short signals will repaint as per the conditions/calculations or you may select "NonRepaint" from indicator settings in which the Long & Short signals will not be repainted.

Like other technical indicators, This indicator also is not a holy grail. It can only assist you in building a good strategy. You can only succeed with proper position sizing, risk management and following correct trading Psychology (No overtrade, No greed, No revenge trade etc).

THIS INDICATOR IS FOR EDUCATIONAL PURPOSE AND PAPER TRADING ONLY. YOU MAY PAPER TRADE TO GAIN CONFIDENCE AND BUILD FURTHER ON THESE. PLEASE CONSULT YOUR FINANCIAL ADVISOR BEFORE INVESTING. WE ARE NOT SEBI REGISTERED.

Hope you all like it
happy learning.

סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?