Padrões gráficos
FT-RSISummary of the Custom RSI Indicator Script (For Futu Niuniu Platform):
This Pine Script code implements a triple-period RSI indicator with horizontal reference lines (70, 50, 30) for technical analysis on the Futu Niuniu trading platform.
Key Features:
Multi-period RSI Calculation:
Computes three RSI values using 9, 14, and 22-period lengths to capture short-term, standard, and smoothed momentum signals.
Utilizes the Relative Moving Average (RMA) method for RSI calculation (ta.rma function).
Horizontal Reference Bands:
Upper Band (70): Red dotted line (semi-transparent) to identify overbought conditions.
Middle Band (50): Green dotted line as the neutral equilibrium level.
Lower Band (30): Blue dotted line (semi-transparent) to highlight oversold zones.
Visual Customization:
Distinct colors for each RSI line:
RSI (9): Orange (#F79A00)
RSI (14): Green (#49B50D)
RSI (22): Blue (#5188FF)
All lines have a thickness of 2 pixels for clear visibility.
Platform Compatibility:
This script is designed for Futu Niuniu’s charting system, leveraging Pine Script syntax adaptations supported by the platform. The horizontal bands and multi-period RSI logic help traders analyze trend strength and potential reversal points efficiently.
Note: Ensure Futu Niuniu’s scripting environment supports ta.rma and hline functions for proper execution.
BySq - Market PsychologyThe script I provided is a Market Psychology Index indicator for TradingView, which focuses on three key psychological market phases:
FOMO (Fear of Missing Out)
Panic Selling
Reversal
This indicator uses volume, price changes, and specific time periods to gauge market sentiment. Let me break it down:
1. Input Parameters:
FOMO Period: Defines how many bars (candles) the FOMO index will consider for its calculation.
Panic Period: Defines the period to evaluate Panic Selling.
Reversal Period: Defines the period to evaluate potential price reversals.
You can adjust these periods based on your analysis preferences. The default for each period is 14.
2. FOMO Index:
The FOMO Index aims to capture the "fear of missing out" behavior in the market.
It uses volume and price change:
Volume is compared to the Simple Moving Average (SMA) of volume over the specified period.
Price change is calculated as the percentage change in price compared to the previous bar.
If both volume and price change indicate strong upward movement, the FOMO index spikes.
3. Panic Selling Index:
The Panic Selling Index captures when traders are selling out of fear, often in a rapid or irrational way.
Similar to the FOMO Index, it considers volume and price change:
It uses volume and compares it to the SMA of volume for the panic period.
Price change is negative, meaning it considers only price drops.
When there is high volume coupled with significant price drops, it signals panic selling.
4. Reversal Index:
The Reversal Index aims to detect potential trend reversals in the market.
This index also considers volume and price change:
It focuses on upward price movement and compares volume to its SMA.
If there’s strong upward price movement along with increasing volume, it signals the possibility of a price reversal.
5. Graphical Output:
Histograms are drawn on the chart for each of the three indices:
FOMO is shown in green (indicating the presence of FOMO) and red (when the index is low).
Panic Selling is shown in orange.
Reversal is shown in purple.
The Zero Line (horizontal dotted line) helps identify when any of the indices is positive or negative.
6. Labels:
Labels for each index are shown on the chart at the relevant bar when the index spikes.
FOMO is labeled "FOMO" in green when it spikes.
Panic Selling is labeled "Panic Selling" in orange when it spikes.
Reversal is labeled "Reversal" in purple when it spikes.
Additionally, period labels show above the chart, indicating the specific periods (FOMO, Panic, and Reversal periods) currently being applied. This provides clarity on what time frame each index is analyzing.
7. How to Use:
FOMO: High values may indicate that traders are buying out of fear of missing out on a rally, suggesting a potentially overheated market.
Panic Selling: High values could suggest irrational selling behavior or capitulation, potentially marking the bottom of a downtrend.
Reversal: High values signal the potential for a market reversal, where the price could change direction due to increased volume and upward movement.
8. Visual Appearance:
The indicator’s histograms change colors based on the level of market sentiment detected. The color-coded approach provides an easy-to-read visual representation of different psychological phases in the market.
The horizontal zero line allows easy differentiation between positive and negative values.
Summary:
This script combines the psychology of the market (FOMO, Panic Selling, and Reversal) into a set of indicators that help traders identify potential turning points or emotional states in the market. By focusing on volume and price change, the script attempts to give a clear picture of market sentiment and possible future movements.
Quick Futures Scalperai algorithms have concocted this script for quick futures trading pair this with my main futures buy sell indicator chart for maximum charitability. cross compatible to different charts.
Dirty Market IndexThis indicator is designed to out an index displaying the level of dirtiness in market.
This level is defined by:
Sum of shadow lengths of last n candles (n is input and user can change it, it's 100 by default)
divided by
Sum of full candle bodies of last n candles (high - low)
This factor indicates how many percents of the market movement has been placed in shadows of candles, the higher this number, the dirtier market would be.
Estrategia XAUUSD - Confirmación SMA 200💰 Professional XAUUSD (Gold) Strategy | Confirmation + SMA 200 + Risk Management 💡
This script implements a precise and rigorous strategy for trading XAUUSD (Gold), focusing on reaction to key levels from the previous day, candle confirmations, and the main trend defined by the SMA 200 on the 4H timeframe.
🧠 Strategy Logic:
Automatic Levels: Marks the high and low of the previous day's candle.
15M Confirmations:
Bullish engulfing candle at support (previous day's low).
Bearish engulfing candle at resistance (previous day's high).
Pin bar with rejection.
Trend Filter with the 200 SMA on 4H:
Only buy if the price is above the 200 SMA.
Only sell if the price is below the 200 SMA.
Smart Risk Management:
By default, takes 1% of the capital entered as a parameter.
SL is placed at the most recent relevant high/low (15M).
TP with a fixed ratio of 1:10 or 1:15.
When a 1:5 ratio is reached, the SL is moved to the entry point automatically.
Alerts and Visualization:
Displays levels, entry points, SL, and TP.
Includes labels and key statistical calculations (win rate, profit factor, average R:B ratio).
analyzPian### Description of the Script: **AnalyzPian Indicator**
The **AnalyzPian** indicator is a TradingView Pine Script designed to identify and visualize bullish and bearish price swings, breakouts, and retests on a chart. It uses pivot points (highs and lows) to detect significant price movements and overlays boxes and labels to highlight these areas for traders. Below is a detailed breakdown of its functionality and features:
---
### **Key Features**
1. **Dual Swing Detection**:
- The script identifies both **bullish** and **bearish** swings using pivot points (`ta.pivothigh` and `ta.pivotlow`).
- These swings are used to define potential breakout zones.
2. **Breakout and Retest Zones**:
- Once a swing is detected, the script creates a box around the price level to represent the **potential breakout zone**.
- If the price breaks out of the box, it transitions into a **retest phase**, where the script looks for retests of the breakout level.
3. **Customizable Display Options**:
- Users can choose to display **Bullish**, **Bearish**, or both types of swings.
- Additional options allow filtering for **last retest only** or showing **all retests** with labels.
4. **Dynamic Box Adjustments**:
- Boxes dynamically adjust their width based on user-defined parameters (`maxBars`, `minBars`).
- If the right side of the box exceeds the maximum allowed bars without a signal, the box is either deleted or reset to the last retest position.
5. **Labeling System**:
- Labels are added to indicate **breakouts** (▲ or ▼) and **retests** (▽ or △).
- Labels are styled differently for bullish and bearish signals and can be customized in terms of color and size.
6. **State Management**:
- The script uses a state machine (`state`) to track the lifecycle of each swing:
- **State 0**: Initial state, waiting for a swing detection.
- **State 1**: Swing detected, breakout zone created.
- **State 2**: Breakout confirmed, retest zone active.
7. **ATR-Based Width**:
- The width of the boxes is calculated using the **Average True Range (ATR)**, ensuring that the zones adapt to market volatility.
8. **User Inputs**:
- Extensive customization options are provided through input parameters:
- **Display Options**: Choose between bullish, bearish, or both.
- **Box Width**: Adjust the multiplier for ATR-based width.
- **Maximum Bars**: Set the maximum number of bars without a signal before resetting.
- **Minimum Bars**: Define the minimum distance between labels.
- **Set Back Option**: Reset the box to the last retest position if the right side is too far.
9. **Visual Enhancements**:
- Boxes and labels are styled with customizable colors and transparency for better visualization.
- Labels use intuitive symbols (▲, ▼, ▽, △) to clearly indicate the type of signal.
---
### **How It Works**
1. **Swing Detection**:
- The script uses `ta.pivothigh` and `ta.pivotlow` to identify significant highs and lows based on user-defined left and right lookback periods.
- These pivots serve as the foundation for creating breakout and retest zones.
2. **Box Creation**:
- When a swing is detected, a box is drawn around the price level to represent the breakout zone.
- The box's height is determined by the ATR, and its width expands dynamically as new bars are added.
3. **Breakout Confirmation**:
- If the price moves outside the box (breakout), the script transitions to the next state and creates a new box for the retest phase.
- Labels are added to mark the breakout point.
4. **Retest Detection**:
- During the retest phase, the script monitors whether the price revisits the breakout level.
- If a retest occurs, a label is added to indicate the event.
5. **Reset Mechanism**:
- If no signal is detected within the maximum allowed bars, the box is either deleted or reset to the last retest position.
---
### **Use Cases**
1. **Trend Identification**:
- Traders can use the indicator to identify bullish and bearish trends by observing the direction of breakouts and retests.
2. **Entry and Exit Points**:
- Breakout zones can serve as potential entry points, while retests provide confirmation for trades.
3. **Risk Management**:
- The boxes help visualize key support and resistance levels, aiding in stop-loss placement and risk assessment.
4. **Market Analysis**:
- The dynamic nature of the indicator makes it suitable for analyzing both trending and ranging markets.
---
### **Code Structure**
1. **Settings Section**:
- Contains user-defined inputs for customizing the behavior and appearance of the indicator.
2. **UDT (User-Defined Type)**:
- Defines a `bin` type to store information about each swing, including its state, price level, and associated labels.
3. **Methods**:
- Includes helper functions for managing labels, checking conditions, and updating states.
4. **Execution Logic**:
- Implements the core logic for detecting swings, managing states, and drawing boxes and labels.
---
### **Conclusion**
The **AnalyzPian** indicator is a powerful tool for traders who want to visually analyze price swings, breakouts, and retests. Its flexibility, combined with its intuitive design, makes it suitable for a wide range of trading strategies. By leveraging pivot points and ATR-based zones, the script provides actionable insights into market dynamics while maintaining a clean and customizable interface.
Futures Buy/Sell IndicatorAi generated algorithm for buy and sell times for futures. Works on multiple charts.
Futures Buy/Sell IndicatorDeveloped by Ai this chart provides buy sell times. Sell you longs on the sell or buy shorts on sell marks.
Combined Zone Invalidationa script that gets bullish state if price closes above the zone top
a script that gets bearish state if price closes below the zone bottom
a script that is invalid if it goes from bullish to bearish or bearish to bullish, without reaching the next zone bottom for bullish cross and next (below ) zone top for bearish cross.
currently not able to
1. properly impliment zone invalidation
2. think I'm messing up bullish and bearish target hits as well trying multiple ways to do the invalidation
ICT MACRO MAX RETRI ( ALERT )🖤 ICT Reversal Detector – Minimalist Edition
This indicator is designed for traders who follow Inner Circle Trader (ICT) concepts, particularly focused on liquidity sweeps and displacement reversals.
It detects:
• Swing Highs & Lows that occur during the most reactive windows of each hour
→ Specifically the last 20 minutes and first 15 minutes
(ICT teaches these moments often reveal macro-level reversals. I’ve expanded the window slightly to give the indicator more room to catch valid setups.)
• Liquidity Sweeps of previous highs/lows
• Displacement (State Change): defined as a manipulation wick followed by 1–3 strong candles closing in the opposite direction
Visually:
• Clean black lines pointing right from the liquidity sweep wick
• White triangle markers inside black label boxes only when valid displacement occurs
• No clutter, no unnecessary shapes — just focused signal
Built for:
• 5-minute charts, especially NASDAQ (NAS100) and S&P 500 (SPX500)
• Confirm setups manually on the 15-minute chart for extra precision
This is a partial automation tool for ICT-style reversal traders who prefer clarity, minimalism, and sharp intuition over noise.
Let it alert you to setups — then decide like a sniper.
3 Candles Gap3 Candle Gap Indicator is made to detect these types of patterns:
1. 3 consecutive bullish or bearish candles
2. the middle candle true body (body excluding shadows) has a part that is not covered by previous and next candle shadows (gap)
This pattern helps traders to detect candles where price has moved in a direction and gap has formed (price is not covered by previous or next candles shadows), this is a signal showing price momentum where one side (bulls/bears) is so powerful at moving the price that the other side (bears/bulls) can't get price back to cover the gap.
This indicator has "repainting" by 1 candle which means, it uses the data from future to work, however this future data does not go further than 1 candle.
竖线标注工具V1Digital Time Theory that tells you what an algorithm might do at what time
The market price algorithm sets a clear time for when the price is going to consolidate, when it is going to manipulate, and when it is going to go to the next liquidity target
Since timeis timeisfractal, algorithms do the same thing in different time periods
Digital Time Theory个告诉你算法可能在什么时间做什么事情的理论
市场价格算法中对于价格什么时候要进行盘整积累,什么时候进行操纵,什么时候出发去下一个流动性目标设定了明确的时间
由于时间是分形的(timeisfractal)算法会在不同时间周期做相同的事情
Tabajara 5.1 + WMA T3 - Médias e Candles ColoridosTabajara 5.1 + WMA T3 - Médias e Candles Coloridos
Heiken Ashi Supertrend ADXHeiken Ashi Supertrend ADX Indicator
Overview
This indicator combines the power of Heiken Ashi candles, Supertrend indicator, and ADX filter to identify strong trend movements across multiple timeframes. Designed primarily for the cryptocurrency market but adaptable to any tradable asset, this system focuses on capturing momentum in established trends while employing a sophisticated triple-layer stop loss mechanism to protect capital and secure profits.
Strategy Mechanics
Entry Signals
The strategy uses a unique blend of technical signals to identify high-probability trade entries:
Heiken Ashi Candles: Looks specifically for Heiken Ashi candles with minimal or no wicks, which signal strong momentum and trend continuation. These "full-bodied" candles represent periods where price moved decisively in one direction with minimal retracement. These are overlayed onto normal candes for more accuarte signalling and plotting
Supertrend Filter: Confirms the underlying trend direction using the Supertrend indicator (default factor: 3.0, ATR period: 10). Entries are aligned with the prevailing Supertrend direction.
ADX Filter (Optional) : Can be enabled to focus only on stronger trending conditions, filtering out choppy or ranging markets. When enabled, trades only trigger when ADX is above the specified threshold (default: 25).
Exit Signals
Positions are closed when either:
An opposing signal appears (Heiken Ashi candle with no wick in the opposite direction)
Any of the three stop loss mechanisms are triggered
Triple-Layer Stop Loss System
The strategy employs a sophisticated three-tier stop loss approach:
ATR Trailing Stop: Adapts to market volatility and locks in profits as the trend extends. This stop moves in the direction of the trade, capturing profit without exiting too early during normal price fluctuations.
Swing Point Stop: Uses natural market structure (recent highs/lows over a lookback period) to place stops at logical support/resistance levels, honoring the market's own rhythm.
Insurance Stop: A percentage-based safety net that protects against sudden adverse moves immediately after entry. This is particularly valuable when the swing point stop might be positioned too far from entry, providing immediate capital protection.
Optimization Features
Customizable Filters : All components (Supertrend, ADX) can be enabled/disabled to adapt to different market conditions
Adjustable Parameters : Fine-tune ATR periods, Supertrend factors, and ADX thresholds
Flexible Stop Loss Settings : Each of the three stop loss mechanisms can be individually enabled/disabled with customizable parameters
Best Practices for Implementation
[Recommended Timeframes : Works best on 4-hour charts and above, where trends develop more reliably
Market Conditions: Performs well across various market conditions due to the ADX filter's ability to identify meaningful trends
Performance Characteristics
When properly optimized, this has demonstrated profit factors exceeding 3 in backtesting. The approach typically produces generous winners while limiting losses through its multi-layered stop loss system. The ATR trailing stop is particularly effective at capturing extended trends, while the insurance stop provides immediate protection against adverse moves.
The visual components on the chart make it easy to follow the strategy's logic, with position status, entry prices, and current stop levels clearly displayed.
This indicator represents a complete trading system with clearly defined entry and exit rules, adaptive stop loss mechanisms, and built-in risk management through position sizing.
Momentum SwingDescription:
This indicator detects structural breakouts triggered by a single engulfing candle that decisively breaks out of a range formed by previous candles.
📦 Key Features:
Detects breakouts from a lateral range defined by N previous candles
Identifies only clean breakouts using a single engulfing candle (optional: body-only breakout)
Visually highlights the broken range with a rectangle
Displays directional arrows when a breakout occurs (long or short)
Fully customizable settings
🛠 Custom Inputs:
Number of candles used to define the range
Option to require the breakout to occur with the candle’s body only
Option to show or hide the breakout rectangle
📈 Perfect for traders looking to identify strong breakouts after consolidation phases.
furs Inside Bar HTF Trend AlertThe script monitors HTF trends based on 50 SMA.
If the overall higher timeframe trend is bullish (more bullish timeframes than bearish ones), inside bars are marked with a green triangle.
If the overall higher timeframe trend is bearish (more bearish timeframes than bullish ones), inside bars are marked with a red triangle.
Neutral is orange.
B.TCharts That Could Help Earnings For Beginners
I share the changes made to the previously used indicators as I refer to them.
I'd like to refer to it and help!
Niveles de 100 Pips XAUUSD - Rango Controlado300 pips above the current price
700 pips below the current price
🔎 Why?
Because normally in gold (XAUUSD), you want to see more levels below (past supports) and not as much space above where there are no levels.
Rendon1 Swing Market Turns**Swing Market Turns Indicator**
This indicator identifies potential swing highs and swing lows by integrating Relative Strength Index (RSI), volume confirmation, and higher timeframe (HTF) levels to accurately detect market reversals and turning points. Specifically optimized for swing traders, this tool aims to pinpoint moments when price momentum is shifting, providing clear signals for trade entries and exits.
### How It Works:
- **RSI Divergence:** Detects momentum shifts through RSI overbought and oversold conditions.
- **Higher Timeframe Levels:** Confirms reversals using support and resistance levels from higher timeframes.
- **Volume Confirmation:** Ensures stronger validity of signals by checking if current volume exceeds the moving average of recent volume.
### Key Features:
- Visual labels on chart clearly indicating potential swing highs and lows.
- Customizable RSI period, RSI overbought/oversold thresholds, volume moving average length, and higher timeframe selections.
- Built-in alert conditions for immediate notifications when swing opportunities are detected.
### Recommended Use:
- Ideal for traders focusing on swing trading strategies, particularly those looking for high-probability turning points.
- Effective across multiple assets including forex, stocks, commodities, and crypto.
- Suitable for various intraday and higher timeframes, with customization options available.
### Settings:
- **RSI Period:** Adjust the sensitivity of RSI calculation.
- **Higher Timeframe:** Select the timeframe used for support/resistance reference.
- **RSI Overbought/Oversold:** Customize thresholds defining extreme RSI values.
- **Volume MA Length:** Specify the length for volume moving average calculation.
Feel free to customize the parameters to best fit your trading style and asset of choice.
**Disclaimer:**
This indicator does not guarantee profitable trades and should be used in conjunction with proper risk management and additional analysis methods.
Blended Candle Indicator (Newest Only)This is a Pine Script (version 6) for a "Blended Candle Indicator" that visualizes a candlestick formed by blending two previous candles
Gap Day Stats TableDescription:
This Pine Script helps you analyze gap up and gap down days using a user-defined gap percentage threshold. It generates a real-time statistics table that tracks:
📈 Number of Gap Up Days
🔻 How many of those days closed lower (Open > Close)
🧮 Total points lost on such gap up days (Open - Close)
📉 Number of Gap Down Days
🔺 How many of those days closed higher (Close > Open)
🧮 Total points gained on such gap down days (Close - Open)
🔧 Customization:
Gap threshold is adjustable via input
Automatically updates stats daily
Ideal for spotting behavioral edge in gaps
This tool is useful for traders building gap trading systems, mean reversion models, or studying post-gap behavior in equities and indices.