Ton1REMA-ATR-Spread Indicator: Multi-Factor Price Analysis Tool
Originated by : Ton Liberator
This indicator calculates values using the formula:
EMA - (ATR × ATRMultiplier) - (Spread × SpreadMultiplier)
A versatile tool that combines Exponential Moving Average (EMA), Average True Range (ATR) volatility, and stock price spreads based on price ranges.
All components are fully customizable:
Adjust the EMA by selecting length and timeframe
Customize ATR with selectable length, timeframe, smoothing method (RMA, SMA, EMA, WMA), and multiplier
Spread is automatically calculated according to Thai stock market rules based on current price
Spread multiplier can be adjusted to fine-tune sensitivity
-------------------------
EMA-ATR-Spread Indicator: เครื่องมือวิเคราะห์ราคาแบบหลายปัจจัย
โดย : Ton Liberator
Indicator นี้คำนวณค่าโดยใช้สูตร:
EMA - (ATR × ATRMultiplier) - (Spread × SpreadMultiplier)
เป็นเครื่องมือที่ผสมผสานระหว่างค่าเฉลี่ยเคลื่อนที่แบบถ่วงน้ำหนัก (EMA) ค่าความผันผวนของราคา (ATR) และค่าสเปรดของหุ้นตามช่วงราคา
โดยทั้งหมดนี้สามารถปรับแต่งได้ตามต้องการ:
ปรับค่า EMA โดยเลือกความยาวและ timeframe ได้ตามต้องการ
ปรับค่า ATR โดยเลือกความยาว, timeframe, วิธีการ smoothing (RMA, SMA, EMA, WMA) และค่าตัวคูณ
ค่าสเปรดคำนวณอัตโนมัติตามหลักการของตลาดหลักทรัพย์ไทย โดยขึ้นอยู่กับราคาปัจจุบันของหุ้น
สามารถปรับค่าตัวคูณของสเปรดได้ตามต้องการ
Indicatori e strategie
Broad Market MOEX### **Broad Market for Russia**
The **Broad Market for Russia** indicator provides a comparative analysis of the price deviation of major Russian stocks relative to their average closing price over a customizable lookback period. This tool helps traders identify market trends and detect relative strength or weakness among different assets.
### **How It Works:**
- The indicator calculates the **percentage deviation** of each stock’s current price from its **simple moving average (SMA)** over the defined **lookback period (in hours).**
- The **default lookback period is 24 hours**, but it can be adjusted based on the trader’s needs.
- It tracks major Russian assets, including **Gazprom, Sberbank, Lukoil, Rosneft, Norilsk Nickel, Yandex, and others**, alongside the currently selected instrument.
- Each stock’s deviation is plotted on a separate panel, allowing for quick visual comparison.
- **Positive deviation** indicates that the price is trading above its average, signaling potential **bullish momentum**.
- **Negative deviation** suggests the price is below its average, possibly indicating **bearish conditions**.
This indicator is particularly useful for traders in the Russian stock market who want to gauge broader market strength and detect divergence patterns across multiple assets.
---
### **Broad Market for Russia**
Индикатор **Broad Market for Russia** предоставляет сравнительный анализ отклонения цены крупнейших российских акций относительно их среднего значения за настраиваемый период. Этот инструмент помогает трейдерам выявлять рыночные тренды и определять относительную силу или слабость активов.
### **Как это работает:**
- Индикатор рассчитывает **процентное отклонение** текущей цены каждой акции от её **простого скользящего среднего (SMA)** за заданный **период анализа (в часах).**
- **Период анализа по умолчанию — 24 часа**, но его можно изменять в зависимости от предпочтений трейдера.
- В индикаторе отслеживаются **крупнейшие российские активы**, такие как **Газпром, Сбербанк, Лукойл, Роснефть, Норникель, Яндекс и другие**, а также текущий выбранный инструмент.
- Отклонение каждой акции отображается на отдельной панели, что позволяет быстро проводить визуальное сравнение.
- **Положительное отклонение** означает, что цена торгуется выше своего среднего значения, что может сигнализировать о **бычьем тренде**.
- **Отрицательное отклонение** указывает, что цена ниже своего среднего значения, что может свидетельствовать о **медвежьей тенденции**.
Этот индикатор особенно полезен для трейдеров российского фондового рынка, которые хотят оценить силу всего рынка и выявлять расхождения между различными активами.
Buy/Sell Signals based on EMA CrossI, Kimaya Bavakay have done some backtesting for you, Please use this on DAILY TF ONLY and It shall only be used for EQUITY STOCKS!!!
OrangeCandle 4EMA 55 + Fib Bands + SignalsThe script is a TradingView indicator that combines three popular technical analysis tools: Exponential Moving Averages (EMAs), Fibonacci bands, and buy/sell signals based on these indicators. Here’s a breakdown of its features:
1. EMA Settings and Calculation:
The script calculates and plots several Exponential Moving Averages (EMAs) on the chart with different lengths:
Short-term EMAs: EMA 9, EMA 13, EMA 21, and EMA 55 (used for tracking short-term price trends).
Long-term EMAs: EMA 100 and EMA 200 (used to analyze longer-term trends).
These EMAs are plotted with different colors to visually distinguish between the short-term and long-term trends.
2. Fibonacci Bands:
The script calculates Fibonacci Bands based on the Average True Range (ATR) and a Simple Moving Average (SMA).
Fibonacci factors (1.618, 2.618, 4.236, 6.854, and 11.090) are used to determine the upper and lower bounds of five Fibonacci bands.
Upper Fibonacci Bands (e.g., fib1u, fib2u) represent resistance levels.
Lower Fibonacci Bands (e.g., fib1l, fib2l) represent support levels.
These bands are plotted with different colors for each level, helping traders identify potential price reversal zones.
3. Buy and Sell Signals:
Long Condition: A buy signal occurs when the price crosses above the EMA 55 (long-term trend indicator) and is above the lower Fibonacci band (support zone).
Short Condition: A sell signal occurs when the price crosses below the EMA 55 and is below the upper Fibonacci band (resistance zone).
These conditions trigger visual signals on the chart (green arrow for long, red arrow for short).
4. Alerts:
The script includes alert conditions to notify the trader when a long or short signal is triggered based on the crossover of price and EMA 55 near the Fibonacci support or resistance levels.
Long Entry Alert: Triggers when the price crosses above the EMA 55 and is near a Fibonacci support level.
Short Entry Alert: Triggers when the price crosses below the EMA 55 and is near a Fibonacci resistance level.
5. Visualization:
EMAs are plotted with distinct colors:
EMA 9 is aqua,
EMA 13 is purple,
EMA 21 is orange,
EMA 55 is blue (with thicker line width for emphasis),
EMA 100 is gray,
EMA 200 is black.
Fibonacci bands are plotted with different colors for each level:
Fib Band 1 (upper and lower) in white,
Fib Band 2 in green (upper) and red (lower),
Fib Band 3 in green (upper) and red (lower),
Fib Band 4 in blue (upper) and orange (lower),
Fib Band 5 in purple (upper) and yellow (lower).
Summary:
This script provides a comprehensive strategy for analyzing the market with multiple EMAs for trend detection, Fibonacci bands for support/resistance, and signals based on price action in relation to these indicators. The combination of these tools can assist traders in making more informed decisions by providing potential entry and exit points on the chart.
Hourly Cycle High/Low by Brijqug [ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocbocqug[ubuocboc
TRH Backtest SMA ATR Variable RRThis strategy is a trend-following strategy that uses three Simple Moving Averages (SMAs) and the RSI indicator to identify entry and exit points. It also incorporates a dynamic risk-reward ratio based on specific conditions.
Here's a breakdown of the strategy's components and logic:
SMAs: The strategy uses three SMAs with periods of 7, 25, and 99. These SMAs help to identify the overall trend of the market.
RSI: The RSI is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset.2 In this strategy, it's used to determine stop-loss levels
EL BAHANI PRO INDICATORLe script EL BAHANI PRO INDICATOR est un indicateur de trading développé en Pine Script qui combine plusieurs outils d'analyse technique pour générer des signaux précis d'achat et de vente, affichés sous forme de curseurs (flèches) sur le graphique.
Bux Butler IndykejtorThe indicator highlights moments when two SMMA averages intersect. A red sphere usually signals a shift in market sentiment, sometimes leading to a cyclical bear market, while in other cases indicating sideways movement and periods of low volatility. Conversely, a buy signal frequently anticipates a resurgence of optimism in the crypto market. The indicator can be utilized for building long-term BTC trading strategies based on sentiment.
VWAP - Bearish MomentumConditions in the Current Code:
Weekly Chart Conditions:
MACD Downtick → MACD line is lower than the previous bar.
RSI Below 60 → RSI on the weekly chart is below 60.
(Both conditions must be met for the hourly conditions to be checked.)
Hourly Chart Conditions for Red Signal (Bearish Signal):
Price Below VWAP → Price is closing below the VWAP.
Price Below 50 EMA → Price is closing below the 50 EMA.
-DI above +DI → Ensures a negative trend.
RSI Below 60 → RSI must be below 60.
Price Crossing Below 50 EMA & VWAP from Above → Ensures red signal when price moves below these levels.
✔ A new red signal appears when all conditions are met, but only once per trend.
✔ No intermediate red signals between a red-green signal pair.
Green Signal (Trend Reversal) on Hourly Chart:
HA Candle is Green → Heikin-Ashi candle must be green.
HA Candle Closes Above VWAP → The green Heikin-Ashi candle must close above VWAP.
✔ Green signal appears only after a red signal has been triggered.
✔ No new red signals appear between a red-green signal pair.
EMA 26/55/100/200The script does 26/55/100/200 EMA. This is useful specifically to take swing trading opportunities at 26 and 55 EMA.
Multi-Timeframe RSI Levelsdraws 45, 55 , 65 rsi levels with a thin blue line . plots rsi 14 of daily timeframe with a black line , rsi 14 of weekly timeframe with green line , rsi 14 of monthly timeframe with blue line
Open & Close PriceShows open and closing price; controls for extensions. Toggles for visibility.
Shades opening day gap, controls for extensions. Toggles for visibility.
Does not work for hourly or above as opening price is set to 9:30 am eastern which does not appear on the axis for hourly or above. And I'm not a coder.
But for sub hourly charts - it's an easy tool I've been looking for for a while just for myself.
It's imperfect; but sharing for anyone that was looking for something similar.
Optimized Auto-Detect Strategy (MA, ATR, Trend, RSI) Overview
This script is designed for traders seeking a trend-following approach that adapts to different currency pairs (e.g., EURUSD, NZDUSD, XAUUSD). It combines moving average crossovers with ATR-based stops, optional trend filters, and RSI filters to help reduce false signals and capture larger moves.
Key Features
1. Auto-Detect Logic
- Automatically applies different moving average periods and ATR multipliers based on the symbol (e.g., XAUUSD, EURUSD, NZDUSD).
- Makes it easy to switch charts without manually adjusting parameters each time.
2. ATR-Based Stop
- Uses the Average True Range (ATR) to set dynamic stop-loss levels, adapting to each market’s volatility.
3. Optional Trend Filter
- Filters out trades if price is below the 200 SMA for longs (and above for shorts), aiming to avoid choppy, range-bound markets.
4. Optional RSI Filter
- Only enters long if RSI is above a certain threshold (e.g., 50), or short if below another threshold, reducing entries during low momentum.
5. Partial Exit & Trailing/Break-Even
- Locks in partial profit at a chosen R:R (e.g., 1:1), then either trails the remaining position or moves the stop to break-even.
- This helps capture additional gains if the trend extends beyond the initial target.
6. Customizable Parameters
- You can toggle on/off each filter (Trend, RSI) and adjust the ATR multiplier, MA periods, partial exit levels, etc.
- Allows easy optimization for different pairs or timeframes.
How to Use
1. Add to Chart: Click “Add to chart” in the Pine Editor.
2. Configure Inputs: In the script’s settings, toggle the filters you want (Trend Filter, RSI Filter, etc.) and set your desired ATR multiplier, RSI thresholds, partial exit ratio, etc.
3. Strategy Tester: Check the performance under the “Strategy Tester” tab. Adjust parameters if needed.
4. Realistic Settings: Consider adding spreads/commissions in the “Properties” tab for more accurate backtests, especially if you trade pairs with higher spreads (like XAUUSD).
Disclaimer
No Guarantee: This script does not guarantee profits. Markets are unpredictable, and results may vary with market conditions.
For Educational Purposes: Always do your own research and forward testing. Past performance does not indicate future results.
Polynomial Multiplication using CRTMultiplies two polynomials under different moduli
Uses modular arithmetic to store intermediate results
Applies the Chinese Remainder Theorem (CRT) to reconstruct the final polynomial product
Displays the computed value on the TradingView chart
Short-Only MTF EMA Cloud StrategyOverview:
The Short-Only EMA Cloud Strategy is a robust trend-following strategy designed to help traders identify and capitalize on bearish market conditions. By utilizing an Exponential Moving Average (EMA) Cloud, this strategy provides clear and reliable signals for entering short positions when the market trend is unfavorable. The EMA cloud acts as a visual representation of the trend, making it easier for traders to make informed decisions. This strategy is ideal for traders who prefer to trade in the direction of the trend and focus exclusively on short positions.
Key Features:
EMA Cloud:
The strategy uses two EMAs (short and long) to create a dynamic cloud.
The cloud is bearish when the short EMA is below the long EMA, indicating a strong downward trend.
The cloud is bullish when the short EMA is above the long EMA, indicating an upward trend or consolidation.
Short Entry Signals:
A short position is opened when the EMA cloud turns bearish, which occurs when the short EMA crosses below the long EMA.
This crossover signals a potential shift in market sentiment from bullish to bearish, providing an opportunity to enter a short trade.
Adjustable Timeframe:
The EMA cloud can be calculated on the same timeframe as the chart or on a higher/lower timeframe for multi-timeframe analysis.
This flexibility allows traders to adapt the strategy to their preferred trading style and time horizon.
Risk Management:
The strategy includes adjustable stop loss and take profit levels to help traders manage risk and lock in profits.
Stop loss and take profit levels are calculated as a percentage of the entry price, ensuring consistency across different assets and market conditions.
Alerts:
Built-in alerts notify you when a short entry signal is generated, ensuring you never miss a trading opportunity.
Alerts can be customized to suit your preferences, providing real-time notifications for potential trades.
Visualization:
The EMA cloud is plotted on the chart, providing a clear visual representation of the trend.
Sell signals are marked with a red label above the price bar, making it easy to identify entry points.
How to Use:
Add the Script:
Add the script to your chart in TradingView.
Set EMA Lengths:
Adjust the Short EMA Length and Long EMA Length in the settings to suit your trading style.
For example, you might use a shorter EMA (e.g., 21) for more responsive signals or a longer EMA (e.g., 50) for smoother signals.
Choose EMA Cloud Resolution:
Select the EMA Cloud Resolution (timeframe) for the cloud calculation.
You can choose the same timeframe as the chart or a different timeframe (higher or lower) for multi-timeframe analysis.
Adjust Risk Management:
Set the Stop Loss (%) and Take Profit (%) levels according to your risk tolerance and trading goals.
For example, you might use a 1% stop loss and a 2% take profit for a 1:2 risk-reward ratio.
Enable Alerts:
Enable alerts to receive notifications for short entry signals.
Alerts can be configured to send notifications via email, SMS, or other preferred methods.
Monitor and Trade:
Monitor the chart for sell signals and execute trades accordingly.
Use the EMA cloud as a visual guide to confirm the trend direction before entering a trade.
Ideal For:
Trend-Following Traders: This strategy is perfect for traders who prefer to trade in the direction of the trend and capitalize on sustained price movements.
Short-Only Traders: If you prefer to focus exclusively on short positions, this strategy provides a clear and systematic approach to identifying bearish opportunities.
Multi-Timeframe Analysts: The adjustable EMA cloud resolution allows you to analyze trends across different timeframes, making it suitable for both short-term and long-term traders.
Risk-Averse Traders: The inclusion of stop loss and take profit levels helps manage risk and protect your capital.
Trend Following H4 + Pullback M15suivre trand de 4h et attendre pullback vers cette tendance en 15 minutes
ICT CCI ABC Signals EnhancedLa estrategia "ICT CCI ABC Signals Enhanced" es un indicador técnico diseñado para TradingView que combina conceptos inspirados en el enfoque ICT (Inner Circle Trader) con herramientas clásicas como el CCI (Commodity Channel Index) y un patrón correctivo ABC. Utiliza una media móvil exponencial (EMA) como filtro de tendencia para identificar oportunidades de compra y venta en el mercado. Este indicador está optimizado para Pine Script v6 y busca capturar reversiones o continuaciones de tendencia en puntos clave del precio.
Volatility Cycle IndicatorThis Volatility Cycle Indicator measures market volatility using Bollinger Band Width (BBW). It highlights periods of high volatility (expansion) and low volatility (contraction) to help traders spot potential breakouts or calm periods before big moves.
Lemon/Lime Volume Lookback IndicatorThe indicator focuses on analyzing volume patterns.
It calculates a relative volume metric by comparing the current volume to a short-term simple moving average of volume.
The code identifies volume spikes when the relative volume exceeds a user-defined threshold.
These volume spikes are visually represented on the chart as small circles:
Yellow circles appear above bars for bearish volume spikes (when price closed lower)
Green circles appear below bars for bullish volume spikes (when price closed higher)
Users can adjust settings such as the lookback period for volume comparison and the percentage increase that defines a volume spike. This would adjust the readings based on incoming volume. Adjust as needed during different market conditions.
This tool essentially helps traders identify and visualize significant increases in trading volume compared to recent average volume, which could potentially signal important price movements or trend changes.
(code is open source, if you make changes and or improvements I'd gladly love to see them and or share ideas so feel from to dm if you so please!)