Multitimeframe
TA Monks - EntriesEntry tool for users who depend on setting entry, stop and profit target based on a candle from the M1, M5 or M15 chart. Created following the Photon FX entry models, this tool allows for automatic lot size calculation and it's easy to set up per forex pair/gold.
All the user must do is set their account balance, risk percentage, target reward, asset pair and the rest is automatically set on the charts with the tool.
Tips:
- Activate a level that once hit, set stop loss at a particular level, default is at the break even
- Set entry type as either STOP or LIMIT
a) On Stop, the tool will activate the trade once price goes above the entry line (formed by the candle size + entry buffer set per pair)
b) On Limit, the same activation level as in STOP is required for the tool to activate the trade but it allows the user to enter Limit at a lower level based on the percentage of the entry candle (default is 0.5, which means 50%). In this mode, The user waits for the liquidity candle to be gained and the enter at a lower price of the range within such candle, increasing the R with the risk of missing the trade.
- On the right bottom corner, you will have certain key informations about the trade, such as time opened, time closed, MFE (maximum forward excursion - how many pips price went in favor of the trade), MAE (maximum adversary excursion - how many pips price went past the selected candle's size without buffer), LC (Liquidity candle size), XBf (extra Buffer - only appears when activated in the menu)
- Extra Buffer setting allow user to add extra buffer for the entry and extra buffer for the Stop Loss that has been set per asset pair. Note that the entry buffer only works with the STOP entry mode and if you want to change the entry level on LIMIT, you must use the limit entry percentage setting.
- If you trade an asset pair that is not supported by the tool, simply copy the code and ask an LLM to update it with the necessary pair. You dont need to know how to code, just let the AI do the hard work for you (preferably, you know the basics and you can ask the AI to read the script and update just the right snippets).
Feel free to adjust and adapt the code to your needs. Let me know if you made any cool changes that I might benefit from as well.
London & NY Sessions | TradeAcyLondon & NY Sessions | TradeAcy
Visualize key market sessions with this simple overlay indicator! Marks London Open (3:00 EST, blue), London Close (11:00 EST, yellow), NY Open (9:30 EST, green), and NY Close (16:15 EST, red) with vertical boxes and labels. Customize session times and trading days (default: Monday–Friday) via settings. Perfect for traders tracking major market hours.
RSI CON PUNTOS DE COMPRA/VENTA (MIO)Rsi con puntos de posibles compras/ventas, creado para posibles entradas
London & NY Sessions | TradeAcyLondon & NY Sessions | TradeAcy
Visualize key market sessions with this simple overlay indicator! Marks London Open (3:00 EST, blue), London Close (11:00 EST, yellow), NY Open (9:30 EST, green), and NY Close (16:15 EST, red) with vertical boxes and labels. Customize session times and trading days (default: Monday–Friday) via settings. Perfect for traders tracking major market hours.
Sunday Open & Intraday Rectangles (Customizable Colors)sunday open...london open candlle and 13:00 open candlee
Dynamic 1-Hour EMAThis indicator places a dynamic 1h EMA on the chart. It doesn't matter what timeframe you choose to display, the EMA will always be 1h. This allows for granular comparison across timeframes. Depending on your strategy this is useful for trend/range determination, or scalp entries and exits.
Triple HMA Multi-TimeFrameThis indicator plots three separate Hull Moving Averages (HMAs), each with its own period, timeframe, color, and line width. By using PineScript’s request.security function, it retrieves data from different timeframes and calculates the HMA on each of them, so you can see multiple trends at once without having to switch charts.
How it works:
1) You can set a distinct period and timeframe for each of the three HMAs. For example, you might choose a fast HMA (Period 50) on the current chart timeframe, a medium HMA (Period 100) on a higher timeframe (such as 30 minutes), and a slow HMA (Period 200) on an even higher timeframe (like H4).
2) Each HMA can be customized by color and line width, making it easier to distinguish the different timeframes at a glance.
3) The script uses barmerge.gaps_on to replicate values in between higher timeframe bars, giving a continuous look on lower timeframe charts.
Key inputs:
- HMA 1 Period and Timeframe: Allows you to choose the period (like 50) and timeframe (for instance, leave blank to use the current chart’s timeframe).
- HMA 2 Period and Timeframe: For a second HMA, you might set 100 on the “30” minute timeframe.
- HMA 3 Period and Timeframe: Often configured for a longer timeframe like 240 minutes (H4) or any other resolution you prefer.
- Colors and line widths are freely adjustable for each HMA, so you can create a clear visual separation among them.
This setup gives you a multi-timeframe perspective in one chart, allowing you to monitor short-, medium-, and long-term trends simultaneously.
Custom Previous High/Low + Breakout AlertsThis indicator plots the previous high and low of the selected timeframe and alerts you when the price breaks either level.
To prevent spam, it triggers only once per period. If both the high and low break within the same period, you will receive an alert for each, but no duplicates if price hovers around these levels.
How to Set Up Alerts
1. Choose Your Timeframe
- In the indicator settings, select the timeframe for the high/low reference.
- Example: If you select 1 hour, the indicator will plot the previous 1-hour high and low and alert you when either level is broken
2. Create an Alert
- Condition → High/Low Break Alerts
- Function → Any alert() function call
Optional:
- If you want alerts only for high breakouts or low breakouts, select High Breakout or Low Breakout and use "Once Per Bar" as the trigger. (It will still alert only once per period.)
3. Setting Alerts for Multiple Timeframes
- If you want to create another alert for a different timeframe, first select the new timeframe in the indicator settings, then create a new alert
- Note: Previous alerts will continue to notify you based on the timeframe they were originally set for, even if you change the timeframe in the indicator settings.
Multiple Timeframe Moving AveragesThis indicator plots three user-defined moving averages (SMA, EMA, WMA, or VWMA), each pulled from a different timeframe.
Think of it as a 'smoothed' price line for the short-term, medium-term, and long-term, all overlaid on your current chart.
Default MA length is 200, but you can tweak it.
EMA20 50 100 200 timeframe adjustableEMA 20 50 100 200 with timeframe adjustable,easier to focus reaction when 1m price touched bigger timeframe,like 15m or 1H
Very Steep & Crossed Lin Reg_Published Ver.1.1このスクリプトについて/Summary of this Script
このスクリプトは、LinRegが急上昇をしている銘柄をTrading Viewのスクリーニングで発見するためのものです。LinRegが急上昇する過程で、下側の線並びに50MAなど他の指標との重なりのあるポイントでエントリーすることで、低リスクエントリーを可能にすることを狙っています。チャート上で使用するものではありません。
This script is for screening stocks that have "Very steep & crossed, triangle shaped LinReg" chart.
To find out stocks that have those shaped chart as much as possible, it helps our low risk entry strategy.
このスクリプトの目的/This Script's objective, condition & specification is as following
<目的>
TradingViewのリストにある銘柄の中から、線形回帰が急上昇して、交差している銘柄をスクリーニング結果に表出すること。
<条件>
-今日以降で線形回帰が交差するチャート
<仕様>
**Trading ViewのPine script ver5**
このスクリプトの使い方How to use this script for Trading View Pine Screening
日本語
1. チャートにPine Scriptを設定する
2. チャート上では非表示にする (スクリーナー用のため)
3. Pineスクリーナー用のリストを作成する(新規が良い)
4. Pine Screenerの画面(jp.tradingview.com/pine-screener/)で、「スクリーニングするリストの指定」 → 「使用するPineスクリーナーの選択」をする
5. Pine ScreenerのScreener Signalの設定をする (0.1以上など)
6. スキャンを実行する
7. 結果が出た銘柄を入れるための、リストを作成する(新規)
8. Trading Viewのスーパーチャートで、目視検証をする(前提は日足で、急上昇で三角に交差しているLinReg銘柄を探すこと)
English
How to use this script for Trading View Pine Screening
1. Set Pine Script on the chart
2. Hide it on the chart (for the screener)
3. Create a list for the Pine Screener (a new one is better)
4. On the Pine Screener screen (/pine-screener/), select "Specify list to screen" → "Select Pine Screener to use"
5. Set the Screener Signal for Pine Screener (0.1 or higher, etc.)
6. Run the scan
7. Create a list (new) to put stocks with results
8. Visually verify on Trading View's Super Chart (the premise is to look for LinReg stocks that are rising sharply and crossing a triangle on the daily chart)
注意事項/Notes : Not prediction, assumption based on past data of Linear Regression
Pine Script doesn't have capability to predict future chart shape.
So, this script is developed provides selecting similar chart pattern of "steep triangle shaped linear regression" based on using past data.
Definition is as followings.
*These description will be translated in English soon, but not yet as of 24th Feb, 2025.
🔎 交差の定義
「線形回帰の上側の線と下側の線が交差する」という状況は、以下のように定義できます:
過去のデータから 上側の線と下側の線の距離が縮まっている(収束している)
その傾向が続くと 近い将来に交差する可能性がある
📌 交差の可能性を定義するための要素
以下の3つの要素を組み合わせて、交差の可能性をスクリーニングできます。
① 上側の線と下側の線の差(スプレッド)が縮小している
pinescript
コピーする
編集する
spread_now = linreg_upper - linreg_lower
spread_prev = linreg_upper - linreg_lower
spread_shrinking = spread_now < spread_prev
spread_now … 現在の線形回帰バンドの幅
spread_prev … 1本前のローソク足の線形回帰バンドの幅
spread_shrinking … バンド幅が縮小している(交差しそう)
② 線形回帰の上側の線の傾きが下がり、下側の線の傾きが上がっている
pinescript
コピーする
編集する
slope_upper = linreg_upper - linreg_upper
slope_lower = linreg_lower - linreg_lower
converging = slope_upper < 0 and slope_lower > 0
slope_upper … 上側の線の傾き(負なら下降)
slope_lower … 下側の線の傾き(正なら上昇)
converging … 上側の線が下がり、下側の線が上がっている(交差に向かっている)
③ 交差までの推定日数が近い
pinescript
コピーする
編集する
estimated_days_to_cross = spread_now / (abs(slope_upper) + abs(slope_lower))
soon_to_cross = estimated_days_to_cross < 5
estimated_days_to_cross … 交差するまでの推定日数(幅 ÷ 傾きの変化量)
soon_to_cross … 5日以内に交差しそうなら true
✅ 交差の可能性をスクリーニング
pinescript
コピーする
編集する
screener_condition = spread_shrinking and converging and soon_to_cross
spread_shrinking … 線形回帰バンドの幅が縮小
converging … 上側の線が下降し、下側の線が上昇
soon_to_cross … 5日以内に交差しそう
📌 TradingView の Pine Script に組み込む
これらの要素を組み合わせて、TradingView のスクリーニング用 Pine Script に落とし込むと、以下のようになります。
pinescript
コピーする
編集する
//version=5
indicator("Linear Regression Convergence Screener", overlay=false)
// === 設定 ===
length = 100 // 線形回帰の計算期間
mult = 2.0 // 標準偏差の倍率
// === 線形回帰の計算 ===
linreg_mid = ta.linreg(close, length, 0) // 中心線
std_dev = ta.stdev(close, length) // 標準偏差
linreg_upper = linreg_mid + (std_dev * mult) // 上側の線
linreg_lower = linreg_mid - (std_dev * mult) // 下側の線
// === 交差の可能性の判定 ===
// ① 上側の線と下側の線の差が縮小
spread_now = linreg_upper - linreg_lower
spread_prev = linreg_upper - linreg_lower
spread_shrinking = spread_now < spread_prev
// ② 上側の線が下がり、下側の線が上がっている
slope_upper = linreg_upper - linreg_upper
slope_lower = linreg_lower - linreg_lower
converging = slope_upper < 0 and slope_lower > 0
// ③ 交差までの推定日数が5日以内
estimated_days_to_cross = spread_now / (abs(slope_upper) + abs(slope_lower))
soon_to_cross = estimated_days_to_cross < 5
// === スクリーニング条件 ===
screener_condition = spread_shrinking and converging and soon_to_cross
// === プロット(スクリーニング結果) ===
plot(screener_condition ? 1 : na, title="Screener Signal", style=plot.style_columns, color=color.green)
✅ スクリプトの動作
交差する可能性のある銘柄をスクリーニング
過去のデータをもとに「バンドが縮小」「上側が下降」「下側が上昇」「5日以内に交差しそう」な銘柄を選定
TradingViewのスクリーナーで Screener Signal が 1 の銘柄をチェック
🔎 まとめ
📌 交差の可能性を定義するには?
バンドの幅が縮小
上側の線が下降し、下側の線が上昇
交差までの推定日数を計算
📌 スクリプトで交差の可能性をスクリーニング
spread_shrinking → 線形回帰バンドの幅が縮小
converging → 上側の線が下がり、下側の線が上がっている
soon_to_cross → 交差までの推定日数が5日以内
📌 TradingViewのスクリーナーで使う
plot() を追加 してエラー回避
Screener Signal が 1 の銘柄をスクリーニング
Intrabar Volume Distribution [BigBeluga]Intrabar Volume Distribution is an advanced volume and order flow indicator that visualizes the buy and sell volume distribution within each candlestick.
🔔 Before Use:
Turn off the background color of your candles for clear visibility.
Overlay the indicator on the top layout to ensure accurate alignment with the price chart.
🔵 Key Features:
Inside Bar Volume Visualization:
Each candlestick is divided into two columns:
Left column displays the sell % volume amount.
Right column displays the buy % volume amount.
Provides a clear representation of buyer-seller activity within individual bars.
Percentage Volume Labels:
Labels above each bar show the percentage share of sell and buy volume relative to the total (100%).
Quickly assess market sentiment and volume imbalances.
Point of Control (POC) Levels:
Orange dashed lines mark the POC inside each bar, indicating the price level with the highest traded volume.
Helps identify key liquidity zones within individual candlesticks.
Multi-Timeframe Volume Analysis:
The indicator automatically uses a timeframe 20-30 times lower than the current one to gather detailed volume data.
For each higher timeframe candle, it collects 20-30 bars of lower timeframe data for precise volume mapping.
Each bar is divided into 100 volume bins to capture detailed volume distribution across the price range.
Bins are filled based on the aggregated volume from the lower timeframe data.
Lookback Period:
Allows traders to select how many bars to display with delta and volume information.
The beginning of the selected lookback period is marked with a gray line and label for quick reference.
Indicator displays up to 80 bars back
🔵 Usage:
Order Flow Analysis: Monitor buy/sell volume distribution to spot potential reversals or continuations.
Liquidity Identification: Use POC levels to locate areas of strong market interest and potential support/resistance.
Volume Imbalance Detection: Pay attention to percentage labels for quick recognition of buyer or seller dominance.
Scalping & Intraday Trading: Ideal for traders seeking real-time insight into order flow and volume behavior.
Historical Analysis: Adjust the lookback period to analyze past price action and volume activity.
Intrabar Volume Distribution is a powerful tool for traders aiming to gain deeper insight into market sentiment through detailed volume analysis, allowing for more informed trading decisions based on real-time order flow dynamics.
Market DNA: Structure, Volume, Range, and SessionsMarket DNA: Structure, Volume, Range, and Sessions**
The Market DNA indicator combines market structure, volume analysis, trading ranges, and global trading sessions into a single, comprehensive tool for traders. It helps identify key price levels, volume patterns, consolidation phases, and active market periods, enabling informed trading decisions.
Market Structure Detects swing highs and lows using `ta.pivothigh` and `ta.pivotlow`, plotting them as red/green triangles to highlight support/resistance and trend reversals.
- Fractal Volume Zones (FVG): Highlights areas of significant buying/selling pressure by comparing current volume to an average over a lookback period; high-volume zones are marked with a semi-transparent blue background.
- Trading Range: Defines a price channel using the Average True Range (ATR) and a multiplier, creating upper/lower bands to identify consolidation, breakouts, and potential trade levels.
- Market Sessions: Highlights major global trading sessions (Asia, Europe, US) with colored backgrounds (purple, teal, yellow) to indicate liquidity and volatility shifts.
How It Works
- Swing points help analyze trends and reversals.
- FVG confirms price movements with high volume for stronger signals.
- Trading range bands assist in identifying breakout opportunities and setting stops/take-profits.
- Session highlights allow traders to adapt strategies based on regional activity.
Customization
- Adjust `swing_length` for sensitivity in detecting turning points.
- Modify `volume_lookback` to control volume averaging.
- Tune `range_multiplier` for wider/narrower trading bands.
- Enable/disable session highlighting via `session_highlight`.
Use Cases
- Identify trends and key levels using swing points and FVG.
- Spot breakout opportunities with trading range bands.
- Adapt strategies to regional trading sessions for optimal timing.
This all-in-one indicator provides a clear, customizable view of the market, empowering traders to make data-driven decisions across asset classes and timeframes.
CountdownsDisplays a table of countdowns of the current bar on different time frames.
It shows how much time is left until candle close if we were to change the chart to that time frame, but without the need to do so.
An adaptation of 'Countdown Candle RRS' by reza9300 (), including up to 10 customizable time frames, plus some additional table styling options.
Usage:
Add the indicator to your chart to see a table of countdown timers.
Adjust the settings to customize the appearance and to check / uncheck which time frames to include.
Notes:
Updates are based on price changes, so counters may appear 'frozen' or 'lagging' when there is no real time tick update in price.
Weekly, Daily, 4H, 1H, 15M & Monthly High/LowThis Indicator is useful to identify High lows in different timeframes.
OHLC OLHC - Monthly, Weekly, Daily and HourlyThis indicator plots the previous day's (or any selected timeframe’s) Open, High, Low, and Close (OHLC) levels on the current chart. It helps traders analyze historical price levels to identify support and resistance zones.
Key Features:
Multi-Timeframe Support:
Users can select a timeframe (D, W, M, etc.) to fetch previous OHLC data.
The script requests OHLC values from the selected timeframe and overlays them on the current chart.
Customizable Display Options:
Users can choose to display only the last OHLC levels instead of all past session levels.
Users can extend the OHLC lines across the chart.
Background Highlighting:
The script fills the background only for the Previous Open and Previous Close levels, making them visually distinct.
Previous High and Low levels do not have background color.
This script is particularly useful for day traders and swing traders who rely on key price levels to make trading decisions. Let me know if you need further refinements!
Follow Line Indicator// Follow The Line
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © DeeKay677
// Originalay found at usethinkscript.com
// Originally authors: Converted to ToS from TV by bigboss. Original © Dreadblitz
// DISCLAIMER:
// This script is for informational and educational purposes only. It should not be considered financial advice, trading advice, or an endorsement of any particular trading strategy.
// Trading involves significant risk, and past performance is not indicative of future results.
// The author of this script assumes no responsibility for any trading losses or financial decisions made using this script.
// Users should conduct their own research, consult a professional financial advisor, and use proper risk management before making any investment decisions.
// By using this script, you acknowledge and agree that the author is not liable for any damages, losses, or consequences resulting from its use.