Moving average test scriptshowing buys and sells using the moving average. Looks for the areas and then shows an alert on the screen
Candlestick analysis
IFR2 com parametrização para nivel, período, e mmEstratégia paraa backtest baseada no IFR2 do Stormer entrando quando o IFR fica abaixo do nível desejado, sendo que a entrada ocorre quando o IFR vira para cima. A saída ocorre depois de n candles.
Nesta estratégia é possivel parametrizar:
Período do RSI :2
Nível do RSI :25
Quantidade de candles para fechamento :5
é possivel utilizar uma média móvel como filtro de entrada, o que pode melhorar o fator de Lucro em muitos ativos, porem em outros pode piorar.
No grafico aparece uma linha branca ligando o ponto de compra com o de venda para melhor visualizar.
My script// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © junxi6147
//@version=6
indicator("My script")
plot(close)
Candle Sequence IdentifierThis indicator allows you to identify 2cs, 3cs, 4cs. 2 candle sequence requires a rejection, so as 3 candle and 4 candle. The MA are 27, 100, 200. Helpful if you trend with the trend of the EMAS
Bull Run Indicator with EMA CrossoverFeatures:
High Volume: Volume is significantly higher than the 20-bar average, using a customizable multiplier (volumeThreshold).
Breaking Resistance: A buy signal is triggered when the price closes above the highest high over a specified lookback period (srLookback).
Breaking Support: A sell signal is triggered when the price closes below the lowest low over the same lookback period.
Signals:
Buy Signal: High volume and breaking resistance.
Sell Signal: High volume and breaking support.
Visualization:
Buy and Sell signals are shown as labels on the chart.
Support and Resistance levels are displayed as dashed lines for context.
You can adjust the lookback period (srLookback) and volume sensitivity (volumeThreshold) as needed. Let me know if you need further enhancements!
EMA 20, 50, 100, 200EMA averages for any stock 20,50, 100 and 200. you can edit and change the averages you need for the analysis. Death cross and golden cross pattern can be checked with this indicator
DF - Multiple SMAs**DF - Multiple SMAs**
The "DF - Multiple SMAs" indicator overlays six simple moving averages on the chart with distinct colors and line weights. It calculates SMAs for periods of 5, 10, 20, 60, 120, and 200 bars, and allows you to customize each length via user inputs. This tool helps traders quickly visualize multiple trend lines, compare moving averages, and identify key support and resistance levels directly on the price chart.
Average Candle Size (5min, 14 days)This indicator needs to set the Renko chart size. Keep Half of it at 5 minutes chart.
Arif MumcuMum Kalıplarını Tanımlar:
Yükseliş Yutan Mum (Bullish Engulfing): Önceki mum düşüş, sonraki mum yükseliş ve sonraki mum öncekini tamamen "yutar".
Düşüş Yutan Mum (Bearish Engulfing): Önceki mum yükseliş, sonraki mum düşüş ve sonraki mum öncekini tamamen "yutar".
Çekiç (Hammer): Küçük gövde, uzun alt gölge, düşük seviyede oluşur (yükseliş sinyali).
Ters Çekiç (Inverted Hammer): Küçük gövde, uzun üst gölge, düşük seviyede oluşur (yükseliş sinyali).
Al-Sat Sinyalleri Üretir:
Al Sinyali: Yükseliş yutan mum veya çekiç oluştuğunda.
Sat Sinyali: Düşüş yutan mum oluştuğunda.
Grafik Üzerinde Gösterir:
Kapanış fiyatını çizerek, al-sat sinyallerini yeşil (al) ve kırmızı (sat) işaretlerle gösterir.
Sood 2025// © AdibXmos
//@version=5
indicator('Sood Indicator V2 ', overlay=true, max_labels_count=500)
show_tp_sl = input.bool(true, 'Display TP & SL', group='Techical', tooltip='Display the exact TP & SL price levels for BUY & SELL signals.')
rrr = input.string('1:2', 'Risk to Reward Ratio', group='Techical', options= , tooltip='Set a risk to reward ratio (RRR).')
tp_sl_multi = input.float(1, 'TP & SL Multiplier', 1, group='Techical', tooltip='Multiplies both TP and SL by a chosen index. Higher - higher risk.')
tp_sl_prec = input.int(2, 'TP & SL Precision', 0, group='Techical')
candle_stability_index_param = 0.5
rsi_index_param = 70
candle_delta_length_param = 4
disable_repeating_signals_param = input.bool(true, 'Disable Repeating Signals', group='Techical', tooltip='Removes repeating signals. Useful for removing clusters of signals and general clarity.')
GREEN = color.rgb(29, 255, 40)
RED = color.rgb(255, 0, 0)
TRANSPARENT = color.rgb(0, 0, 0, 100)
label_size = input.string('huge', 'Label Size', options= , group='Cosmetic')
label_style = input.string('text bubble', 'Label Style', , group='Cosmetic')
buy_label_color = input(GREEN, 'BUY Label Color', inline='Highlight', group='Cosmetic')
sell_label_color = input(RED, 'SELL Label Color', inline='Highlight', group='Cosmetic')
label_text_color = input(color.white, 'Label Text Color', inline='Highlight', group='Cosmetic')
stable_candle = math.abs(close - open) / ta.tr > candle_stability_index_param
rsi = ta.rsi(close, 14)
atr = ta.atr(14)
bullish_engulfing = close < open and close > open and close > open
rsi_below = rsi < rsi_index_param
decrease_over = close < close
var last_signal = ''
var tp = 0.
var sl = 0.
bull_state = bullish_engulfing and stable_candle and rsi_below and decrease_over and barstate.isconfirmed
bull = bull_state and (disable_repeating_signals_param ? (last_signal != 'buy' ? true : na) : true)
bearish_engulfing = close > open and close < open and close < open
rsi_above = rsi > 100 - rsi_index_param
increase_over = close > close
bear_state = bearish_engulfing and stable_candle and rsi_above and increase_over and barstate.isconfirmed
bear = bear_state and (disable_repeating_signals_param ? (last_signal != 'sell' ? true : na) : true)
round_up(number, decimals) =>
factor = math.pow(10, decimals)
math.ceil(number * factor) / factor
if bull
last_signal := 'buy'
dist = atr * tp_sl_multi
tp_dist = rrr == '2:3' ? dist / 2 * 3 : rrr == '1:2' ? dist * 2 : rrr == '1:4' ? dist * 4 : dist
tp := round_up(close + tp_dist, tp_sl_prec)
sl := round_up(close - dist, tp_sl_prec)
if label_style == 'text bubble'
label.new(bar_index, low, 'BUY', color=buy_label_color, style=label.style_label_up, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bar_index, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_triangleup, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bar_index, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_arrowup, textcolor=TRANSPARENT, size=label_size)
label.new(show_tp_sl ? bar_index : na, low, 'TP: ' + str.tostring(tp) + ' SL: ' + str.tostring(sl), yloc=yloc.price, color=color.gray, style=label.style_label_down, textcolor=label_text_color)
if bear
last_signal := 'sell'
dist = atr * tp_sl_multi
tp_dist = rrr == '2:3' ? dist / 2 * 3 : rrr == '1:2' ? dist * 2 : rrr == '1:4' ? dist * 4 : dist
tp := round_up(close - tp_dist, tp_sl_prec)
sl := round_up(close + dist, tp_sl_prec)
if label_style == 'text bubble'
label.new(bear ? bar_index : na, high, 'SELL', color=sell_label_color, style=label.style_label_down, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_triangledown, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_arrowdown, textcolor=TRANSPARENT, size=label_size)
label.new(show_tp_sl ? bar_index : na, low, 'TP: ' + str.tostring(tp) + ' SL: ' + str.tostring(sl), yloc=yloc.price, color=color.gray, style=label.style_label_up, textcolor=label_text_color)
alertcondition(bull or bear, 'BUY & SELL Signals', 'New signal!')
alertcondition(bull, 'BUY Signals (Only)', 'New signal: BUY')
alertcondition(bear, 'SELL Signals (Only)', 'New signal: SELL')
NK-Heikin-ashi entry with defined Target and SL//Buy - Green heikin-ashi (with no lower shadow) is formed above vwap and Target at 50 pts and sqr off at cost.Exit at 15:01 if not //closed by then.
//Sell - Red heikin-ashi (with no upper shadow) is formed below vwap and Target at 50 pts and sqr off at cost.Exit at 15:01 if not //closed by then.
// need to update the code for trailing SL and fine tuning of Target for ATR Or ATR/2 or 40 pts for Nifty, etc..
Fear and Greed Trading Strategy By EquityPath (Dev Hunainmq)Description:
🚀 **Fear and Greed Trading Strategy for TradingView** 🚀
Take your trading to the next level with this innovative and automated **Fear and Greed Index-based strategy**. 🎯 This strategy leverages the powerful **emotional drivers of the market**—fear and greed—to help you make smarter, data-driven trading decisions. Designed for traders of all experience levels, this tool provides seamless buy and sell signals to capitalize on market sentiment.
🔴 **Fear Zone:** Automatically triggers a sell when the market sentiment shifts toward extreme fear, signaling potential downturns.
🟢 **Greed Zone:** Automatically triggers a buy when the market sentiment trends toward extreme greed, signaling potential growth opportunities.
---
### **Features:**
✅ **Dynamic Buy and Sell Signals:** Executes trades automatically based on sentiment thresholds.
✅ **Position Management:** Trades a fixed quantity (e.g., 100 shares) for simplicity and risk control.
✅ **Threshold Customization:** Adjust fear and greed levels (default: 25 for fear, 75 for greed) to suit your trading style.
✅ **Visual Cues:** Clear labels and visual plots of the Fear and Greed Index on the chart for easy interpretation.
✅ **Fully Automated Execution:** Hands-free trading when connected to a supported broker in TradingView.
---
### **Who Is This Strategy For?**
📈 Crypto Traders
📈 Stock Traders
📈 Forex Traders
📈 Anyone looking to incorporate **market psychology** into their trading!
With sleek design and powerful automation, this strategy ensures you stay ahead of the market by aligning your trades with the ebb and flow of investor sentiment. Whether you're a beginner or an experienced trader, this strategy simplifies the process and enhances your edge. 💡
---
### Hashtags:
#TradingStrategy #FearAndGreedIndex #MarketSentiment #TradingAutomation #AlgorithmicTrading #CryptoTrading #StockMarket #ForexTrading #TechnicalAnalysis #SmartTrading #TradingTools #EmotionalTrading #GreedZone #FearZone #TradingSuccess #PineScript
Fear and Greed Trading Strategy by EquithPath (Dev Hunainmq)Description:
🚀 **Fear and Greed Trading Strategy for TradingView** 🚀
Take your trading to the next level with this innovative and automated **Fear and Greed Index-based strategy**. 🎯 This strategy leverages the powerful **emotional drivers of the market**—fear and greed—to help you make smarter, data-driven trading decisions. Designed for traders of all experience levels, this tool provides seamless buy and sell signals to capitalize on market sentiment.
🔴 **Fear Zone:** Automatically triggers a sell when the market sentiment shifts toward extreme fear, signaling potential downturns.
🟢 **Greed Zone:** Automatically triggers a buy when the market sentiment trends toward extreme greed, signaling potential growth opportunities.
---
### **Features:**
✅ **Dynamic Buy and Sell Signals:** Executes trades automatically based on sentiment thresholds.
✅ **Position Management:** Trades a fixed quantity (e.g., 100 shares) for simplicity and risk control.
✅ **Threshold Customization:** Adjust fear and greed levels (default: 25 for fear, 75 for greed) to suit your trading style.
✅ **Visual Cues:** Clear labels and visual plots of the Fear and Greed Index on the chart for easy interpretation.
✅ **Fully Automated Execution:** Hands-free trading when connected to a supported broker in TradingView.
---
### **Who Is This Strategy For?**
📈 Crypto Traders
📈 Stock Traders
📈 Forex Traders
📈 Anyone looking to incorporate **market psychology** into their trading!
With sleek design and powerful automation, this strategy ensures you stay ahead of the market by aligning your trades with the ebb and flow of investor sentiment. Whether you're a beginner or an experienced trader, this strategy simplifies the process and enhances your edge. 💡
---
### Hashtags:
#TradingStrategy #FearAndGreedIndex #MarketSentiment #TradingAutomation #AlgorithmicTrading #CryptoTrading #StockMarket #ForexTrading #TechnicalAnalysis #SmartTrading #TradingTools #EmotionalTrading #GreedZone #FearZone #TradingSuccess #PineScript
Volume Footprint POC for Every CandleCalculating and plotting the Point of Control (POC) for every candle on a volume footprint chart can provide valuable insights for traders. Here are some interpretations and uses of this information:
1. Identify Key Price Levels
Highest Traded Volume: The POC represents the price level with the highest traded volume for each candle. This level often acts as a significant support or resistance level.
Confluence Zones: When multiple POCs align at similar price levels over several candles, it indicates strong support or resistance zones.
2. Gauge Market Sentiment
Buyer and Seller Activity: High volume at certain price levels can indicate where buyers and sellers are most active. A rising POC suggests stronger buying activity, while a falling POC suggests stronger selling activity.
Volume Profile: Analyzing the volume profile helps in understanding the distribution of traded volume across different price levels, providing insights into market sentiment and potential reversals.
3. Spot Trends and Reversals
Trend Continuation: Consistent upward or downward shifts in POC levels can indicate a trend continuation. Traders can use this information to stay in trending positions.
Reversal Signals: A sudden change in the POC direction may signal a potential reversal. This can be used to take profits or enter new positions.
4. Intraday Trading Strategies
Short-Term Trading: Intraday traders can use the POC to make informed decisions on entry and exit points. For example, buying near the POC during an uptrend or selling near the POC during a downtrend.
Scalping Opportunities: High-frequency traders can use shifts in the POC to scalp small profits from price movements around these key levels.
5. Volume-Based Indicators
Confirmation of Other Indicators: The POC can be used in conjunction with other technical indicators (e.g., moving averages, RSI) to confirm signals and improve trading accuracy.
Support and Resistance: Combining the POC with traditional support and resistance levels can provide a more comprehensive view of the market dynamics.
In summary, the Point of Control (POC) is a valuable tool for traders to understand market behavior, identify key levels, and make more informed trading decisions. If you have specific questions or need further details on how to use this information in your trading strategy, feel free to ask! 😊
Jaakko's Keltner StrategyA version of the Keltner Channel's strategy. Only taking long entries because they perform better. No shorts adviced. Performs very well on cryptos and stocks, where is more volatility included. Beats buy and hold strategy in 70% of US stocks in 30 minutes interval.
Bollinger Bands Touch AlertBollinger Bands Touch Alert helping to creae setup for bullish and bearish identified on bb
BBSetupAlokBollinger Bands and bullish and bearish engulfing setup, it helps in identifying bullish candle and bearish candle on lower and upper Bollinger band
4 Bar FractalThis indicator is a simple yet powerful tool that tracks potential trend reversals by checking whether the closing price of the last candle in a four-candle sequence finishes above or below the highs or lows of both the immediately preceding candle and the first candle in that sequence. If the closing price breaks above those prior highs, a green triangle appears above the chart to indicate bullish momentum; if it breaks below those lows, a red triangle appears below the chart to signal bearish momentum. Not only is it beneficial for scalping or other short-term trading, but it also works well for swing trades and longer-term trends, making it one of the most effective indicators for catching significant market shifts. However, to avoid false breakouts, it is advisable to confirm signals with volume or additional trend indicators and to maintain disciplined risk management.
Support and Resistance with Buy/Sell Signals**Support and Resistance with Buy/Sell Signals**
Support and resistance are key concepts in technical analysis used to identify price levels at which an asset tends to reverse or pause in its trend. These levels are pivotal for traders to anticipate potential entry (buy) or exit (sell) opportunities.
### **Support**
Support is a price level where a downward trend tends to pause or reverse due to an increase in buying interest. It acts as a "floor" for the price. Traders consider this level as an area to look for **buy signals**.
#### **Buy Signals near Support**:
1. **Bounce Confirmation**: When the price touches the support level and rebounds upward, confirming the strength of the support.
2. **Bullish Candlestick Patterns**: Patterns like hammers or engulfing candles forming at support levels suggest buying opportunities.
3. **Volume Increase**: A spike in trading volume at the support level often reinforces the likelihood of a reversal.
---
### **Resistance**
Resistance is a price level where an upward trend tends to pause or reverse due to an increase in selling pressure. It acts as a "ceiling" for the price. Traders consider this level as an area to look for **sell signals**.
#### **Sell Signals near Resistance**:
1. **Price Rejection**: When the price reaches the resistance level and fails to break above it, moving downward instead.
2. **Bearish Candlestick Patterns**: Patterns like shooting stars or bearish engulfing candles at resistance levels signal selling opportunities.
3. **Divergences**: If the price forms higher highs near resistance while an indicator (e.g., RSI) shows lower highs, it suggests weakening momentum.
---
### **Dynamic Indicators for Support and Resistance**
1. **Moving Averages**: Commonly used as dynamic support/resistance, especially the 50, 100, and 200-period moving averages.
2. **Fibonacci Retracements**: Highlight potential support and resistance levels based on mathematical ratios.
3. **Pivot Points**: Daily, weekly, or monthly pivot levels offer reliable zones for support and resistance.
---
### **Combining Buy/Sell Signals with Indicators**
To enhance accuracy, traders combine support and resistance levels with additional indicators such as:
- **RSI (Relative Strength Index)**: To confirm overbought (sell) or oversold (buy) conditions.
- **MACD (Moving Average Convergence Divergence)**: For momentum and trend reversals at key levels.
- **Volume Analysis**: To validate the strength of price movements near support or resistance.
By using support and resistance levels with these signals, traders can develop a structured approach to identifying high-probability trade setups.
EMA Crossover Strategy//@version=5
strategy("EMA Crossover Strategy", overlay=true)
// Define the length of EMAs
ema50Length = 50
ema200Length = 200
// Calculate the EMAs
ema50 = ta.ema(close, ema50Length)
ema200 = ta.ema(close, ema200Length)
// Plot the EMAs on the chart
plot(ema50, title="50 EMA", color=color.green, linewidth=2)
plot(ema200, title="200 EMA", color=color.red, linewidth=2)
// Define the crossover condition
longCondition = ta.crossover(ema50, ema200)
shortCondition = ta.crossunder(ema50, ema200)
// Generate alerts
alertcondition(longCondition, title="Buy Signal", message="50 EMA is above 200 EMA - Buy")
alertcondition(shortCondition, title="Sell Signal", message="50 EMA is below 200 EMA - Sell")
// Execute trades based on the conditions
if (longCondition)
strategy.entry("Buy", strategy.long)
if (shortCondition)
strategy.close("Buy")
Pure Shadow Check with Rangeyou can set the trading range and set shadow percentage if the candle back and close in the trading range you can buy or sell in momentum trend
Vwap and Super Trend by Trade Partners//@version=5
indicator(title='Vwap and Super Trend by Trade Partners', shorttitle='Suresh', overlay=true)
ha_t = syminfo.ticker
// Credits goes to Options scalping
// === VWAP ===
_isVWAP = input(true, '─────── Enable VWAP ─────')
src = input(title='Source', defval=hlc3)
t = time('D')
start = na(t ) or t > t
sumSrc = src * volume
sumVol = volume
sumSrc := start ? sumSrc : sumSrc + sumSrc
sumVol := start ? sumVol : sumVol + sumVol
// You can use built-in vwap() function instead.
plot(_isVWAP ? sumSrc / sumVol : na, title='VWAP', color=color.new(color.red, 0), linewidth=2)
// === SuperTrend ===
_isSuperTrend = input(true, '─────── Enable SuperTrend ─────')
Factor = input.int(2, minval=1, maxval=100)
Pd = input.int(10, minval=1, maxval=100)
Up = hl2 - Factor * ta.atr(Pd)
Dn = hl2 + Factor * ta.atr(Pd)
Trend = 0.0
TrendUp = 0.0
TrendDown = 0.0
TrendUp := close > TrendUp ? math.max(Up, TrendUp ) : Up
TrendDown := close < TrendDown ? math.min(Dn, TrendDown ) : Dn
Trend := close > TrendDown ? 1 : close < TrendUp ? -1 : nz(Trend , 1)
Tsl = Trend == 1 ? TrendUp : TrendDown
linecolor = Trend == 1 ? color.green : color.red
plot(_isSuperTrend ? Tsl : na, color=linecolor, style=plot.style_line, linewidth=2, title='SuperTrend', transp=1)
// === Parabolic SAR ===
_isPSAR = input(true, '──── Enable Parabolic SAR ─────')
start1 = input(0.02)
increment = input(0.02)
maximum = input(0.2)
out = ta.sar(start1, increment, maximum)
plot(_isPSAR ? out : na, title='PSAR', style=plot.style_cross, color=color.new(color.black, 0))
// === 20 VWMA ===
_isVWMA = input(true, '──── Enable 20 VWMA ─────')
plot(_isVWMA ? ta.vwma(close, 20) : na, title='VWMA', style=plot.style_line, color=color.new(color.blue, 0))
// === Strong Volume ===
ShowHighVolume = input(true, '──── Enable High Volume Indicator ─────')
Averageval = input.int(title='Average Volume: (in K)', defval=50, minval=1)
Averageval *= 1000
varstrong = ShowHighVolume ? volume > Averageval : false
plotshape(varstrong, style=shape.square, location=location.bottom, color=color.new(color.blue, 0))