Fractal Trail [UAlgo]The Fractal Trail is designed to identify and utilize Williams fractals as dynamic trailing stops. This tool serves traders by marking key fractal points on the chart and leveraging them to create adaptive stop-loss trails, enhancing risk management and trade decision-making.
Williams fractals are pivotal in identifying potential reversals and critical support/resistance levels. By plotting fractals dynamically and providing configurable options, this indicator allows for personalized adjustments based on the trader's strategy.
This script integrates both visual fractal markers and adjustable trailing stops, offering insights into market trends while catering to a wide variety of trading styles and timeframes.
🔶 Key Features
Williams Fractals Identification: The indicator marks Williams Fractals on the chart, which are significant highs and lows within a specified range. These fractals are crucial for identifying potential reversal points in the market.
Dynamic Trailing Stops: The indicator generates dynamic trailing stops based on the identified fractals. These stops adjust automatically as new fractals are formed, providing a responsive and adaptive approach to risk management.
Fractal Range: Users can specify the number of bars to the left and right for analyzing fractals, allowing for flexibility in identifying significant price points.
Trail Buffer Percentage: A percentage-based safety margin can be added between the fractal price and the trailing stop, providing additional control over risk management.
Trail Invalidation Source: Users can choose whether the trailing stop flips based on candle closing prices or the extreme points (high/low) of the candles.
Alerts and Notifications: The indicator provides alerts for when the price crosses the trailing stops, as well as when new Williams Fractals are confirmed. These alerts can be customized to fit the trader's notification preferences.
🔶 Interpreting the Indicator
Fractal Markers: The triangles above and below the bars indicate Williams Fractals. These markers help traders identify potential reversal points in the market.
Trailing Stops: The dynamic trailing stops are plotted as lines on the chart. These lines adjust based on the latest identified fractals, providing a visual representation of potential support and resistance levels.
Fill Colors: The optional fill colors between the trailing stops and the price action help traders quickly identify the current trend and potential pullback zones.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
インジケーターとストラテジー
Risk Indicator# Risk Indicator
A dynamic risk analysis tool that helps traders identify optimal entry and exit points using a normalized risk scale from 0 to 1. The indicator combines price action, moving averages, and logarithmic scaling to provide clear visual signals for different risk zones.
### Key Features
• Displays risk levels on a scale of 0-1 with intuitive color gradients (blue → cyan → green → yellow → orange → red)
• Shows predicted price levels for different risk values
• Divides the chart into 5 DCA (Dollar Cost Average) zones
• Includes customizable alerts for rapid risk changes and zone transitions
• Automatically adjusts to market conditions using dynamic ATH/ATL calculations
### Customizable Parameters
• SMA Period: Adjust the smoothing period for the baseline moving average
• Power Factor: Fine-tune the sensitivity of risk calculations
• Initial ATL Value: Set the starting point for ATL calculations
• Label Offset: Adjust the position of price level labels
• Visual Options: Toggle price levels and zone labels
• Alert Settings: Customize alert thresholds and enable/disable notifications
### Risk Zones Explained
The indicator divides the chart into five distinct zones:
- 0.0-0.2: DCA 5x (Deep Blue) - Strongest buy zone
- 0.2-0.4: DCA 4x (Cyan) - Strong buy zone
- 0.4-0.6: DCA 3x (Green) - Neutral zone
- 0.6-0.8: DCA 2x (Yellow/Orange) - Take profit zone
- 0.8-1.0: DCA 1x (Red) - Strong take profit / potential sell zone
### Alerts
Built-in alerts for:
• Rapid increases in risk level
• Rapid decreases in risk level
• Entry into buy zones
• Entry into sell zones
### How to Use
1. Add the indicator to your chart
2. Adjust the SMA period and power factor to match your trading timeframe
3. Monitor the risk level and corresponding price predictions
4. Use the DCA zones to guide your position sizing
5. Set up alerts for your preferred risk thresholds
### Tips
- Lower risk values (blue/cyan) suggest potentially good entry points
- Higher risk values (orange/red) suggest taking profits or reducing position size
- Use in conjunction with other technical analysis tools for best results
- Adjust the power factor to fine-tune sensitivity to price movements
### Notes
- Past performance is not indicative of future results
- This indicator is meant to be used as part of a complete trading strategy
- Always manage your risk and position size according to your trading plan
Version 1.0
UT Bot Alerts + Hull SuiteUT Bot Alerts + Hull Suite Indicator is a powerful combination of trading tools designed to assist traders in identifying trends, potential entry, and exit points with enhanced accuracy
RSI + Normalized Fisher Transform with SignalsThis indicator combines three tools for market analysis: the Relative Strength Index (RSI), the RSI's moving average, and the Fisher Transform. RSI is a momentum oscillator that measures the speed and change of price movements, helping identify overbought and oversold conditions. The RSI moving average is a smoothed version of the RSI that filters noise and confirms trends. The Fisher Transform is a mathematical technique that transforms price data into a Gaussian normal distribution, making it easier to identify turning points. It has been normalized to the same scale as the RSI (0-100) for consistency.
Purpose
The goal of this indicator is to identify potential buy and sell opportunities with varying degrees of strength (strong and weak). By combining the RSI, its moving average, and the Fisher Transform, the indicator ensures signals are based on both momentum and reversals, making it highly versatile across different market conditions.
Key Features
This indicator provides strong and weak buy and sell signals. A strong buy occurs when the RSI crosses above its moving average while both the RSI and its moving average are oversold (below the default threshold of 30), and the Fisher Transform reverses direction within the same or prior bar while also being oversold. A weak buy occurs when the Fisher Transform is oversold, and the RSI crosses above its moving average while its value is between the default oversold threshold (30) and 50. A strong sell occurs when the RSI crosses below its moving average while both the RSI and its moving average are overbought (above the default threshold of 70), and the Fisher Transform reverses direction within the same or prior bar while also being overbought. A weak sell occurs when the Fisher Transform is overbought, and the RSI crosses below its moving average while its value is between 50 and the default overbought threshold (70).
The indicator includes customizable thresholds and lengths. Users can adjust the oversold and overbought thresholds to suit their trading style. The RSI length, moving average length, and Fisher Transform length are also customizable. The Fisher Transform is scaled to the RSI’s range of 0-100 to simplify analysis and signal interpretation.
How to Use the Indicator
On the chart, you will see the RSI line in blue, the RSI moving average in orange, and the Fisher Transform in purple. Horizontal lines at the default oversold (30) and overbought (70) levels mark critical zones for signals. Adjust these thresholds in the indicator settings as needed.
Strong buy signals are shown as larger, darker green arrows below the price. Weak buy signals are small lime arrows below the price. Strong sell signals are larger, darker red arrows above the price. Weak sell signals are small fuchsia arrows above the price.
Signal Interpretation
A strong buy indicates a highly favorable buying opportunity. This typically occurs when the asset is in a downtrend but shows signs of reversal, particularly in oversold zones. A weak buy suggests a potential buying opportunity but with less conviction, often when the market is neutral to slightly bearish but showing upward momentum. A strong sell indicates a highly favorable selling opportunity, usually occurring when the asset is in an uptrend but shows signs of reversal, particularly in overbought zones. A weak sell suggests a potential selling opportunity but with less conviction, often in neutral to slightly bullish markets showing downward momentum.
Practical Tips
Avoid using signals in isolation. Combine this indicator with other tools such as trendlines, moving averages, or support/resistance levels for greater accuracy. Adjust the parameters for different assets to match their volatility. For volatile assets, consider wider thresholds like 20/80 for oversold/overbought levels. For less volatile assets, tighter thresholds like 35/65 may be more appropriate. Use higher timeframes to confirm signals before trading on lower timeframes. Be cautious in sideways markets, as both RSI and the Fisher Transform perform better in trending conditions.
Instructions for Adjustments
To change the oversold or overbought levels, open the indicator settings by clicking the gear icon and modify the "Oversold Threshold" and "Overbought Threshold" values. To adjust lengths for RSI and Fisher Transform, update the "RSI Length," "RSI Moving Average Length," and "Fisher Transform Length" settings. If needed, toggle signal visibility by enabling or disabling specific arrows (Strong Buy, Weak Buy, Strong Sell, Weak Sell) in the "Style" tab.
Best Practices
Risk management is essential. Always set appropriate stop-loss levels and position sizes based on your risk tolerance. Backtest the indicator on historical data to understand its performance and behavior for your chosen asset and timeframe. Combining this indicator with volume or volatility analysis (Bollinger Band Width, for example) can help confirm signal validity.
This indicator simplifies decision-making by identifying high-probability trading opportunities using a combination of momentum, trend, and reversals. Follow these instructions to fully utilize its capabilities without needing to analyze the underlying code.
Welborg 2024
This script was not built directly by me; but then it is as a result of combining other existing indicators and I would want to say a big thank you to them all; Smoothed Heiken Ashi - SamX by SamAccountX, UT Bot Alerts by QuantNomad, Volumatic Variable Index Dynamic Average by Bigbeluga. The reason for the mashup is that I noticed an increased win rate upon combining them up as per only one indicator use. and modifying the initial settings and back-testing it on GOLD; XAUUSD.
I would love to share with the community so we all can make some money; As the saying goes; sharing is caring.
Secondly; the best time frame for the strategy is 5min, 10min, 15min and 30min.
WHEN YOU GO TO SETTINGS;
Turn off HIGHLIGHTS TREND
GO TO INPUTS;
Turn off the "SHOW WICKS"
And keep the VIDYA Momentum at 1
SAVE AS DEFAULT AND CLICK OKAY.
ON the main chart; hide the candles of the commodity or pair you are on, so you have only the WELBORG displaying it prints.
BUY = Yellow Candle
SELL = Pink Candle
Hit me up on Whatsapp +233501429489; for video tutorial enquiries.
Super ScriptBuy/Sell signals plotted onto charts for easy identification. BEST entry is whenever BLUE line crosses WHITE lines. Preferably a Buy or sell AND white triangle is nearby. I use on 5 minute time frame. Happy Trading!
VENMO @Matt-Hierseman if you want to tip your script tender :)
Whale Supertrend (V1.0)The script "Whale Supertrend (V1.0)" is an advanced trend indicator that uses multiple Supertrends with different factors to determine entry and exit points in the market. The Supertrend is a popular indicator that combines price and volatility to help identify trend direction. The script displays buy and sell signals based on the confluence of Supertrends.
How the script works
Configuring Supertrends
The script configures six Supertrends with different factors (factor, factor1, factor2, factor3, factor4, factor5) while using the same ATR period (atrPeriod = 10).
Supertrend 1: factor = 3
Supertrend 2: factor1 = 4
Supertrend 3: factor2 = 6
Supertrend 4: factor3 = 9
Supertrend 5: factor4 = 13
Supertrend 6: factor5 = 18
For each Supertrend, the bullish (blue) and bearish (purple) trend conditions are plotted on the chart.
Signal Calculation
The script calculates the number of Supertrends in bullish and bearish trend:
bullishCount: Number of Supertrends indicating a bullish trend.
bearishCount: Number of Supertrends indicating a bearish trend.
Signal Detection
The script triggers a buy or sell signal when at least three of the six Supertrends indicate the same trend:
Buy Signal (buySignal): Triggers when bullishCount is greater than or equal to 3.
Sell Signal (sellSignal): Triggers when bearishCount is greater than or equal to 3.
To avoid repetition, signals are only displayed when the state changes:
triggerBuy: Buy signal only when buySignal becomes true for the first time.
triggerSell: Sell signal only when sellSignal becomes true for the first time.
Kinjun CrossoverThe TradingView Pine Script indicator designed to identify potential buy (long) and sell (short) signals based on the price's interaction with the Kijun line—a component of the Ichimoku Cloud indicator—and pivot points derived from exponential moving averages (EMAs) of high and low prices.
Purpose and Usage:
The script is designed to help traders identify potential trend reversals and continuations by analyzing key price levels and movements relative to the Kijun line. By incorporating pivot points and EMA calculations, it aims to filter out noise and focus on significant price actions.
The inclusion assists users in understanding how and when the conditions within the script are met. This transparency enables traders to adjust the input parameters effectively and to gain confidence in the signals generated.
Benefits:
Customizable: The indicator's adjustable parameters allow it to be tailored to different markets and timeframes.
Transparency: Debugging plots provide insights into the internal logic of the script, enhancing understanding and trust in the signals.
Visual Clarity: Clear plotting of the Kijun line and signal arrows aids in quick identification of potential trading opportunities.
Limitations:
False Signals: As with any technical indicator, false signals can occur, especially in volatile or ranging markets.
Lagging Nature: Some components, like EMAs and the Kijun line, are based on historical data and may lag current price action.
Conclusion:
The Kinjun Crossover is a powerful tool for traders seeking to leverage technical analysis in their trading strategies. By focusing on pivotal price movements relative to the Kijun line and providing visual cues for both signals and internal conditions, it enhances the decision-making process and supports more informed trading.
last zigzag++The Last ZigZag Trend Detector is a custom Pine Script strategy designed to identify significant price swings in the market using the popular ZigZag indicator. The ZigZag indicator helps traders filter out smaller price movements, allowing them to focus on larger, more meaningful price changes. This tool highlights the key trend points such as Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH), which are essential for understanding market direction and making informed trading decisions.
In addition to identifying these price patterns, the Last ZigZag Trend Detector offers advanced features like extending ZigZag lines into the future, displaying key price levels in a table, and providing alert conditions for trend reversals. By analyzing significant price changes, this tool helps traders spot the most relevant trend signals and stay ahead of the market.
With customizable settings, including the option to extend the ZigZag lines and receive notifications when important price levels are reached, the Last ZigZag Trend Detector is an invaluable tool for any trader looking to refine their technical analysis and make data-driven decisions. Whether you are a beginner or an experienced trader, this script can be a game-changer for identifying and acting on major trend shifts in the market.
NSDT HAMA Candles Strategy//@version=5
strategy("NSDT HAMA Candles Strategy", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=10, initial_capital=10000, currency=currency.USD)
// -----------------------------
// Gradient Function
// -----------------------------
f_c_gradientAdvDecPro(_source, _center, _steps, _c_bearWeak, _c_bearStrong, _c_bullWeak, _c_bullStrong) =>
var float _qtyAdvDec = 0.0
var float _maxSteps = math.max(1, _steps)
bool _xUp = ta.crossover(_source, _center)
bool _xDn = ta.crossunder(_source, _center)
float _chg = ta.change(_source)
bool _up = _chg > 0
bool _dn = _chg < 0
bool _srcBull = _source > _center
bool _srcBear = _source < _center
_qtyAdvDec :=
_srcBull ? (_xUp ? 1 : _up ? math.min(_maxSteps, _qtyAdvDec + 1) : _dn ? math.max(1, _qtyAdvDec - 1) : _qtyAdvDec) :
_srcBear ? (_xDn ? 1 : _dn ? math.min(_maxSteps, _qtyAdvDec + 1) : _up ? math.max(1, _qtyAdvDec - 1) : _qtyAdvDec) :
_qtyAdvDec
var color _return = na
_return :=
_srcBull ? color.new(color.lime, 0) :
_srcBear ? color.new(color.red, 0) :
color.new(color.yellow, 0) // Neutral color as yellow
_return
// -----------------------------
// MA Calculation Function
// -----------------------------
mat(source, length, type) =>
switch type
"SMA" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"RMA" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
"HMA" => ta.hma(source, length)
"TMA" => ta.sma(ta.sma(source, length), length)
=> na
// -----------------------------
// Inputs
// -----------------------------
bull = input.color(color.new(color.green, 0), title = "Bull Color")
bear = input.color(color.new(color.red, 0), title = "Bear Color")
neutral = input.color(color.new(color.yellow, 0), title = "Neutral Color")
show_ma = input.bool(true, title = "Show MA")
ma_type = input.string("WMA", title = "MA Type", options= )
ma_source = input.source(close, title = "MA Source")
ma_length = input.int(55, title = "MA Length", minval=1)
UseGradient = input.bool(true, title = "Use Gradient Colors")
stepn = input.int(5, title = "Max Gradient Steps", minval=1)
// Calculate MA and Gradient Color
ma = mat(ma_source, ma_length, ma_type)
col = f_c_gradientAdvDecPro(ma, ta.ema(ma, 3), stepn, neutral, bear, neutral, bull)
// -----------------------------
// MA Info Inputs
// -----------------------------
WickColor = input.color(color.new(color.gray, 80), title = "Wick Color", tooltip="Suggest Full Transparency.")
OpenLength = input.int(25, minval=1, title="Length Open", inline="Open")
OpenType = input.string('EMA', title='Type', options= , inline="Open")
HighLength = input.int(20, minval=1, title="Length High", inline="High")
HighType = input.string('EMA', title='Type', options= , inline="High")
LowLength = input.int(20, minval=1, title="Length Low", inline="Low")
LowType = input.string('EMA', title='Type', options= , inline="Low")
CloseLength = input.int(20, minval=1, title="Length Close", inline="Close")
CloseType = input.string('EMA', title='Type', options= , inline="Close")
LengthMA = input.int(55, minval=1, title="MA Line Length", inline="MA Info")
MAType = input.string('EMA', title='MA Line Type', options= , inline="MA Info")
MASource = input.source(hl2, title="MA Source")
// Function to Calculate Moving Averages
funcCalcMA1(type1, src1, len1) =>
switch type1
"EMA" => ta.ema(src1, len1)
"SMA" => ta.sma(src1, len1)
"WMA" => ta.wma(src1, len1)
=> na
funcCalcOpen(type_open, src_open, len_open) =>
switch type_open
"EMA" => ta.ema(src_open, len_open)
"SMA" => ta.sma(src_open, len_open)
"WMA" => ta.wma(src_open, len_open)
=> na
funcCalcHigh(type_high, src_high, len_high) =>
switch type_high
"EMA" => ta.ema(src_high, len_high)
"SMA" => ta.sma(src_high, len_high)
"WMA" => ta.wma(src_high, len_high)
=> na
funcCalcLow(type_low, src_low, len_low) =>
switch type_low
"EMA" => ta.ema(src_low, len_low)
"SMA" => ta.sma(src_low, len_low)
"WMA" => ta.wma(src_low, len_low)
=> na
funcCalcClose(type_close, src_close, len_close) =>
switch type_close
"EMA" => ta.ema(src_close, len_close)
"SMA" => ta.sma(src_close, len_close)
"WMA" => ta.wma(src_close, len_close)
=> na
// Calculate MA and Candle Components
MA1 = funcCalcMA1(MAType, MASource, LengthMA)
CandleOpen = funcCalcOpen(OpenType, (open + close )/2, OpenLength)
CandleHigh = funcCalcHigh(HighType, math.max(high, close), HighLength)
CandleLow = funcCalcLow(LowType, math.min(low, close), LowLength)
CandleClose = funcCalcClose(CloseType, (open + high + low + close)/4, CloseLength)
// Determine Candle Body Color
BodyColor = CandleOpen > CandleOpen ? color.green : color.red
// Apply Colors to Candles and MA Line
barcolor(UseGradient ? col : BodyColor)
plotcandle(CandleOpen, CandleHigh, CandleLow, CandleClose, color=UseGradient ? col : BodyColor, title="HAMA Candles", wickcolor=WickColor, bordercolor=na)
plot(show_ma ? MA1 : na, title="MA Line", color=UseGradient ? col : BodyColor, style=plot.style_line, linewidth=2)
// -----------------------------
// Alerts
// -----------------------------
// Existing Alerts
alertcondition(ta.rising(MA1, 2), title="MA Rising", message="MA Rising")
alertcondition(ta.falling(MA1, 2), title="MA Falling", message="MA Falling")
alertcondition(ta.crossover(high, MA1), title="High Crossing MA", message="High Crossing MA")
alertcondition(ta.crossunder(low, MA1), title="Low Crossing MA", message="Low Crossing MA")
// Custom Alert: Yellow Candle Followed by Higher/Lower Open with Additional Conditions
yellowCandle = (UseGradient ? col == color.new(color.yellow, 0) : BodyColor == color.yellow)
yellowCandleDetected = yellowCandle // Previous candle was yellow
// New Conditions based on user requirements
// For Buy: Previous yellow candle's close < close of candle before yellow candle, and current open > open of yellow candle
previousYellowClose = CandleClose // Close of yellow candle
previousCloseBeforeYellow = close // Close of the candle before yellow candle
currentOpen = open
openOfYellowCandle = CandleOpen // Open of yellow candle
buyCondition = yellowCandleDetected and (previousYellowClose < previousCloseBeforeYellow) and (currentOpen > openOfYellowCandle)
alertcondition(buyCondition, title="Buy Signal", message="Buy signal: A yellow candle was followed by a candle with a higher open and the yellow candle's close was lower than the previous candle's close.")
// For Sell: Previous yellow candle's close > close of candle before yellow candle, and current open < open of yellow candle
sellCondition = yellowCandleDetected and (previousYellowClose > previousCloseBeforeYellow) and (currentOpen < openOfYellowCandle)
alertcondition(sellCondition, title="Sell Signal", message="Sell signal: A yellow candle was followed by a candle with a lower open and the yellow candle's close was higher than the previous candle's close.")
// Additional Alerts When a Yellow Candle Appears
alertcondition(yellowCandle, title="Yellow Candle Appeared", message="A yellow candle has appeared on the chart.")
// -----------------------------
// Strategy Entry and Exit
// -----------------------------
// Strategy Entry based on Buy and Sell Conditions
if (buyCondition)
strategy.entry("Buy", strategy.long)
if (sellCondition)
strategy.entry("Sell", strategy.short)
// Example Exit Conditions (Bạn có thể tùy chỉnh thêm)
exitLongCondition = ta.crossunder(ma, ta.ema(ma, 3)) // Exit long when MA crosses under its EMA
if (exitLongCondition)
strategy.close("Buy")
exitShortCondition = ta.crossover(ma, ta.ema(ma, 3)) // Exit short when MA crosses over its EMA
if (exitShortCondition)
strategy.close("Sell")
// -----------------------------
// Watermark
// -----------------------------
var table Watermark = table.new(position.bottom_left, 1, 1, border_width = 0)
if barstate.islast
table.cell(Watermark, 0, 0, text="North Star Day Trading - NSDT HAMA Candles Strategy", text_color=color.new(color.white, 95), text_size=size.small, bgcolor=color.new(color.black, 100))
Detrended Price Oscillator [NexusSignals]Detrended Price Oscillator (DPO) is a detrended price oscillator, used in technical analysis, strips out price trends in an effort to estimate the length of price cycles from peak to peak or trough to trough.
DPO is not a momentum indicator, instead highlights peaks and troughs in price, which are used to estimate buy and sell points in line with the historical cycle. (cf. to investopedia)
DPO indicator made by NexusSignals components :
a filled area that allow users to see easy the trend of an asset;
a sma moving average on chart (default length is 20)
a 20 sma on oscillator, both ma's are color coded to show uptrend / downtrend
a donchian channel applied to the dpo to show breakouts, breakdowns and resistances/support, reversals
few alerts for price crossing above ma, cross above the 0 dpo line, and for cross above and below the donchian channels top and bottom
How you can use DPO indicator ?
The detrended price oscillator (DPO) can be used for measuring the distance between peaks and troughs in the indicator that may help traders to make future decisions as they can locate the most recent trough and determine when the next one may occur in the meassured distance on oscillator between peaks and troughs.
You can use the indicator to find the potential price reversals, for example when the price of an asset is in a bearish trend and the dpo is bouncing from the donchian channel bottom, that may be a potential swing low for that asset, same thing in a bullish trend when the dpo rejecting at top of donchian channel may be a trend reversal, a pullback or swing high.
When DPO is above the 0 trend is in an uptrend and when dpo is below the zero the asset is possible to move into a downtrend.
Also crosses of DPO above and below the DPO moving average may signalising a trend change.
Bollinger Band & SuperTrend Strategy (Standard Chart)Strategy is based on Bollinger Band and SuperTrend and it works on all instruments and TF, best is 30 minutes and 2 hours.
Raccoon Sup 2.0Refined signal for stocks, crypto and futures, based on RSI and Trama scenarios, works on hgiher TF but also is able to connect 10 points on smaller TF. Use at your own risk.
BacktestLibraryLibrary "BacktestLibrary"
A library providing functions for equity calculation and performance metrics.
since(date, active)
: Calculates the number of candles since a specified date.
Parameters:
date (simple float) : (simple float): The starting date in timestamp format (e.g., input.time(timestamp()))
active (simple bool) : (simple bool): If true, counts the number of candles since the date; if false, returns 0.
Returns: (int): The number of candles since the specified date.
buy_and_hold(r, startDate)
: Calculates the Buy and Hold Equity from a specified date.
Parameters:
r (float) : (series float): Daily returns of the asset (e.g., 0.02 for 2% move).
startDate (simple float) : (simple float): Timestamp of the starting date for the equity calculation.
Returns: (float): Buy and Hold Equity of the asset from the specified date.
equity(sig, threshold, r, startDate, signals)
: Calculates the strategy's equity on a candle-by-candle basis.
Parameters:
sig (float) : (series float): Signal values; positive for long, negative for short.
threshold (simple float) : (simple float): Signal threshold for entering trades.
r (float) : (series float): Daily returns of the asset (e.g., 0.02 for 2% move).
startDate (simple float) : (simple float): Timestamp of the starting date for the equity calculation.
signals (simple string) : (simple string): Type of signals to backtest ("Long & Short", "Long Only", "Short Only").
Returns: (float): Strategy equity on a candle-by-candle basis.
PerformanceMetrics(base, Lookback, startDate)
: Calculates performance metrics of a strategy from a specified date.
Parameters:
base (float) : (series float): Equity values of the strategy or Buy and Hold equity.
Lookback (int) : (series int): Number of periods since the start date; recommended to use the 'since' function.
startDate (simple float) : (simple float): Timestamp of the starting date for the equity calculation.
Returns: (float ): Array of performance metrics.
PerfMetricTable(buy_and_hold, strategy)
: Plots a table comparing performance metrics of Buy and Hold and Strategy equity.
Parameters:
buy_and_hold (array) : (float ): Metrics from the PerformanceMetrics() function for Buy and Hold.
strategy (array) : (float ): Metrics from the PerformanceMetrics() function for the strategy.
Returns: : Table displaying the performance metrics comparison.
Trend Following Strategy - JonerPMình đã tạo một hệ thống chỉ báo giao dịch theo chiến lược Trend Following trong ngôn ngữ Pine Script. Hệ thống sử dụng EMA (Exponential Moving Average), MACD, và RSI để xác định xu hướng và tạo tín hiệu giao dịch (Buy/Sell).
Chi tiết hệ thống:
EMA (50): Xác định xu hướng tổng thể của thị trường.
Giá đóng cửa cao hơn EMA → xu hướng tăng.
Giá đóng cửa thấp hơn EMA → xu hướng giảm.
MACD:
Dòng tín hiệu (Signal Line) và đường MACD được sử dụng để xác nhận giao dịch:
Crossover (MACD > Signal) → tín hiệu Buy.
Crossunder (MACD < Signal) → tín hiệu Sell.
RSI (14):
RSI > 50: Xu hướng tăng mạnh.
RSI < 50: Xu hướng giảm.
Khung thời gian: Chiến lược này phù hợp với khung thời gian dài như H1 hoặc H4 để giảm nhiễu.
Hệ thống tạo tín hiệu:
Buy Signal: Khi MACD giao cắt trên Signal Line, giá đóng cửa cao hơn EMA, và RSI > 50.
Sell Signal: Khi MACD giao cắt dưới Signal Line, giá đóng cửa thấp hơn EMA, và RSI < 50.
Welborg 2024
This script was not built directly by me; but then it is as a result of combining other existing indicators and I would want to say a big thank you to them all; Smoothed Heiken Ashi - SamX by SamAccountX, UT Bot Alerts by QuantNomad, Volumatic Variable Index Dynamic Average by Bigbeluga. The reason for the mashup is that I noticed an increased win rate upon combining them up as per only one indicator use. and modifying the initial settings and back-testing it on GOLD; XAUUSD.
I would love to share with the community so we all can make some money; As the saying goes; sharing is caring.
Secondly; the best time frame for the strategy is 5min, 10min, 15min and 30min.
WHEN YOU GO TO SETTINGS;
Turn off HIGHLIGHTS TREND
GO TO INPUTS;
Turn off the "SHOW WICKS"
And keep the VIDYA Momentum at 1
SAVE AS DEFAULT AND CLICK OKAY.
ON the main chart; hide the candles of the commodity or pair you are on, so you have only the WELBORG displaying it prints.
BUY = Yellow Candle
SELL = Pink Candle
I am from Ghana.
plus two;three,three,five,zero,one,four,two,nine,four,eight,nine
7DIO Bulls - Trend Continuation (Weekly)This strategy, 7DIO Bulls - Bull Market Support Band, identifies opportunities to buy when a faster moving average crosses above a slower one and exits when the reverse occurs. It operates on weekly data, ensuring smooth calculations by filling any gaps. Users can backtest trades within a customizable date range, with visuals for moving averages and crossovers included for clarity. Designed for long-only positions, it leverages 100% of equity per trade with adjustable slippage and commission settings for realistic simulation.
Disclaimer: This strategy is for educational and backtesting purposes only. Past performance is not indicative of future results. Always conduct your own research and consult a financial advisor before making trading decisions.
Buyer vs Seller Volumea good indicator for seeing the sweet change between b v s 3 candles over 60 40 for confirmation
time unit break-even composite lineBuy on the lower diver if the line is upward
Sell on a lower diver if the line is downward
If there are more than two divers at the same location
If the price breaks, you can buy and collect at the price range of the divergence.
USDT: Market cap change
Daily change of the USDT market cap
Change of the USDT market cap over a custom time range
Supports also USDC and DAI
Optionally overlay a moving average
周期性开盘指标 多时间框架的开盘数据:提供日、周、月和年四个时间框架的开盘价数据,帮助交易者从不同时间尺度上分析市场趋势。
趋势分析:比较不同时间框架的开盘价,以识别短期与长期之间的趋势关系,判断市场整体方向和潜在的反转点。
支撑与阻力水平:开盘价作为重要的支撑和阻力水平,帮助交易者识别关键价位,制定交易策略。
市场情绪反映:不同时间框架的开盘价反映市场参与者的情绪和行为,帮助判断市场情绪的变化。
交易决策支持:结合开盘价与其他技术指标,提供全面的市场评估,支持更明智的交易决策。
自动化与可视化:自动计算并绘制在图表上,提供直观的可视化效果,帮助快速识别重要的开盘价变化。