Dynamic RSIThe standard setting of RSI is 14 periods, with the 30 line being oversold and the 70 line being overbought.
However, it is not effective to use only that number as an entry.
In the long time frame, it shows the momentum of bullish/bearish pressure and does not reverse immediately.
In the short time frame, the reversal appear frequently and it is difficult to make a decision.
This script calculates the zone based on the recent RSI fluctuation.
You will fix your entry direction whether the center line is above or below the RSI(50).
A return to the zone is a sign of entry, which eliminates hesitation.
It may be able to be used even in parallel range or against trend.
The basic idea is based on the following script;
Komut dosyalarını "entry" için ara
Divergence RSI-OBVDivergence detector on RSI of On Balance Volume. Using a modified script from XaviZ(RSI-VWAP) but instead of VWAP as a source in this script source is OBV, for divergence detector is a script from Libertus. In this version, results are filtered using STOCH oversold or overbought filter from matt_b script MFI Divergence v2.
An indicator for entry in choppy markets, signals for entry in trending market to follow the trend work well. A good way to spot if there is a weakness in a trend but gives too many false positives for spot reversal, so only good for scalping with tight stops if betting against the trend. Multiple divergences in combination with indicator hitting the overbought or oversold should give good places for entry.
GAURs Polynomial Regression ChannelsThanks to The Sweet Lord , here is the Gaur's Polynomial Regression Channel.
Its a Polynomial Regression Channel but applied a little differently. Wont go into technical details much. Overview of options is as follows-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Channel Options
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1. Degree of Polynomial: 1/2/3
Default = 3
Defines the degree of polynomials - 1,2,3. Note here, degree 1 will not be a straight line since its applied differently.
Try different degrees for different fits and market conditions.
2. Channel Length:
Default 30 (candles)
You can go beyond 100 or 200 candle lengths but smaller is the usual preference of Poly-Reg-channel traders. It all depends on market conditions and your style of trading. Do your research. I am usually comfortable with a range of 20-50 (in crypto markets).
3. Basis of Channel height/boundries: ATR/Manual
Default: ATR
ATR provides a dynamically adjusted entry/exit bounds of the channels. As ATR changes, the channel bounds also changes its height. It can also be fixed manually. Manual heights wont change automatically.
4. Basis of Y-Value: open/close/ sma / ema / wma /hilow
Default: close
Y- value is the y value of the (x,y) coordinates used while calculating the regression coefficients. Dont worry about it, its nothing serious.
5. Apply channel smoothning using sma?: Yes/No
Default: Yes
Without smoothning, the channel does not "look" good.
6. Shaded Area Height Percentage:
Its the extra margin for the channel. Its in percentage of the total height (defined 3 above) of channels. The shaded area provides an extra allowance for your entries or exits beyond the ATR or manual heights.
7. Plot RSI?: Yes/No
Default: Yes
Plots RSI (orange line in between the channel - its different from the dotted center line) considering the downbound of channels as 0 (oversold) and upbound of channels as 100 (overbought)
8. Plot 200 sma?: Yes/No
Default: Yes
It plots a 200 period fast (green) and 225 period slow (red) sma . I usually use two MAs. Its visually very easy to understand.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sample Strategy
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
You can develop your own strategy with the channels. But following is just one of the ways you can trade.
Best Application: Ranging markets. But can be happily used in volatile conditions, with a little experience.
1. SMA: -- (this condition is optional really)
If green (200) is above red (225) go only long. If red is above green go only short. Defines long term trend of the market.
2. Channel slope: -- (this stuff needs practice/experience)
Depending on the channel slope, like if its tending to go up or down, you can choose to take only short or long trades. It defines short term momentum of the market.
3. ATR based heights:
Since its ATR based, the channel height are our natural entry and exit points.
Long:
When price touches lower shaded area, consider possible long entry. Exit on price entering the upper shaded area.
Short:
Enter on upper bound shaded area, exit on lower.
4. RSI:
For additional conformations. Again note, the RSI considers the lower bound of channel as 0 and upper as 100. But since, the channel moves up and down, the RSI will also move not only as RSI but also with the channel. Meaning, say if the RSI is valued at 50, then it will be near the center of the channel but since the center changes as time and price changes, the RSI valued at 50 at different times will not be at the same horizontal level respect to the graph, although it will be at the same level (center) respect to the channel.
5. PRC Channel Percentage label:
This label is at the lower side a bit ahead of the current candle. Provides you info on what is the channel percentage. This is especially helpful in crypto markets to gauge your possible percentage profit where profits can be much higher than forex or other instruments. It can also helps you select a suitable market/instrument if the channels are based on ATR.
6. Extra indicators:
I usually use stochastic along with this setup for extra conformations.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Donate
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use freely and donate generously if you find value. Your help will really help.
I had earlier provided BTC addresses for donations but it seems to violate TV House rules.
Hope they make TV coins redeemable in future.
- Pranav Joshi
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Extra Info
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// © cpranavjoshi
// special thanks to the "Trading View" people for providing this great platform for free
// ------------------------
// MATH
// ------------------------
// special thanks to an article on the web that provided layman friendly explanation of the maths
// unfortunately i wont be able to provide the link to that article owing to TV restrictions, though i sincerely would have liked to credit the author.
// Google search this phrase, and you should be able to get it in one of the first results - "polynomialregression Mathematics of Polynomial Regression"
// my regression math calculation is a further resolution upon the generalized matrix formula given in the that article.
// the generalized matrix looks scary but in fact its much simpler than one may assume
// the summation sign things are just float numbers that can be easily found out
// so we get a matrix with number of equations equal to the number of unknowns.
// e.g. if its a 3rd degree poly, it has 4 unknowns (c0,c1,c2,c3) with 4 equations as in the generalized matrix
// it can be resolved by simple algebra
// Note: the results have been verified with excel using same input data points.
// pine was difficult for me so i coded it in python first to verify
// ------------------------
// WHY
// ------------------------
// this script was coded because Pranav badly needed Polynomial channels (had used them in mt4 earlier)
// and at the time of this coding, i could not find any readily available script in the trading view public library ( tnx public)
// the complex math was probably the hurdle
// i m not good in maths, but by the Will of the Lord, i could resolve the issue with simple algebra and logic
// ------------------------
// PINE
// ------------------------
// i am just an average (even poor probably) programmer and pine script is not my language
// this is a humble attempt to write my first pine with whatever i could do quickly
// experts - feel free to develop if needed. have used some workarounds in drawings/plottings. rectify them if possible
//
//
// - Pranav Joshi
Ichimoku Cloud LONG and SHORT indicatorsThis simple script uses 4 rules from Ichimoku Cloud indicator to marks position entry points.
The idea is that by entering a long position just when these 4 criteria are met, you can capture a 2-3% plus move within the next few days:
1. The conversion line is above the base line
2. The price is above the clouds
3. The lagging span is above the clouds
4. The rightmost cloud is green
The same 4 criteria but inverted will indicate a short entry.
In order to avoid 'stale' entries which can lead to chasing, we want the price and conversion line crossovers to be recent, within the past few days. Ideally we want to enter before close on the day the entry signal is given so that we can capture any potential gap up (or down if short). Often the price will make a nice move the next day or day after. If any of the criteria become invalidated, or if after 4-5 days there hasn't been significant movement, then it was a false alarm.
This script will show the basic Ichimoku Cloud indicators, plus labels for bearish and bullish price and conversion line crossovers as well as LONG and SHOT indicators to show when the entry criteria have been met.
Percent Calculator OverlayFirst and foremost: I'm inspired to publish my scripts by the other member's who publish quality, detailed scripts -a token of my appreciation and support, Thank You.
The percent calculator overlay is an extension of my Percent Calculator indicator that allows one to visualize the percent metrics they're interested in trading: it''s function is to simply output the target price from either the close or ones trade-entry based on a desired percent return on investment (R.O.I.) then plots it on top of the chart as an area plot and notes anytime in the past the desired conditions were met with a {flag "Success"}.
Say you want to profit 15% from your entry: open the settings and plug in your entry value and the number 15 into the appropriate settings and the indicator displays what the target price should be (rounded to two decimal places) right on the chart with the area as well as the horizontal line which is enabled by the "track price" setting.
The percent calculator overlay also goes one step further by finding the average percent return on investment over a desired interval of time (the default is 20 candles) as well as allows one to adjust the size of the price move the average percent return on investment is being calculated for which is displayed on the chart as circles and also displays a horizontal line for the most current value with the enabled "track price" setting.
NOTE: unlike the Percent Calculator the Percent Calculator Overlay creates a visual record of the number of success' the programmed parameters have achieved (based on the closing prices) which self adjusts when the "size of the move" is changed.
Say you want to find the average percent return on investment for a 3 candle swing over a 200 candle interval of time: open the settings and plug the number 200 into the interval setting and the number 3 into the price-move setting and the indicator displays what the average 3 candle swing returns on investment and plots what the target price would be to achieve the average return given the current close (or entry price) with the gray circles and the horizontal line enabled with the "track price" setting.
Practical Application: comparing ones desired return on investment to the average return on investment can help determine how realistic ones goals are... it's unlikely to achieve 100% return on investment if the average is only around 10% (given the parameters one is working within) but on the other hand achieving 5% return on investment is highly likely. By visualizing roughly how often the given parameters have achieved success on the chart one can become a lot more comfortable, confident, and accurate with their goals.
Forward Looking Statement: I believe in the not too distant future plug and play automated trading systems will be made available to the general public. Over the past 4 years we have seen brokers offer free charting software, commission free trading, and now fractional shares; I don't think it will be much longer before we can simply click a few buttons and tell the computer to enter when the stochastic is overbought/sold and exit with a predefined percent gain (and to repeat that process indefinitely). -Imagine the data moving 2-3-4 times a second, the liquidity flowing like Niagara falls, and 95% of the working population not only starting to invest but gains the extra cash flow they desperately need.
Beta testing: please comment or send me a message if you happen to stumble over any bugs or have any suggestions for improvement.
Percent Calculator (Return On Investment Target Price)First and foremost: I was inspired to publish my first script after reading some of the other member's scripts -a token of my appreciation and support, Thank You.
The percent calculator is a very simple and basic indicator to use, it''s function is to simply output the target price from either the close or ones trade-entry based on a desired percent return on investment (R.O.I.).
Say you want to profit 15% from your entry: simply plug in your entry value and the number 15 into the appropriate settings and the indicator displays what the target price should be (rounded to two decimal places).
The percent calculator also goes one step further by finding the average percent return on investment over a desired interval of time (the default is 20 candles) as well as allows one to adjust the size of the price move the average percent return on investment is being calculated for.
Say you want to find the average percent return on investment for a 3 candle swing over a 200 candle interval of time: simply plug the number 200 into the interval setting and the number 3 into the price-move setting and the indicator displays what the average 3 candle swing returns on investment.
Practical Application: comparing ones desired return on investment to the average return on investment can help determine how realistic ones goals are... it's unlikely to achieve 100% return on investment if the average is only around 10% (given the parameters one is working within) but on the other hand achieving 5% return on investment is highly likely.
Short in Bollinger Band Down trend (Weekly and Daily) // © PlanTradePlanMM
// 6/14/2020
// ---------------------------------------------------
// Name: Short in Bollinger Band Down trend (Weekly and Daily)
// ---------------------------------------------------
// Key Points in this study:
// 1. Short in BB Lower band, probability of price going down is more than 50%
// 2. Short at the top 1/4 of Lower band (EMA - Lower line), Stop is EMA, tartget is Lower line; it matches risk:/reward=1:3 naturally
//
// Draw Lines:
// BB Lower : is the Target (Black line)
// BB EMA : is the initial Stop (Black line)
// ShortLine : EMA - 1/4 of (Stop-target), which matches risk:/reward=1:3
// Prepare Zone : between EMA and ShortLine
// shortPrice : Blue dot line only showing when has Short position, Which shows entry price.
// StopPrice : Black dot line only showing when has Short position, Which shows updated stop price.
//
// Add SMA50 to filter the trend. Price <= SMA, allow to short
//
// What (Condition): in BB down trend band
// When (Price action): Price cross below ShortLine;
// How (Trading Plan): Short at ShortLine;
// Initial Stop is EMA;
// Initial Target is BB Lower Line;
// FollowUp: if price moves down first, and EMA is below Short Price. Move stop to EMA, At least "make even" in this trade;
// if Price touched Short Line again and goes down, new EMA will be the updated stop
//
// Exit: 1. Initial stop -- "Stop" when down first, Close above stop
// 2. Target reached -- "TR" when down quickly, Target reached
// 3. make even -- "ME" when small down and up, Exit at Entry Price
// 4. Small Winner -- "SM" when EMA below Entry price, Exit when Close above EMA
//
// --------------
// Because there are too many flags in up trend study already, I created this down trend script separately.
// Uptrend study is good for SPY, QQQ, and strong stocks.
// Downtrend Study is good for weak ETF, stock, and (-2x, -3x) ETFs, such as FAZ, UVXY, USO, XOP, AAL, CCL
// -----------------------------------------------------------------------------------------------------------------
// Back test Weekly and daily chart for SPY, QQQ, XOP, AAL, BA, MMM, FAZ, UVXY
// The best sample is FAZ Weekly chart.
// When SPY and QQQ are good in long term up trend, these (-2x, -3x) ETFs are always going down in long term.
// Some of them are not allowed to short. I used option Put/Put spread for the short entry.
//
SSL Crossover + MA choiceThis indicator builds on the SSL channel code by ErwinBeckers @
I have added options for diff MA's to be used in the SSL channel and crossover indicators for buy/sell signals
default MA is set to Arnaud Legaux, but you can set it to whatever you like - original was a Simple Moving Average by ErwinBeckers
The indicator will not repaint as the signals are drawn after close of crossover candles
Let me know if you have any suggestions - happy to add more functionality
QQE signalsConverted the QQE oscillator to in-chart long and short signals with built in alerts. This is multi-timeframe and quite robust.
Mirror MACD by Trader JayThis is my take on the metatrader indicator, the mirror macd. Works pretty good on Forex, haven't tested on anything else
Enter long after the Blue Line Cross Up the Red Line and EXIT after the Green line Cross Up the Red Line (above the Blue Line).
For the opposite position : ENTER SELL after the Red Line Cross Down.
Generalized SSL by Vts// Generalized SSL:
// This is the very first time the SSL indicator, whose acronym I ignore, is on Tradingview.
// It is based on moving averages of the highs and lows.
// Similar channel indicators can be found, whereas
// this one implements the persistency inside the channel, which is rather tricky.
// The green line is the base line which decides entries and exits, possibly with trailing stops.
// With respect to the original version, here one can play with different moving averages.
// The default settings are (10,SMA)
//
// Vitelot/Yanez/Vts March 2019
Waddah Attar Explosion and WaveTrend Oscillator combinedWaddah Attar Explosion by LazyBear and WaveTrend Oscillator by Krypt.
All credits goes to LazyBear and Krypt, i have only done some combining with the two indicators, barcolors and BG colors to clarify entrys and exits.
Combine with CM_Williams Vix_Fix, Super Guppy R1.0 by JustUncleL and you have a powerful tool.
Barcolors to look for
Aggressive Buy 1 = Lime
Agressive Buy 2 = Aqua
Buy = Green
Sell 1 = Orange
Sell 2 = Red
This is my first try, so be nice to me :-)
market phases - JDThis indicator shows the relation of price against different period ma's.
When put in daily Timeframe it gives the 1400 Day (= 200 Weekly) and the 200 ,100 an 50 Daily.
The lines show the 200,100 and 50 ma in relation to the 1400 ma.
JD.
#NotTradingAdvice #DYOR
NG [Wave Period Oscillator]The WPO is a short-term oscillator that measures the buying and selling period of price cycles over a certain time interval.
The leading oscillator indicates a rise in buying period when it moves above the zero line and a rise in selling period when it moves below the zero line.
Trading Tactics
Center line Crossover: a bullish center line crossover occurs when the WPO line moves above the zero level to turn positive.
A bearish center line crossover occurs when the WPO line moves below the zero level to turn negative.
When bulls are in control, the price rally begins and the average of the bull’s period T increases to drive the WPO line above the center line.
A buy signal is subsequently triggered.
When the bulls start to loose power, prices move sideways and the average period decreases. In this case, the WPO line may fl utter near the center line and cause false signals, whipsaws.
To avoid the whipsaws occurring on the center line, the following trading tactics are proposed:
Uptrend Tactic:
During an ideal uptrend, the WPO does not reach the lower boundary -2 and usually rebounds from a higher level than -2.
This means that the bulls have taken control earlier. Hence, a zero line crossover generates a buy signal. The WPO crosses the upper boundary at +2 then pulls back again below +2 to generate a sell signal.
Sideways Tactic:
During sideways, the WPO fluctuates between the lower and upper boundaries -2 and 2. This tactic is also used in an uptrend where corrections are strong enough to drive the WPO line below the lower boundary.
Downtrend Tactic:
During downtrends, the WPO fails to reach the upper boundary and oscillates between the 0 and -2 levels. The bears enter early indicating an obvious weakness in the market. Therefore, crossing the zero level generates a sell signal.
Exit at Weakness:
During uptrend reversals and downtrends, the WPO oscillates between the center line and the lower boundary -2. The bears are controlling the market and move in wide cycle periods while the bull’s strength is almost absent.
An exit signal is triggered once the WPO crosses -2. When prices decline, the WPO may cross its extreme lower boundary at -2.7. Therefore, a swift exit signal is triggered once the WPO crosses -2.
Re-Entry:
During uptrend, the WPO crosses down the upper boundary level at +2 to generate a sell signal. Yet, it does not reach the zero line and the oscillator moves back toward the upper boundary.
This case is considered as strength while a re-entry signal occurs at the +2 level crossover. The sell signal is generated when the WPO line crosses down the upper boundary.
EurUsd Momentum Heiken AshiEURUSD Monthly and Weekly indicator that measures the slope between open and close.
***Works best on Heiken Ashi-as it smooths out the lines.
-In essence, it is the same thing as Heiken Ashi but gives a better visual for entry beside "the candle is red so I should sell"
-Method For Entry:
**Look for a Higher Low to --->buy at indicator >=0
**Look for Lower High to ----->sell at indicator <=0
**Look at Heiken Ashi candle with support and resistance zones
**Draw trend-lines such as channels, pennants, etc..
Daily ATR%If You are using a percentage of the Daily Average True Range in determining your stop placement,
this quick indicator is for You.
excerpt from investopedia.com/articles/trading/06/stopplacement.asp
ATR % Stop Method
The ATR% stop method can be used by any type of trader because the width of the stop is determined by the percentage of average true range (ATR). ATR is a measure of volatility over a specified period of time. The most common length is 14, which is also a common length for oscillators such as the relative strength index (RSI) and stochastics. A higher ATR indicates a more volatile market, while a lower ATR indicates a less volatile market. By using a certain percentage of ATR, you ensure that your stop is dynamic and changes appropriately with market conditions.
For example, for the first four months of 2006, the GBP/USD average daily range was around 110 to 140 pips. A day trader may want to use a 10% ATR stop - meaning that the stop is placed 10% x ATR pips from the entry price.In this instance, the stop would be anywhere from 11 to 14 pips from your entry price. A swing trader might use 50% or 100% of ATR as a stop. In May and June of 2006, daily ATR was anywhere from 150 to 180 pips. As such, the day trader with the 10% stop would have stops from entry of 15 to 18 pips while the swing trader with 50% stops would have stops of 75 to 90 pips from entry.
[RS]Linear Regression Bands V1experiment with linear regression, the purpose was to catch break outs early, but it creates to much visual noise
same as version 0 but with added margin filter and signal to mark entrys
Hassi XAUUSD STRATEGY BOTGold (XAUUSD) 15m trend+momentum based signals with EMA(9/21/200), RSI, custom ADX, ATR-based SL/TP & alerts
Works on XAUUSD 15m.
Entry: EMA9/21 cross + price relative to EMA200 + RSI filter + custom ADX trend strength.
Risk: default SL=1.5×ATR, TP=2×ATR (editable).
Notes: No financial advice. Backtest before live use. Avoid high-impact news whipsaws.
Contrarian Investor📌 Indicator Overview
Name:Contrarian investor
Purpose: Identify oversold or overbought conditions for simple reversal trades.
Key Features:
Uses the 200-period moving average (200MA) to determine the market trend.
Uses RSI to detect oversold and overbought levels.
Includes a signal interval filter to prevent excessive signals.
📌 Signal Conditions
BUY (Reversal Buy)
Price is below the 200MA
RSI is below the oversold threshold (default: 30)
When both conditions are met, a "BUY" label is plotted below the bar.
SELL (Reversal Sell)
Price is above the 200MA
RSI is above the overbought threshold (default: 70)
When both conditions are met, a "SELL" label is plotted above the bar.
📌 Parameters
MA Length: Default 200 (used for trend detection)
RSI Length: Default 14
RSI Oversold: Default 30 (trigger for BUY signals)
RSI Overbought: Default 70 (trigger for SELL signals)
Signal Interval (bars): Default 10 (prevents duplicate signals)
📌 How to Use
Use the 200MA to confirm the trend direction.
Wait for RSI to reach extreme levels (oversold or overbought).
When a "BUY" or "SELL" label appears, consider a potential entry.
For better accuracy, combine with support/resistance or price action confirmation.
📌 Notes
This indicator is designed as a supplementary tool, not a standalone entry system.
Adjust the signal interval based on your trading style (e.g., shorter for scalping, longer for swing trading).
In strong trending markets, reversal signals may fail frequently, so additional confluence is recommended.
You need to adjust the settings depending on the market conditions.
This indicator is not intended for use during strong trending markets, such as after major economic news releases.
It is best suited for range-bound markets and scalping within a few-dollar price range.
📌 インジケーターの概要
名前:Contrarian investor
目的:過剰に売られた/買われたタイミングでの逆張りシグナルを簡単に確認
特徴:
200MAを基準にトレンド方向を判定
RSIで売られすぎ・買われすぎを検出
過剰なシグナルを防ぐための「シグナル間隔制限」付き
📌 シグナルの条件
BUY(逆張り買い)
現在の価格が 200MAより下
RSIが 設定値(初期値30)以下
この条件で「BUY」ラベルがチャート下に表示されます。
SELL(逆張り売り)
現在の価格が 200MAより上
RSIが 設定値(初期値70)以上
この条件で「SELL」ラベルがチャート上に表示されます。
📌 パラメータ設定
MA期間:デフォルト200(200MAで長期トレンドを判定)
RSI期間:デフォルト14
RSI売られすぎ:デフォルト30(BUYの発生条件)
RSI買われすぎ:デフォルト70(SELLの発生条件)
シグナル間隔(バー):デフォルト10(重複シグナル防止)
📌 使い方
200MAでトレンド方向を確認
RSIが極端な水準に達したら逆張りシグナル発生
「BUY」または「SELL」のラベルが出たら検討
他のテクニカル(サポレジ・プライスアクション)と組み合わせると精度向上
📌 注意点
単独でのエントリー判断には使わず、補助的に活用するのが推奨
シグナル間隔は調整可能(例:スキャルピングなら短め、スイングなら長め)
トレンドが強い相場では逆張りシグナルが連続して外れる可能性あり
相場環境によって設定を変える必要がある
指標発表後など強いトレンドが出る時ではなくレンジ相場で数ドル幅のスキャルピングをするのに向いている。
Key Session LevelsKey Session Levels - Indicator Guide
Created by: MecarderoAurum
Why This Indicator Exists: An Overview
The "Key Session Levels" indicator is a comprehensive tool for day traders that automatically plots the most critical price levels from the current premarket and the previous two full trading days. These levels are watched by countless traders and often act as significant areas of support and resistance.
This indicator provides a clear, objective map of these key zones, helping traders anticipate potential turning points, identify areas of confluence, and make more informed trading decisions without having to manually draw and manage these lines every day.
Features & How to Use Them
This indicator plots several types of important historical levels on your chart. Each one is fully customizable.
1. Premarket Levels (PMH / PML)
What they are: The highest (PMH) and lowest (PML) prices reached during the current day's premarket session (04:00 - 09:30 ET).
Why they matter: The premarket high and low are the first significant levels established for the trading day. They often act as initial support or resistance once the market opens.
How to use them: In the settings under "Premarket Levels," you can toggle the visibility of the PMH and PML, and customize their color, line style, and width.
2. Prior Day Levels (PDH / PDL / PDM / PDP)
What they are: The key price points from the previous full trading day.
PDH: Prior Day High
PDL: Prior Day Low
PDM: Prior Day Midpoint (the exact middle of the PDH and PDL)
PDP: Prior Day Pivot (a classic pivot point calculation)
Why they matter: These are often the most important levels for the current trading day. The market frequently tests the previous day's high and low.
How to use them: Under the "Prior Day" settings, you can enable or disable each of these four levels and customize their appearance.
3. 2-Day Prior Levels (PDH2 / PDL2 / etc.)
What they are: The same set of key levels (High, Low, Mid, Pivot) from two trading days ago.
Why they matter: These levels can still be highly relevant, especially if the market is trading within a multi-day range or returning to test a significant prior level.
How to use them: Under the "2-Day Prior" settings, you can customize the visibility and style of these levels. They are styled with more transparency by default to distinguish them from the more recent prior day's levels.
4. General Settings
Days of History: This setting allows you to control how many past days of historical lines are kept on your chart. This is excellent for back-testing strategies and seeing how price has reacted to these levels in the past.
Label Settings: You can customize the color and size of the on-chart labels (e.g., "PDH," "PML") for better visibility.
Sample Strategy: The Key Level Rejection
This strategy focuses on using the indicator's levels to identify potential reversals at key areas of support or resistance.
Identify a Key Level: Watch as the price approaches a significant level plotted by the indicator, such as the Prior Day High (PDH) or the Premarket Low (PML).
Look for Rejection: Do not trade simply because the price touches the level. Wait for a price action signal that confirms the level is holding. This could be a bearish engulfing candle or a shooting star pattern at a resistance level like PDH, or a bullish hammer or morning star pattern at a support level like PML.
Entry: Once you see a clear rejection candle, enter a trade in the direction of the rejection. For a bearish rejection at the PDH, you would enter a short position.
Stop-Loss: A logical place for a stop-loss is just above the high of the rejection candle (for a short trade) or just below the low of the rejection candle (for a long trade). This defines your risk clearly.
Profit Target: Your first profit target could be the next key level plotted by the indicator. For example, if you shorted a rejection at the PDH, your first target might be the Premarket High (PMH) or the day's opening price.
Zone Shift [ChartPrime]⯁ OVERVIEW
Zone Shift is a dynamic trend detection tool that uses EMA/HMA-based bands to determine trend shifts and plot key reaction levels. It highlights trend direction through colored candles and marks important retests with visual cues to help traders stay aligned with momentum.
⯁ KEY FEATURES
Dynamic EMA-HMA Band:
Creates a three-line channel using the average of an EMA and HMA for the midline, and expands it using average candle range to form upper and lower bounds. This band visually adapts to market volatility.
float ema = ta.ema(close, length)
float hma = ta.hma(close, length-40)
float dist = ta.sma(high-low, 200)
float mid = math.avg(ema, hma)
float top = mid + dist
float bot = mid - dist
Trend Detection (Band Cross Logic):
Detects an uptrend when the Low crosses above the top band.
Detects a downtrend when the High crosses below the bottom band.
Bars change color to lime for uptrends and blue for downtrends.
Trend Initiation Level:
At the start of a new trend, the indicator locks in the extreme point (low for uptrend, high for downtrend) and plots a dashed horizontal level, serving as a potential retest zone.
Trend Retest Signal:
If price crosses back over the Trend Initiation level in the direction of the trend, a diamond label (⯁) is plotted at the retest point — confirming that price is revisiting a key shift level.
Visual Band Layout:
Midline: Dashed line shows the average of EMA and HMA.
Top/Bottom: Solid lines showing dynamic thresholds above/below the midline.
These help visualize compression, expansion, and possible breakout zones.
Color-Based Candle Plotting:
Candles are recolored in real time according to the current trend, allowing instant visual alignment with the market’s directional bias.
Noise-Filtered Retests:
To avoid repetitive signals, retests are only marked if they occur more than 5 bars after the previous one — filtering out minor fluctuations.
⯁ USAGE
Use colored candles to align trades with the dominant trend.
Treat dashed trendStart levels as important support/resistance zones.
Watch for ⯁ diamond labels as confirmation of retests for continuation or entry.
Use band boundaries to assess trend strength and volatility expansion.
Combine with your existing setups to validate momentum and zone shifts.
⯁ CONCLUSION
Zone Shift helps traders visually capture trend changes and key reaction points with precision. By combining band breakouts with real-time retest signals and trend-colored candles, this tool simplifies the process of reading market structure shifts and identifying high-confluence entry areas.
Momentum Candle V2 by Sekolah Trading📌 Momentum Candle V2 by Sekolah Trading – Pair-Based Volatility & Wick Ratio Filter
This script provides a structured and adaptive approach to detecting high-probability momentum candles in intraday markets. It dynamically adjusts pip thresholds and wick filtering conditions based on the selected symbol and timeframe, making it highly practical for real-time trading.
🔍 Concept and Originality
Momentum Candle V2 by Sekolah Trading implements a custom-built methodology combining:
Dynamic Pip Calibration
For each supported instrument (e.g., XAUUSD, USDJPY, GBPUSD, AUDUSD, EURUSD, BTCUSD), the user can define a pip threshold that determines the minimum valid body size for momentum candles. These thresholds are tailored for each pair and timeframe (M5, M15, H1), ensuring the logic adjusts to different volatility profiles.
Wick-to-Body Ratio Filtering
The script filters out candles with large wicks by requiring that total wick length (upper + lower) be no more than 30% of the full candle range. This helps identify decisive candles with minimal rejection.
Directional Validation
Bullish momentum is defined as: Close > Open with a shorter upper wick.
Bearish momentum is: Close < Open with a shorter lower wick.
Real-Time Timing Filter
Alerts are only triggered when the current candle is between 20 and 90 seconds from closing, which reduces noise and encourages confirmation-based entry.
Non-Repainting Logic
All calculations run in real-time with confirmed candles only — no lookahead or future leak.
📊 Visual Output – How to Read the Chart
When the conditions above are met, the script displays triangle markers on the chart:
🔺 Red downward triangle above the candle: valid bearish momentum signal
🔻 Blue upward triangle below the candle: valid bullish momentum signal
These shapes appear on live bars during the final moments of the candle to alert traders to potential confirmed momentum.
🔔 Alert Conditions
Two alert types are provided:
Momentum Bullish: Large bullish candle with small upper wick, during last 20–90s of bar
Momentum Bearish: Large bearish candle with small lower wick, same timing window
Alerts are designed for precision entries at candle close.
🧭 How to Use
Apply the script to a 5m, 15m, or 1h chart.
Configure pip thresholds for your preferred pairs from the input settings.
Watch for triangle markers near the close of each candle:
Blue = potential bullish momentum
Red = potential bearish momentum
Set alerts:
Go to Alerts → Select Momentum Bullish or Momentum Bearish
Frequency: Once Per Bar
Customize message: e.g. “Momentum Bullish on XAUUSD M15”
Combine signals with:
EMA, S/R, or trend filters
Volume/Order Flow
Liquidity zone or breakout context
🛡️ Why This Script Is Closed-Source
This script uses proprietary logic developed by Sekolah Trading, including:
Custom pip calibration engine
Adaptive wick filtering
Real-time entry validation with triangle plots
While the code is protected, the methodology has been explained transparently here in accordance with TradingView publishing rules.
⚠️ Disclaimer
This script is provided for educational and technical analysis purposes only.
It does not guarantee results or provide financial advice. Always verify trades with your own strategy and risk controls.
Author: Sekolah Trading
Version: Momentum Candle V2
Built with Pine Script v6
PCA Regime-Adjusted MomentumSummary
The PCA Regime-Adjusted Momentum (PCA-RAM) is an advanced market analysis tool designed to provide nuanced insights into market momentum and structural stability. It moves beyond traditional indicators by using Principal Component Analysis (PCA) to deconstruct market data into its most essential patterns.
The indicator provides two key pieces of information:
A smoothed momentum signal based on the market's dominant underlying trend.
A dynamic regime filter that gauges the stability and clarity of the market's structure, advising you when to trust or fade the momentum signals.
This allows traders to not only identify potential shifts in momentum but also to understand the context and confidence behind those signals.
Core Concepts & Methodology
The strength of this indicator lies in its sound, data-driven methodology.
1. Principal Component Analysis (PCA)
At its core, the indicator analyzes a rolling window (default 50 periods) of standardized market data (Open, High, Low, Close, and Volume). PCA is a powerful statistical technique that distills this complex, 5-dimensional data into its fundamental, uncorrelated components of variance. We focus on the First Principal Component (PC1), which represents the single most dominant pattern or "theme" driving the market's behavior in the lookback window.
2. The Momentum Signal
Instead of just looking at price, we project the current market data onto this dominant underlying pattern (PC1). This gives us a raw "projection score" that measures how strongly the current bar aligns with the historically dominant market structure. This raw score is then smoothed using two an exponential moving averages (a fast and a slow line) to create a clear, actionable momentum signal, similar in concept to a MACD.
3. The Dynamic Regime Filter
This is arguably the indicator's most powerful feature. It answers the question: "How clear is the current market picture?"
It calculates the Market Concentration Ratio, which is the percentage of total market variance explained by PC1 alone.
A high ratio indicates that the market is moving in a simple, one-dimensional way (e.g., a clear, strong trend).
A low ratio indicates the market is complex, multi-dimensional, and choppy, with no single dominant theme.
Crucially, this filter is dynamic. It compares the current concentration ratio to its own recent average, allowing it to adapt to any asset or timeframe. It automatically learns what "normal" and "choppy" look like for the specific chart you are viewing.
How to Interpret the Indicator
The indicator is displayed in a separate pane with two key visual elements:
The Momentum Lines (White & Gold)
White Line: The "Fast Line," representing the current momentum.
Gold Line: The "Slow Line," acting as the trend confirmation.
Bullish Signal: A crossover of the White Line above the Gold Line suggests a shift to positive momentum.
Bearish Signal: A crossover of the White Line below the Gold Line suggests a shift to negative momentum.
The Regime Filter (Purple & Dark Red Background)
This is your confidence gauge.
Navy Blue Background (High Concentration): The market structure is stable, simple, and trending. Momentum signals are more reliable and should be given higher priority.
Dark Red Background (Low Concentration): The market structure is complex, choppy, or directionless. Momentum signals are unreliable and prone to failure or "whipsaws." This is a signal to be cautious, tighten stops, or potentially stay out of the market.
Potential Trading Strategies
This tool is versatile and can be used in several ways:
1. Primary Signal Strategy
Condition: Wait for the background to turn Purple, confirming a stable, high-confidence regime.
Entry: Take the next crossover signal from the momentum lines (White over Gold for long, White under Gold for short).
Exit/Filter: Consider exiting positions or ignoring new signals when the background turns Navy.
2. As a Confirmation or Filter for Your Existing Strategy
Do you have a trend-following system? Only enable its long and short signals when the PCA-RAM background is Purple.
Do you have a range-trading or mean-reversion system? It might be most effective when the PCA-RAM background is Navy, indicating a lack of a clear trend.
3. Advanced Divergence Analysis
Look for classic divergences between price and the momentum lines. For example, if the price is making a new high, but the Gold Line is making a lower high, it may indicate underlying weakness in the trend, even on a Purple background. This divergence signal is more powerful because it shows that the new price high is not being confirmed by the market's dominant underlying pattern.