Previous Day's High and Low with Dotted LinesThis indicator shows you the Previous Day's High and Low
Циклический анализ
Zero Lag Trend Signals with Heikin Ashi (MTF) [AlgoAlpha]Zero Lag Trend Signals is combined with Heikin Ashi (MTF)
Adjustable MA Crossover Strategy with Buy and Sell SignalsThe Perfect DCA Spot Trading Strategy
You buy every time you get a buy signal.
Just as an example, $50 every time. Usually, you get 3 to 4 small buy signals before you get a big move up.
I sell when I get a sell signal after a big move, or when I feel I have made enough profit. ;)
Limit order strategyThe Adaptive Trend Flow Strategy with Filters for SPX is a complete trading algorithm designed to identify traits and offer actionable alerts for the SPX index. This Pine Script approach leverages superior technical signs and user-described parameters to evolve to marketplace conditions and optimize performance.
Key Features and Functionality
Dynamic Trend Detection: Utilizes a dual EMA-based totally adaptive method for fashion calculation.
The script smooths volatility the usage of an EMA filter and adjusts sensitivity through the sensitivity enter. This allows for real-time adaptability to market fluctuations.
Trend Filters for Precision:
SMA Filter: A Simple Moving Average (SMA) guarantees that trades are achieved best while the rate aligns with the shifting average trend, minimizing false indicators.
MACD Filter: The Moving Average Convergence Divergence (MACD) adds some other layer of confirmation with the aid of requiring alignment among the MACD line and its sign line.
Signal Generation:
Long Signals: Triggered when the fashion transitions from bearish to bullish, with all filters confirming the pass.
Short Signals: Triggered while the trend shifts from bullish to bearish, imparting opportunities for final positions.
User Customization:
Adjustable parameters for EMAs, smoothing duration, and sensitivity make certain the strategy can adapt to numerous buying and selling patterns.
Enable or disable filters (SMA or MACD) based totally on particular market conditions or consumer possibilities.
Leverage and Position Sizing: Incorporates a leverage aspect for dynamic position sizing.
Automatically calculates the exchange length based on account fairness and the leverage element, making sure hazard control is in area.
Visual Enhancements: Plots adaptive fashion ranges (foundation, top, decrease) for actual-time insights into marketplace conditions.
Color-coded bars and heritage to visually represent bullish or bearish developments.
Custom labels indicating crossover and crossunder occasions for clean sign visualization.
Alerts and Automation: Configurable alerts for each lengthy and quick indicators, well matched with automated buying and selling structures like plugpine.Com.
JSON-based alert messages consist of account credentials, motion type, and calculated position length for seamless integration.
Backtesting and Realistic Assumptions: Includes practical slippage, commissions, and preliminary capital settings for backtesting accuracy.
Leverages excessive-frequency trade sampling to make certain strong strategy assessment.
How It Works
Trend Calculation: The method derives a principal trend basis with the aid of combining fast and gradual EMAs. It then uses marketplace volatility to calculate adaptive upper and decrease obstacles, creating a dynamic channel.
Filter Integration: SMA and MACD filters work in tandem with the fashion calculation to ensure that handiest excessive-probability signals are accomplished.
Signal Execution: Signals are generated whilst the charge breaches those dynamic tiers and aligns with the fashion and filters, ensuring sturdy change access situations.
How to Use
Setup: Apply the approach to SPX or other well suited indices.
Adjust person inputs, together with ATR length, EMA smoothing, and sensitivity, to align together with your buying and selling possibilities.
Enable or disable the SMA and MACD filters to test unique setups.
Alerts: Configure signals for computerized notifications or direct buying and selling execution through third-celebration systems.
Use the supplied JSON payload to integrate with broking APIs or automation tools.
Optimization:
Experiment with leverage, filter out settings, and sensitivity to find most effective configurations to your hazard tolerance and marketplace situations.
Considerations and Best Practices
Risk Management: Always backtest the method with realistic parameters, together with conservative leverage and commissions.
Market Suitability: While designed for SPX, this method can adapt to other gadgets by means of adjusting key parameters.
Limitations: The method is trend-following and can underperform in
Indicador: YAYETONIANDOv1Estrategia Básica
a. Señales de Compra
Condición principal: Aparece un triángulo verde (cambio alcista).
Confirmación adicional:
El precio cierra por encima de la línea de tendencia alcista (línea verde).
El volumen muestra un aumento (esto se puede observar con un indicador de volumen adicional o con tus propias métricas de análisis).
Ejecución: Abrir una posición larga (compra) en la apertura de la siguiente vela.
b. Señales de Venta
Condición principal: Aparece un triángulo rojo (cambio bajista).
Confirmación adicional:
El precio cierra por debajo de la línea de tendencia bajista (línea roja).
El volumen muestra un aumento (similar a la confirmación en compras).
Ejecución: Abrir una posición corta (venta) en la apertura de la siguiente vela.
Weekly 4PM GMT Open Price Lines this is to easily help identify the London fix time zone these levels are useful as there is 80% chance the level gets tagged the following day
Tiger Cobra 005+1d dddndd
dndbdbd
dndndnbd
snddbdsk;NASLSVNL"Ndsblnlb'ndllbNLBNLdbnsl'bndlbnl'bnadbldnbldn a;vnknbkaLBN
sl;snvksns l'nvksnvsv
svlsnlsvns'lvnsv
sslvnslvns
' sklnl;sknlsn
lnlnlnsslfmslsmlfsmflsmfs
Smart Money Breakouts [iskess 01-02 11:05]This is an big update to the excellent Smart Money Breakout Script published in Oct 2023 by ChartPrime who, to my knowledge, was the original author.
FULL CREDIT GOES TO CHARTPRIME FOR THIS ORIGINAL WORK.
Per the moderator's rules, you will find below a meaningful, detailed self-contained description that does not rely on delegation to the open source code or links to other content. You will find in the description details on what the script does, how it does that, how to use it, and how it is original.
The "Smart Money Breakouts" indicator is designed to identify breakouts based on changes in character (CHOCH) or breaks of structure (BOS) patterns, facilitating automated trading with user-defined Take Profit (TP) level.
The indicator incorporates essential elements such as volume analysis and a data table to assist traders in optimizing their strategies.
🔸Breakout Detection:
The indicator scans price movements for "Change in Character" (CHOCH) and "Break of Structure" (BOS) patterns, signaling potential breakout opportunities in the market.
🔸User-Defined TP/SL :
Traders can customize the Take Profit (TP) and Stop Loss (SL) through the indicator settings, with these levels dynamically calculated based on the Average True Range (ATR). This allows for precise risk management and profit targets that adapt to market volatility. Traders can also select the lookback period for the TP/SL calculations.
🔸Volume Analysis and Trade Direction Specific Analysis:
The indicator includes a volume checker that provides valuable insights into the strength of the breakout, taking into account trade direction.
🔸If the volume label is red and the trade is long, it suggests a higher likelihood of hitting the Stop Loss (SL).
🔸If the volume label is green and the trade is long, it indicates a higher probability of hitting the Take Profit (TP).
🔸For short trades, a red volume label suggests a higher likelihood of hitting TP, while a green label suggests a higher likelihood of hitting SL.
🔸A yellow volume label suggests that the volume is inconclusive, neither favoring bullish nor bearish movements.
🔸Data Table:
The indicator features a data table that keeps track of the number of winning and losing trades for specific timeframes or configurations. It also shows the percentage of profits vs losses, and the overall profit/loss for the selected lookback period.
This table serves as a valuable tool for traders to analyze performance and discover optimal settings and timeframes.
The "Smart Money Breakouts" indicator provides traders with a comprehensive solution for breakout trading, combining technical analysis of changes in character and breaks of structure, volume insights, and performance tracking while dynamically adjusting TP and SL levels based on market volatility through the ATR.
This version of the script is a "significant improvement" from Chart Prime's original work in the following ways:
- A selectable range of candles for the profit/loss calculations to look back on.
- An updated table that includes the percentage of wins/losses, and and overall P&L during the selected lookback range.
- The user can now select only Long trades, Short trades, or both.
- The percentage gain/loss is now indicated for every trade on the chart.
- The user can now select a different multiplier for Stop Loss or Take Profit thresholds.
Schaff Trend Cycle TripleEach cycle (Fast, Medium, Slow) now has its own set of inputs, which are completely separate from each other, matching the format you provided in the image.
The %D Length inputs are included for each cycle, although they are not used in the current logic of the indicator. If you want to incorporate them into your indicator's functionality, you would need to add additional calculations or logic.
The source, upper and lower bands, and highlight breakouts options are also included as separate inputs, not grouped with the cycle inputs.
SChaff Trend CycleCycle Definition: This indicator uses three different cycle lengths (fast, medium, and slow) to represent short, medium, and long-term trends.
Moving Averages: Each cycle length corresponds to a Simple Moving Average (SMA). You can change ta.sma to ta.ema for Exponential Moving Averages if you prefer.
Plotting: Each MA is plotted in a different color to distinguish between the cycles visually.
KMag's Macro Bottom Indicator SignalThe script will trigger the red background when both:
The Bollinger Band width percentile is above 47%.
The RSI is below 34.
The alert message will notify you with "Bollinger Band width percentile above 47% and RSI below 34" when both conditions are met.
YH_Simple Bollinger Bands Strategy with SL and TPThis setup ensures that Buy labels are only shown when the price is above the EMA and the MACD is positive.
Similarly, Sell labels are only shown when the price is below the EMA and the MACD is negative.
You can now change the EMA period to any value you want via the user input.
Average Candle RangeThis indicator calculates and displays the average trading range of candles over a specified period, helping traders identify volatility patterns and potential trading opportunities.
Features:
- Customizable lookback period (1-500 bars)
- Clean visual display in a top-right table overlay
- High-precision calculation showing 10 decimal places
- Real-time updates with each new bar
How it Works:
The indicator calculates the range of each candle (High - Low) and then computes the Simple Moving Average (SMA) of these ranges over your specified lookback period. The result is displayed in an easy-to-read table overlay.
Use Cases:
- Volatility Analysis: Monitor market volatility trends
- Position Sizing: Help determine position sizes based on average price movements
- Trading Strategy Development: Use as a reference for setting stop losses and take profits
- Market Phase Identification: Help identify high vs low volatility market phases
Settings:
- Lookback Period: Default is 140 bars, adjustable from 1 to 500
Note:
The indicator displays values with 10 decimal places for high-precision analysis, particularly useful in markets with small price movements.
Landry Light Pine ScannerLandry Light Pine Scanner
The Landry Light Pine Scanner is a comprehensive technical analysis tool designed to identify stocks showing strong upward trends based on the Landry Light methodology. It scans for stocks where:
Today's low and yesterday's low are above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA 50 is above SMA 150, and SMA 150 is above SMA 200 (a strong bullish SMA hierarchy).
Features:
Trend Detection: Automatically highlights stocks with strong bullish trends based on EMA and SMA alignment.
Customizable Inputs: Users can adjust EMA and SMA lengths to fit their trading style.
Visual Clarity: Plots the 30 EMA, SMA 50, SMA 150, and SMA 200 directly on the chart for easy analysis.
Alert Ready: Integrated with TradingView's alert system to notify users when the conditions are met.
Chart Highlights: Automatically highlights bars that meet the conditions with a subtle green background.
Use Case:
This indicator is ideal for swing traders and position traders looking for potential breakout opportunities. By filtering stocks with a bullish structure, traders can focus on high-probability setups.
Conditions Used:
30 EMA Conditions:
Today's low is above the 30 EMA.
Yesterday's low is above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA Hierarchy:
SMA 50 is above SMA 150.
SMA 150 is above SMA 200.
Customization Options:
30 EMA Length: Adjustable to match user preferences.
SMA Lengths: SMA 50, SMA 150, and SMA 200 lengths are customizable for flexibility.
Alerts:
Users can set alerts for when the defined conditions are met, making it easy to monitor multiple stocks.
How to Use:
Apply the Indicator:
Add the indicator to your TradingView chart.
Set Alerts:
Use the built-in alert condition for automated notifications.
Analyze Trends:
Look for green-highlighted bars indicating stocks meeting the criteria.
Screen Stocks:
Use this tool as part of your screener to filter stocks efficiently.
Note:
This indicator does not provide buy or sell signals. Always combine it with other technical and fundamental analysis for informed trading decisions.
Publishing Tags:
Landry Light, EMA, SMA, Trend Analysis, Swing Trading, Position Trading, Technical Analysis, Breakout Scanner, TradingView, Pine Script
BENSIG//@version=5
indicator("Swing High/Low Entry Strategy with SL/TP", overlay=true)
// Input for the time range (10:30am to 16:45pm UTC-5)
startTime = timestamp("GMT-5", year, month, dayofmonth, 10, 30)
endTime = timestamp("GMT-5", year, month, dayofmonth, 16, 45)
// Variables to store the highest and lowest swing points within a specific time range
var float swingHigh = na
var float swingLow = na
// Lookback period for calculating swing high and low
lookbackPeriod = 10
// Calculate swing high and low between the specified time period
if (time >= startTime and time <= endTime)
swingHigh := na
swingLow := na
else
swingHigh := ta.highest(high, lookbackPeriod) // Highest high in the last 10 bars
swingLow := ta.lowest(low, lookbackPeriod) // Lowest low in the last 10 bars
// Detect when swing high is broken (swept)
sweepHigh = not na(swingHigh) and high > swingHigh
// Bearish Order Block Detection (simple method using previous bearish candle)
bearishOrderBlock = close > open and close < open
// Buy and Sell logic based on swing high being swept and a bearish order block detected
buyCondition = sweepHigh and bearishOrderBlock
sellCondition = sweepHigh and bearishOrderBlock
// Stop loss and take profit logic
SL_buy = swingHigh
SL_sell = swingLow
TP_buy = swingLow
TP_sell = swingHigh
// Plot Buy and Sell Signals with labels and lines for SL and TP
if (buyCondition)
label.new(bar_index, low, text="BUY", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
line.new(x1=bar_index, y1=SL_buy, x2=bar_index + 10, y2=SL_buy, color=color.red, width=2, extend=extend.right)
line.new(x1=bar_index, y1=TP_buy, x2=bar_index + 10, y2=TP_buy, color=color.green, width=2, extend=extend.right)
if (sellCondition)
label.new(bar_index, high, text="SELL", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
line.new(x1=bar_index, y1=SL_sell, x2=bar_index + 10, y2=SL_sell, color=color.green, width=2, extend=extend.right)
line.new(x1=bar_index, y1=TP_sell, x2=bar_index + 10, y2=TP_sell, color=color.red, width=2, extend=extend.right)
// Alerts
alertcondition(buyCondition, title="Buy Signal", message="Buy signal triggered")
alertcondition(sellCondition, title="Sell Signal", message="Sell signal triggered")
My Strategy11111//@version=5
strategy("My Strategy", overlay=true)
// Input parameters
smaPeriod = input(50, title="SMA Period")
rsiPeriod = input(14, title="RSI Period")
overbought = input(70, title="Overbought Level")
oversold = input(30, title="Oversold Level")
stopLossPct = input(1, title="Stop Loss (%)") / 100
takeProfitPct = input(2, title="Take Profit (%)") / 100
// Indicators
sma = ta.sma(close, smaPeriod)
rsi = ta.rsi(close, rsiPeriod)
= ta.macd(close, 12, 26, 9)
// Plot indicators on the chart
plot(sma, color=color.blue, title="SMA")
hline(overbought, "Overbought", color=color.red)
hline(oversold, "Oversold", color=color.green)
// Calculate Stop Loss and Take Profit levels
longStopLoss = close * (1 - stopLossPct)
longTakeProfit = close * (1 + takeProfitPct)
shortStopLoss = close * (1 + stopLossPct)
shortTakeProfit = close * (1 - takeProfitPct)
// Buy Condition
longCondition = ta.crossover(close, sma) and rsi < oversold and macdLine > signalLine
if longCondition
strategy.entry("Long", strategy.long, stop=longStopLoss, limit=longTakeProfit)
// Sell Condition
shortCondition = ta.crossunder(close, sma) and rsi > overbought and macdLine < signalLine
if shortCondition
strategy.entry("Short", strategy.short, stop=shortStopLoss, limit=shortTakeProfit)
Swing Trading CriteriaMy Script that I am still playing with don't know if it is good yet, Still in the testing stages
discount denemeyukseklikleri isaretleme / yon tayini kendini kesvetmeyi denemek bunlarla .alismayi denemek
Session Averages: Open, High, LowThis indicator allows for the user to specify an intraday time based range and calculate the average open price, average high price, and average low price for that session. The indicator plots the 5 most recent sessions on the chart, which allows for the user to identify fair value, Power of 3 movements, trends, and consolidations.
If bullish the user can identify when price is below the average open or low price of a range, and if bearish can identify when price is above the open or high of a range.
CLAP Daily ATR Table with ATR LineATR Calculation:
The script calculates the ATR using the built-in ta.atr() function with a user-defined length.
The ATR is calculated on a daily time frame using request.security().
Table Creation:
A table is displayed in the top_right position of the chart.
The table includes the stock ticker symbol and its current daily ATR value.
Customization:
You can adjust the ATR length via the input panel.
The table design includes customizable colors and formatting.