Forecasting
CRP Biased (BITX)### **CRP Biased (BITX) Indicator Description:**
The **CRP Biased (BITX)** indicator provides a dynamic, trend-following tool designed to identify market direction and potential trade opportunities. It combines key elements like volatility bands, trend lines, and moving averages to help traders make informed decisions.
- **Trend Identification**: The indicator utilizes a hybrid line that blends key market references, helping to smooth price action and highlight prevailing market trends. The line dynamically changes color to reflect whether the market is bullish or bearish.
- **Support and Resistance Bands**: With adjustable volatility bands, the indicator marks potential support and resistance levels, allowing traders to spot price extremes and areas of potential reversal.
- **Trade Signals**: Buy and sell signals are generated when the price crosses above or below key levels, helping traders capture potential market moves. These signals are displayed as clear markers on the chart for easy identification.
- **Market Insight**: The indicator includes additional visual elements like the **9 EMA** and **VWAP** to provide further insight into market conditions and reinforce signal reliability.
Ideal for traders who want a comprehensive and visually clear indicator for identifying trends, support/resistance levels, and entry signals in real time.
Institutional Moves DetectorIndicator Name: Institutional Pattern Detector
What It Does:
Trend Following: It uses a Moving Average (MA) to understand the general direction of the price. The MA is like a smoothed-out line of the price over time, showing if the price trend is going up or down.
Volatility Measurement: The script employs Bollinger Bands (BB) to see how much the price is fluctuating. Bollinger Bands create an upper and lower "channel" around the price, which gets wider or narrower based on how volatile the price is.
Volume Check: It looks at trading volume to find times when there's unusually high activity, which could mean big players (institutions like banks or funds) are trading. It flags this when the volume is 1.5 times more than the average volume of the last 100 bars.
Pattern Detection for Trading Signals:
Entry Signal ("IN"): When there's high volume and the price is above the upper Bollinger Band, it suggests there might be strong buying from big institutions. This could mean the price might keep going up.
EXIT Signal ("OUT"): If there's high volume and the price falls below the lower Bollinger Band, it indicates possible strong selling pressure from institutions, suggesting the price might go down.
Visual Cues:
An orange label "IN" appears below the price bar for entry signals.
A red label "OUT" appears above the price bar for exit signals.
The moving average line is plotted on the chart in orange to help you see the trend.
Alerts: The script can alert you when these entry or exit signals occur, so you can get notifications without needing to stare at the chart all day.
For New Traders:
This indicator helps you spot when big traders might be influencing the market, potentially giving you a clue about when to enter or exit.
Remember, this is one tool among many. You should not base your trading solely on this; combine it with other analysis methods.
It's always wise to practice with a demo account before using real money to get a feel for how these signals work in actual market conditions.
Autocorrelation Price Forecasting Backtesting [ScrimpleAI]This script presents an innovative trading backtesting strategy designed to leverage autocorrelation models and linear regression on historical price returns . The goal is to forecast future price movements, identify recurring market cycles, and optimize trading decisions.
Main Functionality
This backtesting script is built to simulate trades by integrating historical autocorrelation with dynamic price forecasting . It incorporates risk management, stop-loss features, and an advanced backtesting date range, providing traders with maximum flexibility for evaluating strategies.
Key Features
1. Customizable Date Range for Backtesting
Allows users to define the exact date period for backtesting their strategies, ensuring they can fine-tune results for specific historical scenarios.
- Inputs: Start and End dates (day, month, year).
2. Autocorrelation Price Forecasting
- Detects cycles in market movements using the `ta.correlation` function.
- Highlights significant cycles when the autocorrelation exceeds a threshold value (default: 0.50).
- Stores projected values based on autocorrelation and linear regression of percentage returns for enhanced forecasting accuracy.
3. Forecast Threshold and Profit Assessment
- Evaluates hypothetical gains by comparing forecasted future prices to the current price.
- Customizable threshold gains to determine minimum profitability requirements for opening trades.
4. Strategy Side
- Long or Short Mode: Users can choose to test either long or short strategies to align with their trading approach.
5. Risk and Trade Management
- Order Sizing: Adjust position size as a percentage of the portfolio.
- Stop-Loss Integration: Dynamically calculates stop-loss based on user-defined percentages.
- Take Profit Target: Automatically sets take-profit levels based on forecasted gains.
6. Visual Alerts
- Provides clear visual signals of long and short entries on the chart, including labels and dynamic coloring.
- Forecasted prices are displayed directly on the chart as a continuous line, enhancing decision-making clarity.
Practical Applications
1. Cycle Detection: Utilize autocorrelation to identify repetitive market behaviors and cycles.
2. Forecasting for Backtesting: Simulate trades and assess the profitability of various strategies based on future price predictions.
3. Risk Management: Test different stop-loss and take-profit configurations.
4. Custom Period Analysis: Evaluate strategy performance in specific historical market conditions using the date range filter.
Core Logic Walkthrough
1. Autocorrelation for Cycle Detection:
- Historical prices are analyzed for recurring patterns using the `ta.correlation` function.
- If a significant cycle is detected (above the `signal_threshold`), the `linreg_values` (linear regression of returns) are stored for price projection.
2. Future Price Estimation: Forecasted price is calculated based on linear regression values and current price movements.
3. Trade Entry Logic
Long Trades
- Triggered if the hypothetical gain exceeds the threshold gain.
- Sets a take-profit level based on the projected future price.
- Includes an optional stop-loss based on user-defined percentages.
Short Trades
- Triggered if the hypothetical gain is less than the negative of the threshold gain.
- Configures take-profit and stop-loss levels for bearish trades.
4. Risk Management
- Position Sizing: Automatically calculates the order size as a percentage of the portfolio.
- Stop-Loss: Dynamically adjusts stop-loss levels to minimize risk.
5. Date Range Filtering: Ensures trades are executed only within the defined backtesting period.
Example Use Case: Backtesting with Autocorrelation
- A trader analyzes a 6-month period using 50 historical bars for autocorrelation.
- Sets a threshold gain of 10% and enables a stop-loss at 5%.
- Evaluates the effectiveness of a long-only strategy in this period to assess its profitability and risk-adjusted performance.
If you find this strategy useful or have ideas for improvements, leave a comment! What new features would you like to see in this strategy?
Grid Trading with RSI and Fibonacci SLThis script implements a grid trading strategy that buys when the "AI" confidence is high and the RSI is oversold, and sells when the "AI" confidence is high and the RSI is overbought.
It uses a Fibonacci-based stop-loss and adjusts the grid levels and trade size after each trade.
The "AI" is a very simple rule-based system, not actual artificial intelligence. The script also plots the RSI, AI confidence, grid price, and stop-loss level on the chart.
It's important to thoroughly backtest and understand the risks associated with grid trading strategies before using them with real capital.
TrendMasterPro_FekonomiTrend Change and Start Signals with Weighted Conditions
The Trend Change and Start Signals with Weighted Conditions indicator leverages various technical analysis tools to generate reliable buy and sell signals. This indicator helps investors more accurately identify trend changes and start signals in the market.
Features:
Utilizes popular technical analysis tools such as MACD, RSI, EMA, and Ichimoku Cloud.
Enhances signal accuracy with additional indicators like ADX and Volume Increase.
Allows users to adjust the weights of each condition to set their importance.
The Confidence Level parameter lets you adjust the accuracy rate of the signals.
Visual Signals make it easy to track buy and sell points directly on the chart.
How It Works:
Condition Weights: Users assign weights to indicators like MACD, RSI, EMA, and Ichimoku Cloud. If you have no idea, use default settings.
Condition Fulfillment: Checks if the conditions for each indicator are met.
Confidence Level: The total weight of the fulfilled conditions must exceed the user-defined confidence level.
Signal Generation: When these conditions are met, a buy or sell signal is generated and visually displayed on the chart.
Customization:
Personalize Signals: By adjusting the weights of the indicators used, you can personalize the signals to match your trading strategy and preferences.
Use Cases:
Short-Term Investments: Identify quick trend changes for short-term trading decisions.
Long-Term Investments: Detect long-term trend starts and changes for strategic investment decisions.
Technical Analysis: Combine different technical analysis tools for more comprehensive and reliable analyses.
With this indicator, you can better understand market movements and make more informed investment decisions. Try it now and enhance your trading strategy!
by Fekonomi
Vitaliby- NWE + RSIОписание индикатора "Vitaliby- NWE + RSI"
Nadaraya-Watson Envelope (NWE):
Огибающая: Индикатор строит огибающую вокруг цены, используя сглаживание на основе гауссового окна. Это помогает определить уровни поддержки и сопротивления.
Параметры: Вы можете настроить ширину гауссового окна и множитель для огибающей.
Relative Strength Index (RSI):
Индекс: RSI измеряет скорость изменения цены и определяет, перекуплен или перепродан актив.
Параметры: Вы можете настроить длину периода для расчета RSI, а также уровни перекупленности и перепроданности.
Взаимодействие NWE и RSI:
Фильтрация сигналов: Индикатор использует RSI для фильтрации сигналов пересечения огибающей. Например, сигнал на продажу будет учитываться только если RSI находится в зоне перекупленности (выше 70).
Режимы:
Режим перерисовки: Включение этого режима позволяет индикатору обновлять свои значения на основе новых данных, что может привести к изменению исторических значений. Отключение этого режима фиксирует исторические значения, что делает индикатор более стабильным.
Режим отображения: Вы можете настроить цвета и стили отображения индикатора, чтобы он лучше соответствовал вашему торговому стилю и предпочтениям.
Использование:
Сигналы: Индикатор отображает стрелки на графике, когда цена пересекает огибающую и RSI находится в соответствующей зоне.
Настройки: Вы можете включить или отключить режим перерисовки, а также настроить цвета и стили отображения.
Этот индикатор помогает трейдерам принимать более обоснованные решения, используя комбинацию сглаженных данных и индекса относительной силы.
quartile retracement and expansion NQ and MNQ first 30 minutesCME_MINI:NQ1! white line (open us market 9.30 NY)
yellow line (third quartile q3)
orange line (second quartile q2)
red line (first quartile q1)
first 30 minutes
Trend Start and Change and Signals by fekonomiTrend Change and Start Signals Indicator
This indicator combines multiple technical analysis tools to generate buy and sell signals based on trend changes and market conditions. It uses the following components:
MACD (Moving Average Convergence Divergence): Identifies trend direction and momentum.
RSI (Relative Strength Index): Measures the speed and change of price movements.
EMA (Exponential Moving Average): Tracks the average price over a specific period, giving more weight to recent prices.
ADX (Average Directional Index): Indicates the strength of a trend.
Ichimoku Cloud: Provides support and resistance levels, trend direction, and momentum.
Volume Increase: Checks for significant increases in trading volume.
How It Works
Buy Signal: Generated when at least three of the following conditions are met:
MACD line crosses above the signal line.
RSI is above 50.
Short EMA crosses above the long EMA and ADX indicates a strong trend.
Price is above the Ichimoku Cloud and volume is significantly higher than the average.
Sell Signal: Generated when at least three of the following conditions are met:
MACD line crosses below the signal line.
RSI is below 50.
Short EMA crosses below the long EMA and ADX indicates a strong trend.
Price is below the Ichimoku Cloud.
Visualization
Buy signals are marked with green "BUY" labels below the bars.
Sell signals are marked with red "SELL" labels above the bars.
The indicator also plots the short and long EMAs, and the Ichimoku Cloud for visual reference.
This indicator helps traders identify potential trend changes and entry/exit points based on a combination of reliable technical indicators.
Feel free to customize the settings to fit your trading strategy! If you have any questions or need further assistance, let me know. Happy trading! 📈
VDM Cipher (BTC+ALT)Анализирует ключевые метрики и помогает выявлять оптимальные моменты для сделок.
🔹 Идеально подходит для трейдинга BTC и альткоинов
🔹 Гибкий, адаптивный и надежный
🔹 Разработан с учетом реальных рыночных условий
🔥 Важно! В течение 60 дней индикатор будет активно дорабатываться!
🔜 Следующее обновление:
✅ Автоматическое определение уровней поддержки и сопротивления
✅ Учёт объёмов для ещё большей точности
✅ Связка всех данных для создания мощных сигналов
✅ Автооповещения о возможных входах в Лонг и Шорт
SuperTrend on SteroidsSuperTrend on Steroids 🚀
Overview
SuperTrend on Steroids is a **powerful intraday trading strategy designed for high-accuracy trend-following signals. It combines SuperTrend, VWAP, EMA, and ADX to provide **optimized entry and exit points. This script helps traders identify strong momentum-based trades while minimizing false signals.
📌 Key Features
✔ SuperTrend Indicator – Identifies trend direction using ATR-based volatility
✔ VWAP (Volume Weighted Average Price) – Confirms institutional buying/selling pressure
✔ EMA (Exponential Moving Average) – Smooths price action for better trend confirmation
✔ ADX (Average Directional Index) – Measures trend strength to avoid weak signals
✔ Buy/Sell Alerts – Clearly marked "BUY" and "SELL" signals for easy trade execution
✔ Trend Highlighting – Background changes color to indicate trend shifts
📈 How It Works
1. SuperTrend Calculation:
- Uses ATR period (10) and multiplier (3.0) to determine trend direction
- Green trend = Bullish, Red trend = Bearish
2. **VWAP & EMA Confirmation:
- VWAP above EMA = Bullish bias, VWAP below EMA = Bearish bias
- EMA (21) acts as a dynamic support/resistance level
3. ADX Filtering (Optional for Strong Trends):
- ADX above 25 = Strong trend, signals are more reliable
- ADX below 25 = Weak trend, caution is advised
4. Entry Conditions:
✅ BUY Signal:
- SuperTrend turns green (Uptrend confirmation)
- Price closes above VWAP and EMA
- ADX shows trend strength
❌ SELL Signal:
- SuperTrend turns red (Downtrend confirmation)
- Price closes below VWAP and EMA
- ADX confirms downtrend strength
🔍 Best Timeframes & Markets
⏳ Ideal for intraday & short-term trading(5 min, 15 min, 1 hour)
📊 Works best on trending assets (Crypto, Stocks, Forex)
⚠ Avoid using in sideways/choppy markets
🔔 Alerts & Optimization
📢 Set TradingView alerts for buy/sell signals to automate trade execution.
⚙ Customize ATR period, ADX smoothing, EMA length to fit different asset classes.
🚀 Why Use This Strategy?
✔ Combines multiple indicators for high accuracy
✔ Reduces false breakouts using ADX filter
✔ Clear buy/sell signals with visual trend confirmation
✔ Easy to customize for different markets & timeframes
🔹 Disclaimer: No strategy is 100% perfect. Always use proper risk management and test in a demo before live trading. Happy Trading! 🚀📊
Let me know if you need any modifications! 🚀🔥
Enhanced Candle Statistics This custom Pine Script indicator calculates and displays key percentiles and averages for both the body and combined wick size of candles, helping traders judge market dynamics in real time.
Custom Bollinger Bands & RSI StrategyBollinger Band ve RSI üzerinden AL/SAT sinyalleri oluşturan bir strateji
quartile retracement and expansion US Market(for NQ and MNQ)white line (open us market 9.30 NY)
yellow line (third quartile q3)
orange line (second quartile q2)
red line (first quartile q1)
XAU/USD Swing Trading Strategy//@version=5
indicator("XAU/USD Swing Trading Strategy", overlay=true)
// Inputs
ema200_length = input.int(200, title="200 EMA Length")
ema50_length = input.int(50, title="50 EMA Length")
ema100_length = input.int(100, title="100 EMA Length")
rsi_length = input.int(14, title="RSI Length")
rsi_overbought = input.int(70, title="RSI Overbought Level")
rsi_oversold = input.int(30, title="RSI Oversold Level")
fib_levels = input.string("38.2, 50, 61.8", title="Fibonacci Levels")
// EMAs
ema200 = ta.ema(close, ema200_length)
ema50 = ta.ema(close, ema50_length)
ema100 = ta.ema(close, ema100_length)
// RSI
rsi = ta.rsi(close, rsi_length)
// Fibonacci Retracement Levels
fib_382 = 0.382
fib_500 = 0.5
fib_618 = 0.618
// Plot EMAs
plot(ema200, color=color.blue, title="200 EMA", linewidth=2)
plot(ema50, color=color.orange, title="50 EMA", linewidth=1)
plot(ema100, color=color.red, title="100 EMA", linewidth=1)
// Plot RSI
hline(rsi_overbought, "Overbought", color=color.red)
hline(rsi_oversold, "Oversold", color=color.green)
// Candlestick Patterns
bullish_engulfing = ta.crossover(close , open ) and close > open and close < open
bearish_engulfing = ta.crossover(open , close ) and close < open and close > open
pin_bar_bullish = (low < low and close > (high + low) / 2)
pin_bar_bearish = (high > high and close < (high + low) / 2)
// Trend Direction
uptrend = close > ema200
downtrend = close < ema200
// Entry Signals
long_signal = uptrend and bullish_engulfing and rsi > rsi_oversold
short_signal = downtrend and bearish_engulfing and rsi < rsi_overbought
// Plot Signals
plotshape(series=long_signal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=short_signal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Fibonacci Levels
fib_high = ta.highest(high, 50)
fib_low = ta.lowest(low, 50)
fib_range = fib_high - fib_low
plot(fib_high - fib_range * fib_382, color=color.purple, title="38.2% Fib")
plot(fib_high - fib_range * fib_500, color=color.blue, title="50% Fib")
plot(fib_high - fib_range * fib_618, color=color.orange, title="61.8% Fib")
// Alerts
alertcondition(long_signal, title="Buy Signal", message="BUY XAU/USD")
alertcondition(short_signal, title="Sell Signal", message="SELL XAU/USD")
Buyer/Seller DominanceThis Script is to find out the Buyer / Seller Dominance for any Index - Sam Thomas
Buy/Sell AlgoThis script is an advanced trading software that harnesses real-time price data to provide the most accurate and timely buy signals:
📊 Real-Time Data: Continuously processes live market data to track price movements and identify key trends.
🔄 Advanced Algorithm: Leverages a dynamic crossover strategy between two moving averages (9-period short MA and 21-period long MA) to pinpoint optimal entry points with precision.
📍 Buy Signals: Automatically generates “BUY” signals when the short-term moving average crosses above the long-term moving average, reflecting a high-probability trend reversal to the upside.
🟩 Visual Indicators: Candle bars are dynamically colored green during bullish signals, providing clear visual confirmation for buyers.
Demo GPT - Gold Gaussian StrategyA simple GPT stategy for XAU-USD pairs, limited success on backtasting with cryto.
EMA50150 with SMA150 Stop-loss and Re-Entry #gangesThis strategy is a trading system that uses Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) to determine entry and exit points for trades. Here's a breakdown of the key components and logic:
Key Indicators:
EMA 50 (Exponential Moving Average with a 50-period window): This is a more responsive moving average to recent price movements.
EMA 150 (Exponential Moving Average with a 150-period window): A slower-moving average that helps identify longer-term trends.
SMA 150 (Simple Moving Average with a 150-period window): This acts as a stop-loss indicator for long trades.
User Inputs:
Start Date and End Date: The strategy is applied only within this date range, ensuring that trading only occurs during the specified period.
Trade Conditions:
Buy Signal (Long Position):
A buy is triggered when the 50-period EMA crosses above the 150-period EMA (indicating the price is gaining upward momentum).
Sell Signal (Short Position):
A sell is triggered when the 50-period EMA crosses below the 150-period EMA (indicating the price is losing upward momentum and moving downward).
Stop-Loss for Long Positions:
If the price drops below the 150-period SMA, the strategy closes any long positions as a stop-loss mechanism to limit further losses.
Re-Entry After Stop-Loss:
After a stop-loss is triggered, the strategy monitors for a re-entry signal:
Re-buy: If the price crosses above the 150-period EMA from below, a new long position is triggered.
Re-sell: If the 50-period EMA crosses below the 150-period EMA, a new short position is triggered.
Trade Execution:
Buy or Sell: The strategy enters trades based on the conditions described and exits them if the stop-loss conditions are met.
Re-entry: After a stop-loss, the strategy tries to re-enter the market based on the same buy/sell conditions.
Risk Management:
Commission and Slippage: The strategy includes a 0.1% commission on each trade and allows for 3 pips of slippage to account for real market conditions.
Visuals:
The strategy plots the 50-period EMA (blue), 150-period EMA (red), and 150-period SMA (orange) on the chart, helping users visualize the key levels for decision-making.
Date Range Filter:
The strategy only executes trades during the user-defined date range, which helps limit trades to a specific period and avoid backtesting errors on irrelevant data.
Stop-Loss Logic:
The stop-loss is triggered when the price crosses below the 150-period SMA, closing the long position to protect against significant drawdowns.
Overall Strategy Goal:
The strategy aims to capture long-term trends using the EMAs for entry signals, while protecting profits through the stop-loss mechanism and offering a way to re-enter the market after a stop-loss.
Эффективный вход в сделкиЭтот индикатор предназначен для помощи трейдерам в поиске оптимальных точек входа в сделки на основе комбинации технических индикаторов. Он объединяет в себе трендовые индикаторы, осцилляторы и уровни волатильности для генерации сигналов.
Основные компоненты:
1. Трендовые индикаторы:
-Быстрая скользящая средняя (SMA 9) и медленная скользящая средняя (SMA 21) для определения направления тренда.
-Сигналы на покупку/продажу генерируются при пересечении быстрой и медленной скользящих средних.
2. Осцилляторы:
-RSI (Relative Strength Index) с уровнями 30 (перепроданность) и 70 (перекупленность) для фильтрации сигналов.
-MACD (Moving Average Convergence Divergence) для подтверждения моментума.
3. Управление рисками:
-ATR (Average True Range) используется для расчета стоп-босса и тейк-профита.
-Стоп-лосс устанавливается на уровне 2х ATR, а тейк-профит - на уровне 3х ATR.
4. Сигналы:
-Сигналы на покупку (BUY) отображаются при пересечении быстрой SMA и выше медленной SMA и RSI ниже 30 (перепроданность).
-Сигналы на продажу (SELL) отображаются при пересечении быстрой SMA ниже медленной SMА и RSI выше 70 (перекупленность).
Как использовать:
1. Добавьте индикатор на график.
2. Настройте параметры (периоды скользящих средних, уровни RSI и ATR) под ваш стиль торговли.
3. Обращайте внимание на сигналы BUY/SELL, которые отображаются на графике.
4. Используйте уровни стоп-босса и тейк-профита для управления рисками.
Рекомендации:
-Индикатор лучше всего работает на таймфрейма от Н1 и выше.
-Рекомендуется использовать его в сочетании с фундаментальным анализом и другими инструментами.
-Тестируйте индикатор на исторических данных перед использованием в реальной торговле.
Параметры:
-Период быстрой SMA : 9
-Период медленной SMA: 21
-Период RSI: 14
-Уровни RSI: 30 (перепроданность), 70 (перекупленность).
-Период ATR: 14
-Множитель стоп-лосса: 2
-Множитель Лейк-профита: 3
VFV Correction Levels
This Pine Script, "VFV Correction Levels," identifies significant daily price corrections and calculates corresponding investments based on fixed thresholds (paliers). Key features include:
Six predefined correction levels trigger investments between $150 and $600 based on the percentage drop.
Larger corrections correspond to higher investment amounts.
Graphical Indicators:
Visual labels mark correction levels and display investment amounts directly on the chart.
Investment Tracking:
Calculates total invested and tracks performance (yield percentage) relative to the initial correction price.