RSI Combo with VolumeInputs: We have customizable inputs for RSI lengths (100 and 25), volume length (for average calculation), and a threshold for the difference in RSI 25.
RSI Calculations: The script calculates the two RSIs.
Buy Condition:
It checks if RSI 25 is higher than the previous value by a specified threshold.
It checks if the current candle's close is near the previous candle's close.
It verifies that the current volume is higher than the average over the last 20 candles (can be adjusted).
Buy Signal Plot: If all conditions are true, a green "BUY" label is plotted below the bar.
You can adjust the parameters (RSI lengths, volume length, etc.) based on your strategy and
نماذج فنيه
Enhanced RSI Buy & Sell StrategyCondition Grouping: The conditions are grouped inside parentheses for both the buy_condition and sell_condition. This is crucial for ensuring that multiple logical conditions are evaluated together.
No Line Continuation: The conditions are on a single line to avoid the error regarding "end of line without line continuation".
No extra or missing characters: The script has been checked for extra commas or missed logical operators that could cause syntax issues.
Simple 5SMA Crossover Signals with SMA Trend SignalsThis script provides two types of signals based on the relationship between the closing price and the 5-period Simple Moving Average (SMA):
1. Crossover Signals:
Buy Signal ("BUY"):
A green "BUY" label appears below the bar when the current closing price crosses above the 5SMA, and the previous closing price was below or equal to the 5SMA.
Sell Signal ("SELL"):
A red "SELL" label appears above the bar when the current closing price crosses below the 5SMA, and the previous closing price was above or equal to the 5SMA.
2. SMA Trend Signals:
SMA Increasing Signal ("SMA+"):
A blue circle is displayed above the bar when the 5SMA starts increasing (current SMA is greater than the previous SMA, and the previous SMA was not increasing).
SMA Decreasing Signal ("SMA-"):
An orange circle is displayed below the bar when the 5SMA starts decreasing (current SMA is less than the previous SMA, and the previous SMA was not decreasing).
These signals allow traders to understand both price action relative to the SMA and changes in the SMA's trend direction. The SMA line is plotted on the chart for reference.
説明 (日本語)
このスクリプトは、終値と5期間の単純移動平均(SMA)の関係に基づいた2種類のシグナルを提供します:
1. クロスオーバーシグナル:
買いシグナル ("BUY"):
現在の終値が5SMAを上抜け、かつ前の終値が5SMA以下だった場合、緑色の「BUY」ラベルがローソク足の下に表示されます。
売りシグナル ("SELL"):
現在の終値が5SMAを下抜け、かつ前の終値が5SMA以上だった場合、赤色の「SELL」ラベルがローソク足の上に表示されます。
2. SMAトレンドシグナル:
SMA増加シグナル ("SMA+"):
5SMAが増加し始めた場合(現在のSMAが前のSMAより大きく、前回のSMAが増加していなかった場合)、青い丸がローソク足の上に表示されます。
SMA減少シグナル ("SMA-"):
5SMAが減少し始めた場合(現在のSMAが前のSMAより小さく、前回のSMAが減少していなかった場合)、オレンジ色の丸がローソク足の下に表示されます。
これらのシグナルにより、価格がSMAに対してどのように動いているか、またSMAのトレンド方向の変化を理解することができます。チャートにはSMAラインも描画され、参考として使用できます。
Kai Secret Master — The Hidden FormulaKAI SECRET MASTER is a market crypro indicator dont use not finaiacial advise cNT EVEN SPELL
XRP Day Trading Strategy JT//@version=5
indicator("XRP Day Trading Strategy with Buy/Sell Indicators", overlay=true)
// Input parameters for EMA
emaShortLength = input.int(9, minval=1, title="Short EMA Length")
emaLongLength = input.int(21, minval=1, title="Long EMA Length")
// Calculate EMAs
emaShort = ta.ema(close, emaShortLength)
emaLong = ta.ema(close, emaLongLength)
// Plot EMAs
plot(emaShort, color=color.blue, title="EMA 9 (Short)")
plot(emaLong, color=color.red, title="EMA 21 (Long)")
// RSI settings
rsiLength = input.int(14, minval=1, title="RSI Length")
rsiOverbought = input.int(70, minval=50, maxval=100, title="RSI Overbought Level")
rsiOversold = input.int(30, minval=0, maxval=50, title="RSI Oversold Level")
rsi = ta.rsi(close, rsiLength)
// Plot RSI (values not displayed in overlay)
hline(rsiOverbought, "Overbought", color=color.red, linestyle=hline.style_dotted)
hline(rsiOversold, "Oversold", color=color.green, linestyle=hline.style_dotted)
// Bollinger Bands settings
bbLength = input.int(20, minval=1, title="Bollinger Bands Length")
bbStdDev = input.float(2.0, minval=0.1, title="Standard Deviation")
= ta.bb(close, bbLength, bbStdDev)
// Plot Bollinger Bands
plot(bbUpper, color=color.orange, title="Bollinger Upper Band")
plot(bbLower, color=color.orange, title="Bollinger Lower Band")
plot(bbBasis, color=color.yellow, title="Bollinger Basis")
// Volume settings
volumeVisible = input.bool(true, title="Show Volume")
plot(volumeVisible ? volume : na, style=plot.style_columns, color=color.new(color.blue, 50), title="Volume")
// Alerts and Buy/Sell Conditions
emaCrossUp = ta.crossover(emaShort, emaLong)
emaCrossDown = ta.crossunder(emaShort, emaLong)
rsiBuySignal = rsi < rsiOversold
rsiSellSignal = rsi > rsiOverbought
buySignal = emaCrossUp and rsiBuySignal
sellSignal = emaCrossDown or rsiSellSignal
// Plot Buy and Sell Indicators
plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// Alerts for Entry and Exit Signals
if buySignal
alert("Buy Signal: EMA 9 crossed above EMA 21 and RSI indicates oversold conditions!", alert.freq_once_per_bar_close)
if sellSignal
alert("Sell Signal: EMA 9 crossed below EMA 21 or RSI indicates overbought conditions!", alert.freq_once_per_bar_close)
Multi-Timeframe Trend & RSI Trading - FahimExplanation:
Calculate RSI: Calculates the Relative Strength Index (RSI) to identify overbought and oversold conditions.
Calculate Moving Averages: Calculates fast and slow moving averages to identify trend direction.
Calculate Higher Timeframe Moving Averages: Calculates moving averages on higher timeframes (e.g., 12 hours and 1 day) to confirm the overall trend.
Identify Trend Conditions: Determines if the current price is in an uptrend or downtrend based on the moving averages.
Identify Higher Timeframe Trends: Determines if the higher timeframes are also in an uptrend or downtrend.
Identify RSI Divergence: Checks for bullish and bearish divergences between price and RSI.
Generate Buy and Sell Signals: Generates buy signals when bullish divergence occurs and all timeframes are in an uptrend. Generates sell signals when bearish divergence occurs and all timeframes are in a downtrend.
Calculate Fibonacci Levels: Calculates Fibonacci retracement levels based on recent price swings.
Calculate Support/Resistance Levels: Calculates support and resistance levels based on price action.
Plot Signals: Plots buy and sell signals on the chart.
Calculate Take Profit Targets: Calculates take profit targets using Fibonacci levels and support/resistance levels.
Calculate Stop Loss: Calculates a fixed stop loss percentage (2% in this example).
9 EMA Strategy with Retest Logic - Buy Only//@version=5
indicator("9 EMA Strategy with Retest Logic - Buy Only", overlay=true)
// Input parameters
emaLength = input.int(9, title="EMA Length")
bodySizeMultiplier = input.float(0.5, title="Minimum Body Size as Multiplier of ATR")
atrLength = input.int(14, title="ATR Length")
// Calculations
ema = ta.ema(close, emaLength)
atr = ta.atr(atrLength)
// Candle body calculations
bodySize = math.abs(close - open)
minBodySize = bodySizeMultiplier * atr
// Variables to track retest logic
var bool tradeActive = false
// Conditions for retests
priceAboveEMA = close > ema
priceBelowEMA = close < ema
// Retest Buy Logic
bigBarCondition = bodySize >= minBodySize
buyRetestCondition = priceBelowEMA and priceAboveEMA and bigBarCondition
// Buy Signal Condition
buyCondition = buyRetestCondition and not tradeActive
// Trigger Buy Signal
if (buyCondition)
tradeActive := true
label.new(bar_index, high, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white)
alert("Buy Signal Triggered at " + str.tostring(close))
// Reset Trade Active Status
if (priceBelowEMA)
tradeActive := false
// Plot EMA
plot(ema, color=color.purple, linewidth=2, title="9 EMA")
9 EMA Strategy with Sequential Flags//@version=5
indicator("9 EMA Strategy with Sequential Flags", overlay=true)
// Input parameters
emaLength = input.int(9, title="EMA Length")
bodySizeMultiplier = input.float(0.5, title="Minimum Body Size as Multiplier of ATR")
atrLength = input.int(14, title="ATR Length")
// Calculations
ema = ta.ema(close, emaLength)
atr = ta.atr(atrLength)
// Candle body calculations
bodySize = math.abs(close - open)
minBodySize = bodySizeMultiplier * atr
// Conditions for buy and sell
buyCondition = close > ema and bodySize >= minBodySize and open < close
sellCondition = close < ema and bodySize >= minBodySize and open > close
// Variable to track the last trade
var float lastTradePrice = na
var string lastTradeType = na
// New buy and sell logic to ensure sequential trades
newBuy = buyCondition and (na(lastTradePrice) or lastTradeType == "SELL")
newSell = sellCondition and (na(lastTradePrice) or lastTradeType == "BUY")
if (newBuy)
lastTradePrice := close
lastTradeType := "BUY"
label.new(bar_index, high, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white)
alert("Buy Signal Triggered at " + str.tostring(close))
if (newSell)
lastTradePrice := close
lastTradeType := "SELL"
label.new(bar_index, low, "SELL", style=label.style_label_down, color=color.red, textcolor=color.white)
alert("Sell Signal Triggered at " + str.tostring(close))
// Plot EMA
plot(ema, color=color.purple, linewidth=2, title="9 EMA")
Custom RSI Buy ConditionRSI (25) is near 30.
RSI (100) is near 40.
The price should be dropping from a previous higher level to a lower one (e.g., from 3125 to 3115/3120).
RSI Above 25 Buy ConditionCopy the script and paste it into the Pine Script Editor on TradingView.
Save the script and click "Add to Chart".
You'll see "BUY" and "SELL" labels on the chart when the conditions are met.
You can also set up alerts for when the conditions trigger (Buy or Sell).
Pro Stock Scanner + MACD# Pro Stock Scanner - Advanced Trading System
### Professional Scanning System Combining MACD, Momentum & Technical Analysis
## 🎯 Indicator Purpose
This indicator was developed to identify high-quality trading opportunities by combining:
- Strong positive momentum
- Clear technical trend
- Significant trading volume
- Precise MACD signals
## 💡 Core Mechanics
The indicator is based on three core components:
### 1. Advanced MACD Analysis (40%)
- MACD line crossover tracking
- Momentum strength measurement
- Positive/negative divergence detection
- Score range: 0-40 points
### 2. Trend Analysis (40%)
- Moving average relationships (MA20, MA50)
- Primary trend direction
- Current trend strength
- Score range: 0-40 points
### 3. Volume Analysis (20%)
- Comparison with 20-day average volume
- Volume breakout detection
- Score range: 0-20 points
## 📊 Scoring System
Total score (0-100) composition:
```
Total Score = MACD Score (40%) + Trend Score (40%) + Volume Score (20%)
```
### Score Interpretation:
- 80-100: Strong Buy Signal 🔥
- 65-79: Developing Bullish Trend ⬆️
- 50-64: Neutral ↔️
- 0-49: Technical Weakness ⬇️
## 📈 Chart Markers
1. **Large Blue Triangle**
- High score (80+)
- Positive MACD
- Bullish MACD crossover
2. **Small Triangles**
- Green: Bullish MACD crossover
- Red: Bearish MACD crossover
## 🎛️ Customizable Parameters
```
MACD Settings:
- Fast Length: 12
- Slow Length: 26
- Signal Length: 9
- Strength Threshold: 0.2%
Volume Settings:
- Threshold: 1.5x average
```
## 📱 Information Panel
Real-time display of:
1. Total Score
2. MACD Score
3. MACD Strength
4. Volume Score
5. Summary Signal
## ⚙️ Optimization Guidelines
Recommended adjustments:
1. **Bull Market**
- Decrease MACD sensitivity
- Increase volume threshold
- Focus on trend strength
2. **Bear Market**
- Increase MACD sensitivity
- Stricter trend conditions
- Higher score requirements
## 🎯 Recommended Trading Strategy
### Phase 1: Initial Scan
1. Look for 80+ total score
2. Verify sufficient trading volume
3. Confirm bullish MACD crossover
### Phase 2: Validation
1. Check long-term trend
2. Identify nearby resistance levels
3. Review earnings calendar
### Phase 3: Position Management
1. Set clear stop-loss
2. Define realistic profit targets
3. Monitor score changes
## ⚠️ Important Notes
1. This indicator is a supplementary tool
2. Combine with fundamental analysis
3. Strict risk management is essential
4. Not recommended for automated trading
## 📈 Usage Examples
Examples included:
1. Successful buy signal
2. Trend reversal identification
3. False signal analysis and lessons learned
## 🔄 Future Updates
1. RSI integration
2. Advanced alerts
3. Auto-optimization features
## 🎯 Key Benefits
1. Clear scoring system
2. Multiple confirmation layers
3. Real-time market feedback
4. Customizable parameters
## 🚀 Getting Started
1. Add indicator to chart
2. Adjust parameters if needed
3. Monitor information panel
4. Wait for strong signals (80+ score)
## 📊 Performance Metrics
- Success rate: Monitor and track
- Best performing in trending markets
- Optimal for swing trading
- Most effective on daily timeframe
## 🛠️ Technical Details
```pine
// Core components
1. MACD calculation
2. Volume analysis
3. Trend confirmation
4. Score computation
```
## 💡 Pro Tips
1. Use multiple timeframes
2. Combine with support/resistance
3. Monitor sector trends
4. Consider market conditions
## 🤝 Support
Feedback and improvement suggestions welcome!
## 📜 License
MIT License - Free to use and modify
## 📚 Additional Resources
- Recommended timeframes: Daily, 4H
- Best performing markets: Stocks, ETFs
- Optimal market conditions: Trending markets
- Risk management guidelines included
## 🔍 Final Notes
Remember:
- No indicator is 100% accurate
- Always use proper position sizing
- Combine with other analysis tools
- Practice proper risk management
// @version=5
// @description Pro Stock Scanner - Advanced trading system combining MACD, momentum and volume analysis
// @author AviPro
// @license MIT
//
// This indicator helps identify high-quality trading opportunities by analyzing:
// 1. MACD momentum and crossovers
// 2. Trend strength and direction
// 3. Volume patterns and breakouts
//
// The system provides:
// - Total score (0-100)
// - Visual signals on chart
// - Information panel with key metrics
// - Customizable parameters
//
// IMPORTANT: This indicator is for educational and informational purposes only.
// Always conduct your own analysis and use proper risk management.
//
// If you find this indicator helpful, please consider leaving a like and comment!
// Feedback and suggestions for improvement are always welcome.
GB_Sir : 15 Min Inside Bar15 Min Inside Bar Setup are fetched by this indicator. Persistent lines are drawn on High and Low of 2nd bar. These lines remains persistent even after changing timeframe of chart to lower time frame.
RSI Above 25 Buy and Sell ConditionBuy Signal: Triggered when RSI (25) is above 25, and a new candlestick forms.
Sell Signal: Triggered when RSI (25) falls below 75, and a new candlestick forms.
Small Buttons: We will use plotshape with a small size for the labels and make them as
Custom RSI Buy and Sell StrategyWhile Pine Script allows you to create visual signals, it does not currently support interactive buttons that you can click on directly in the chart. However, these visual cues can be a helpful alternative.
RSI + Chandelier Exit StrategyHere's a brief version of how to paste and apply the code in TradingView:
Go to TradingView.
Click on "Pine Editor" at the bottom of the screen.
Paste the code into the editor.
Click "Save" and give the script a name.
Click "Add to Chart" to apply it to your chart.
ZelosKapital Round NumberThe ZelosKapital Round Number Indicator is a tool designed for traders to easily visualize significant round numbers on their charts. Round numbers, such as 1.20000 or 1.21000 in currency pairs, often act as psychological levels in the market where price action tends to react. This indicator automatically marks these levels across the chart, providing a clear reference for potential support and resistance zones. It is customizable, allowing traders to adjust the visual appearance, such as line style, color, and thickness. By highlighting these key levels, the indicator helps traders make more informed decisions and enhances their overall trading analysis.
Quarter Point Theory with Trend Breaks### **Quarter Point Theory with Trend Breaks Indicator**
The **Quarter Point Theory with Trend Breaks** indicator is a technical analysis tool designed to identify key price levels and trend reversals in financial markets. It combines the principles of **Quarter Point Theory**—a concept that highlights the significance of prices at rounded fractional levels of an asset—with trend break detection to provide actionable trading insights.
#### **Key Features:**
1. **Quarter Point Levels:**
- Automatically plots quarter-point levels on the chart (e.g., 0.25, 0.50, 0.75, and 1.00 levels relative to significant price ranges).
- Highlights these levels as areas of psychological importance, where price action is likely to consolidate, reverse, or gain momentum.
2. **Trend Break Detection:**
- Identifies changes in market direction by detecting breaks in prevailing trends.
- Utilizes moving averages, support/resistance lines, or price patterns to signal potential reversals.
3. **Dynamic Visual Cues:**
- Color-coded lines or zones to differentiate between support (green), resistance (red), and neutral zones.
- Alerts or markers when price approaches or breaks through quarter-point levels or trend lines.
4. **Multi-Timeframe Analysis:**
- Offers the ability to analyze quarter-point levels and trend breaks across different timeframes for a comprehensive market view.
5. **Customizable Parameters:**
- Allows traders to adjust the sensitivity of trend break detection and the precision of quarter-point level plotting based on their strategy and asset volatility.
#### **Use Cases:**
- **Swing Trading:** Identify optimal entry and exit points by combining quarter-point levels with trend reversal signals.
- **Day Trading:** Utilize intraday quarter-point levels and quick trend changes for scalping opportunities.
- **Long-Term Investing:** Spot significant price milestones that could indicate major turning points in an asset’s trajectory.
#### **Advantages:**
- Simplifies the complexity of market analysis by focusing on universally significant price levels and trends.
- Enhances decision-making by integrating two powerful market principles into a single indicator.
- Provides a structured framework for risk management by identifying areas where price is likely to react.
The **Quarter Point Theory with Trend Breaks Indicator** is a versatile tool suitable for traders and investors across various markets, including stocks, forex, commodities, and cryptocurrencies. By blending psychology-based levels with technical trend analysis, it empowers users to make well-informed trading decisions.
Combined RSI Strategy with ButtonsBuy Signal:
Stock Price = 100.
RSI(25) = 30 → 35 (increasing).
RSI(100) = 60 (uptrend).
A BUY label and trailing line are plotted.
Sell Signal:
Stock Price = 100.
RSI(25) = 30 → 25 (decreasing).
RSI(100) = 40 (downtrend).
A SELL label and trailing line are plotte
Combined RSI Indicator with VolumeRSI of 100 and 25: Both are calculated, but the primary logic focuses on RSI(25).
Conditions:
RSI(25) is increasing.
Price is stable (within a small difference from the previous close).
Price is above the user-defined threshold (e.g., 150 in your example).
Volume is higher than its recent average.
Custom RSI Buy and Sell StrategyPaste the code into your Pine Script editor on TradingView.
Adjust inputs such as the RSI lengths, price reference, and volume multiplier to match your trading strategy.
Observe how the buy/sell signals are triggered based on the RSI conditions, volume, and price
Custom RSI Buy and Sell StrategyYou will now see the standard candlestick chart, with the RSI lines plotted on the indicator panel.
Buy/Sell signals will appear as green and red labels below and above the bars, respectively.
SMA line will be plotted on the price chart to give you an additional trend reference.
Enhanced RSI Buy and Sell StrategyVolume Filter:
Only trigger Buy or Sell signals when volume is significantly higher than the average.
Dynamic Exit Signal:
Introduce a clear exit strategy based on RSI conditions and volume trends.
Visualization Improvements:
Use distinct shapes and colors for Buy, Sell, and Exit signals.
Add moving averages to assess trends.
Configurable Parameters:
Allow users to adjust RSI levels, volume thresholds, and other key setting
Simple 5SMA Crossover Signals with SMA Trend SignalsThis script provides two types of signals based on the relationship between the closing price and the 5-period Simple Moving Average (SMA):
1. Crossover Signals:
Buy Signal ("BUY"):
A green "BUY" label appears below the bar when the current closing price crosses above the 5SMA, and the previous closing price was below or equal to the 5SMA.
Sell Signal ("SELL"):
A red "SELL" label appears above the bar when the current closing price crosses below the 5SMA, and the previous closing price was above or equal to the 5SMA.
2. SMA Trend Signals:
SMA Increasing Signal ("SMA+"):
A blue circle is displayed above the bar when the 5SMA starts increasing (current SMA is greater than the previous SMA, and the previous SMA was not increasing).
SMA Decreasing Signal ("SMA-"):
An orange circle is displayed below the bar when the 5SMA starts decreasing (current SMA is less than the previous SMA, and the previous SMA was not decreasing).
These signals allow traders to understand both price action relative to the SMA and changes in the SMA's trend direction. The SMA line is plotted on the chart for reference.
説明 (日本語)
このスクリプトは、終値と5期間の単純移動平均(SMA)の関係に基づいた2種類のシグナルを提供します:
1. クロスオーバーシグナル:
買いシグナル ("BUY"):
現在の終値が5SMAを上抜け、かつ前の終値が5SMA以下だった場合、緑色の「BUY」ラベルがローソク足の下に表示されます。
売りシグナル ("SELL"):
現在の終値が5SMAを下抜け、かつ前の終値が5SMA以上だった場合、赤色の「SELL」ラベルがローソク足の上に表示されます。
2. SMAトレンドシグナル:
SMA増加シグナル ("SMA+"):
5SMAが増加し始めた場合(現在のSMAが前のSMAより大きく、前回のSMAが増加していなかった場合)、青い丸がローソク足の上に表示されます。
SMA減少シグナル ("SMA-"):
5SMAが減少し始めた場合(現在のSMAが前のSMAより小さく、前回のSMAが減少していなかった場合)、オレンジ色の丸がローソク足の下に表示されます。
これらのシグナルにより、価格がSMAに対してどのように動いているか、またSMAのトレンド方向の変化を理解することができます。チャートにはSMAラインも描画され、参考として使用できます。