Uptrick: Fisher Eclipse1. Name and Purpose
Uptrick: Fisher Eclipse is a Pine version 6 extension of the basic Fisher Transform indicator that focuses on highlighting potential turning points in price data. Its purpose is to allow traders to spot shifts in momentum, detect divergence, and adapt signals to different market environments. By combining a core Fisher Transform with additional signal processing, divergence detection, and customizable aggressiveness settings, this script aims to help users see when a price move might be losing momentum or gaining strength.
2. Overview
This script uses a Fisher Transform calculation on the average of each bar’s high and low (hl2). The Fisher Transform is designed to amplify price extremes by mapping data into a different scale, making potential reversals more visible than they might be with standard oscillators. Uptrick: Fisher Eclipse takes this concept further by integrating a signal line, divergence detection, bar coloring for momentum intensity, and optional thresholds to reduce unwanted noise.
3. Why Use the Fisher Transform
The Fisher Transform is known for converting relatively smoothed price data into a more pronounced scale. This transformation highlights where markets may be overextended. In many cases, standard oscillators move gently, and traders can miss subtle hints that a reversal might be approaching. The Fisher Transform’s mathematical approach tightens the range of values and sharpens the highs and lows. This behavior can allow traders to see clearer peaks and troughs in momentum. Because it is often quite responsive, it can help anticipate areas where price might change direction, especially when compared to simpler moving averages or traditional oscillators. The result is a more evident signal of possible overbought or oversold conditions.
4. How This Extension Improves on the Basic Fisher Transform
Uptrick: Fisher Eclipse adds multiple features to the classic Fisher framework in order to address different trading styles and market behaviors:
a) Divergence Detection
The script can detect bullish or bearish divergences between price and the oscillator over a chosen lookback period, helping traders anticipate shifts in market direction.
b) Bar Coloring
When momentum exceeds a certain threshold (default 3), bars can be colored to highlight surges of buying or selling pressure. This quick visual reference can assist in spotting periods of heightened activity. After a bar color like this, usually, there is a quick correction as seen in the image below.
c) Signal Aggressiveness Levels
Users can choose between conservative, moderate, or aggressive signal thresholds. This allows them to tune how quickly the indicator flags potential entries or exits. Aggressive settings might suit scalpers who need rapid signals, while conservative settings may benefit swing traders preferring fewer, more robust indications.
d) Minimum Movement Filter
A configurable filter can be set to ensure that the Fisher line and its signal have a sufficient gap before triggering a buy or sell signal. This step is useful for traders seeking to minimize signals during choppy or sideways markets. This can be used to eliminate noise as well.
By combining all these elements into one package, the indicator attempts to offer a comprehensive toolkit for those who appreciate the Fisher Transform’s clarity but also desire more versatility.
5. Core Components
a) Fisher Transform
The script calculates a Fisher value using normalized price over a configurable length, highlighting potential peaks and troughs.
b) Signal Line
The Fisher line is smoothed using a short Simple Moving Average. Crossovers and crossunders are one of the key ways this indicator attempts to confirm momentum shifts.
c) Divergence Logic
The script looks back over a set number of bars to compare current highs and lows of both price and the Fisher oscillator. When price and the oscillator move in opposing directions, a divergence may occur, suggesting a possible upcoming reversal or weakening trend.
d) Thresholds for Overbought and Oversold
Horizontal lines are drawn at user-chosen overbought and oversold levels. These lines help traders see when momentum readings reach particular extremes, which can be especially relevant when combined with crossovers in that region.
e) Intensity Filter and Bar Coloring
If the magnitude of the change in the Fisher Transform meets or exceeds a specified threshold, bars are recolored. This provides a visual cue for significant momentum changes.
6. User Inputs
a) length
Defines how many bars the script looks back to compute the highest high and lowest low for the Fisher Transform. A smaller length reacts more quickly but can be noisier, while a larger length smooths out the indicator at the cost of responsiveness.
b) signal aggressiveness
Adjusts the buy and sell thresholds for conservative, moderate, and aggressive trading styles. This can be key in matching the indicator to personal risk preferences or varying market conditions. Conservative will give you less signals and aggressive will give you more signals.
c) minimum movement filter
Specifies how far apart the Fisher line and its signal line must be before generating a valid crossover signal.
d) divergence lookback
Controls how many bars are examined when determining if price and the oscillator are diverging. A larger setting might generate fewer signals, while a smaller one can provide more frequent alerts.
e) intensity threshold
Determines how large a change in the Fisher value must be for the indicator to recolor bars. Strong momentum surges become more noticeable.
f) overbought level and oversold level
Lets users define where they consider market conditions to be stretched on the upside or downside.
7. Calculation Process
a) Price Input
The script uses the midpoint of each bar’s high and low, sometimes referred to as hl2.
hl2 = (high + low) / 2
b) Range Normalization
Determine the maximum (maxHigh) and minimum (minLow) values over a user-defined lookback period (length).
Scale the hl2 value so it roughly fits between -1 and +1:
value = 2 * ((hl2 - minLow) / (maxHigh - minLow) - 0.5)
This step highlights the bar’s current position relative to its recent highs and lows.
c) Fisher Calculation
Convert the normalized value into the Fisher Transform:
fisher = 0.5 * ln( (1 + value) / (1 - value) ) + 0.5 * fisher_previous
fisher_previous is simply the Fisher value from the previous bar. Averaging half of the new transform with half of the old value smooths the result slightly and can prevent erratic jumps.
ln is the natural logarithm function, which compresses or expands values so that market turns often become more obvious.
d) Signal Smoothing
Once the Fisher value is computed, a short Simple Moving Average (SMA) is applied to produce a signal line. In code form, this often looks like:
signal = sma(fisher, 3)
Crossovers of the fisher line versus the signal line can be used to hint at changes in momentum:
• A crossover occurs when fisher moves from below to above the signal.
• A crossunder occurs when fisher moves from above to below the signal.
e) Threshold Checking
Users typically define oversold and overbought levels (often -1 and +1).
Depending on aggressiveness settings (conservative, moderate, aggressive), these thresholds are slightly shifted to filter out or include more signals.
For example, an oversold threshold of -1 might be used in a moderate setting, whereas -1.5 could be used in a conservative setting to require a deeper dip before triggering.
f) Divergence Checks
The script looks back a specified number of bars (divergenceLookback). For both price and the fisher line, it identifies:
• priceHigh = the highest hl2 within the lookback
• priceLow = the lowest hl2 within the lookback
• fisherHigh = the highest fisher value within the lookback
• fisherLow = the lowest fisher value within the lookback
If price forms a lower low while fisher forms a higher low, it can signal a bullish divergence. Conversely, if price forms a higher high while fisher forms a lower high, a bearish divergence might be indicated.
g) Bar Coloring
The script monitors the absolute change in Fisher values from one bar to the next (sometimes called fisherChange):
fisherChange = abs(fisher - fisher )
If fisherChange exceeds a user-defined intensityThreshold, bars are recolored to highlight a surge of momentum. Aqua might indicate a strong bullish surge, while purple might indicate a strong bearish surge.
This color-coding provides a quick visual cue for traders looking to spot large momentum swings without constantly monitoring indicator values.
8. Signal Generation and Filtering
Buy and sell signals occur when the Fisher line crosses the signal line in regions defined as oversold or overbought. The optional minimum movement filter prevents triggering if Fisher and its signal line are too close, reducing the chance of small, inconsequential price fluctuations creating frequent signals. Divergences that appear in oversold or overbought regions can serve as additional evidence that momentum might soon shift.
9. Visualization on the Chart
Uptrick: Fisher Eclipse plots two lines: the Fisher line in one color and the signal line in a contrasting shade. The chart displays horizontal dashed lines where the overbought and oversold levels lie. When the Fisher Transform experiences a sharp jump or drop above the intensity threshold, the corresponding price bars may change color, signaling that momentum has undergone a noticeable shift. If the indicator detects bullish or bearish divergence, dotted lines are drawn on the oscillator portion to connect the relevant points.
10. Market Adaptability
Because of the different aggressiveness levels and the optional minimum movement filter, Uptrick: Fisher Eclipse can be tailored to multiple trading styles. For instance, a short-term scalper might select a smaller length and more aggressive thresholds, while a swing trader might choose a longer length for smoother readings, along with conservative thresholds to ensure fewer but potentially stronger signals. During strongly trending markets, users might rely more on divergences or large intensity changes, whereas in a range-bound market, oversold or overbought conditions may be more frequent.
11. Risk Management Considerations
Indicators alone do not ensure favorable outcomes, and relying solely on any one signal can be risky. Using a stop-loss or other protections is often suggested, especially in fast-moving or unpredictable markets. Divergence can appear before a market reversal actually starts. Similarly, a Fisher Transform can remain in an overbought or oversold region for extended periods, especially if the trend is strong. Cautious interpretation and confirmation with additional methods or chart analysis can help refine entry and exit decisions.
12. Combining with Other Tools
Traders can potentially strengthen signals from Uptrick: Fisher Eclipse by checking them against other methods. If a moving average cross or a price pattern aligns with a Fisher crossover, the combined evidence might provide more certainty. Volume analysis may confirm whether a shift in market direction has participation from a broad set of traders. Support and resistance zones could reinforce overbought or oversold signals, particularly if price reaches a historical boundary at the same time the oscillator indicates a possible reversal.
13. Parameter Customization and Examples
Some short-term traders run a 15-minute chart, with a shorter length setting, aggressively tight oversold and overbought thresholds, and a smaller divergence lookback. This approach produces more frequent signals, which may appeal to those who enjoy fast-paced trading. More conservative traders might apply the indicator to a daily chart, using a larger length, moderate threshold levels, and a bigger divergence lookback to focus on broader market swings. Results can differ, so it may be helpful to conduct thorough historical testing to see which combination of parameters aligns best with specific goals.
14. Realistic Expectations
While the Fisher Transform can reveal potential turning points, no mathematical tool can predict future price behavior with full certainty. Markets can behave erratically, and a period of strong trending may see the oscillator pinned in an extreme zone without a significant reversal. Divergence signals sometimes appear well before an actual trend change occurs. Recognizing these limitations helps traders manage risk and avoids overreliance on any one aspect of the script’s output.
15. Theoretical Background
The Fisher Transform uses a logarithmic formula to map a normalized input, typically ranging between -1 and +1, into a scale that can fluctuate around values like -3 to +3. Because the transformation exaggerates higher and lower readings, it becomes easier to spot when the market might have stretched too far, too fast. Uptrick: Fisher Eclipse builds on that foundation by adding a series of practical tools that help confirm or refine those signals.
16. Originality and Uniqueness
Uptrick: Fisher Eclipse is not simply a duplicate of the basic Fisher Transform. It enhances the original design in several ways, including built-in divergence detection, bar-color triggers for momentum surges, thresholds for overbought and oversold levels, and customizable signal aggressiveness. By unifying these concepts, the script seeks to reduce noise and highlight meaningful shifts in market direction. It also places greater emphasis on helping traders adapt the indicator to their specific style—whether that involves frequent intraday signals or fewer, more robust alerts over longer timeframes.
17. Summary
Uptrick: Fisher Eclipse is an expanded take on the original Fisher Transform oscillator, including divergence detection, bar coloring based on momentum strength, and flexible signal thresholds. By adjusting parameters like length, aggressiveness, and intensity thresholds, traders can configure the script for day-trading, swing trading, or position trading. The indicator endeavors to highlight where price might be shifting direction, but it should still be combined with robust risk management and other analytical methods. Doing so can lead to a more comprehensive view of market conditions.
18. Disclaimer
No indicator or script can guarantee profitable outcomes in trading. Past performance does not necessarily suggest future results. Uptrick: Fisher Eclipse is provided for educational and informational purposes. Users should apply their own judgment and may want to confirm signals with other tools and methods. Deciding to open or close a position remains a personal choice based on each individual’s circumstances and risk tolerance.
Médias Móveis
Predictive Ranges, SMA, RSI strategyThis strategy combines three powerful technical indicators: Predictive Ranges, Simple Moving Average (SMA), and Relative Strength Index (RSI), to help identify potential market entry and exit points.
Key Features:
Predictive Ranges: The strategy utilizes predictive price levels (such as support and resistance levels) to anticipate potential price movements and possible breakouts. These levels act as critical points for making trading decisions.
SMA (Simple Moving Average): A 200-period SMA is incorporated to determine the overall market trend. The strategy trades in alignment with the direction of the SMA, taking long positions when the price is bellow the SMA and short positions when it is above. This helps ensure the strategy follows the prevailing market trend.
RSI (Relative Strength Index): The strategy uses the RSI (14-period) to gauge whether the market is overbought or oversold. A value above 70 signals that the asset may be overbought, while a value below 30 indicates that it might be oversold. These conditions are used to refine entry and exit points.
Entry & Exit Logic:
Long Entry: The strategy enters a long position when the price crosses above the predictive resistance level (UpLevel1/UpLevel2), and RSI is in the oversold region (below 30), signaling potential upward movement.
Short Entry: The strategy enters a short position when the price crosses below the predictive support level (LowLevel1/LowLevel2), and RSI is in the overbought region (above 70), signaling potential downward movement.
Exit Strategy: The exit levels are determined based on the predictive range levels (e.g., UpLevel1, UpLevel2, LowLevel1, LowLevel2), ensuring that trades are closed at optimal levels. A stop loss and take profit are also applied, based on a user-defined percentage, allowing for automated risk management.
Strategy Advantages:
Trend Following: By using SMA and predictive ranges, this strategy adapts to the prevailing market trend, enhancing its effectiveness in trending conditions.
RSI Filtering: The RSI helps avoid trades in overbought/oversold conditions, refining entry signals and improving the likelihood of success.
Customizable: Traders can adjust parameters such as stop loss, take profit, and predictive range levels, allowing them to tailor the strategy to their preferred risk tolerance and market conditions.
This strategy is designed for traders who prefer a combination of trend-following and mean-reversion techniques, with a focus on predictive market levels and essential momentum indicators to improve trade accuracy.
Grand Indicator
The "Grand Indicator" is a comprehensive technical analysis tool that combines multiple indicators to provide a complete market view. It primarily focuses on momentum, trend, and volume analysis to generate trading signals.
• Core Components Combined:
- RSI (Relative Strength Index)
- MACD (Modified with OBV)
- Stochastic
- Multiple Moving Average variations
This indicator normalizes all components to a 0-100 scale for easier visual comparison and analysis. It uses a dual confirmation system that requires both RSI and MACD signals to align before generating trading signals. The RSI component monitors overbought and oversold conditions, while the modified MACD incorporates volume analysis through OBV (On-Balance Volume) to confirm price movements.
The indicator includes a sophisticated moving average system that offers multiple calculation methods including DEMA, TEMA, EMA, and several other variations. This flexibility allows traders to fine-tune the trend analysis component to their preferences. The stochastic component adds another layer of analysis by identifying potential reversal points through overbought and oversold conditions.
Trading signals are generated when multiple conditions align. A buy signal appears when the RSI crosses above the oversold level while the MACD turns upward. Conversely, a sell signal is generated when the RSI crosses below the overbought level while the MACD turns downward. These signals are visually displayed through background colors and markers on the chart.
• Key Technical Elements Used:
- Volume analysis (OBV)
- Momentum indicators (RSI, Stochastic)
- Trend analysis (Various MAs)
- Price action
- Multiple timeframe analysis capability
The indicator provides a comprehensive view of market conditions by combining these various technical analysis tools into a single, normalized display.
Squeeze Momentum Strategy [esonusharma]The strategy is based on John Carter's TTM squeeze indicator with some modifications.
Strategy is only for Long trades and not for Short trades .
It combines Bollinger Bands and Keltner Channels to identify periods of low volatility (squeezes) and capitalise on breakout opportunities.
Key Features:
Squeeze Detection: Identifies low-volatility periods using the relationship between Bollinger Bands and Keltner Channels:
Squeeze ON: When Bollinger Bands are inside Keltner Channels.
Squeeze OFF: When Bollinger Bands expand beyond Keltner Channels, signalling potential breakouts.
Momentum Analysis: Uses a custom momentum histogram based on the midline of the Donchian Channel and SMA to assess the strength and direction of price movements.
Green Histogram: Upward momentum.
Red Histogram: Downward momentum.
Backtesting: Start and end dates for precise historical analysis.
Squeeze Background: Highlighted background when a squeeze is active.
Trade Automation: Long trades are initiated after a squeeze ends with upward momentum.
Exits are governed by EMA conditions and profit targets.
Crosses MAs (+ BB, RSI)This indicator displays the crosses of MA's with different length, the Bollinger bands and the current value of the RSI in table. Almost all of this can be customized.
Mean Reversion Pro Strategy [tradeviZion]Mean Reversion Pro Strategy : User Guide
A mean reversion trading strategy for daily timeframe trading.
Introduction
Mean Reversion Pro Strategy is a technical trading system that operates on the daily timeframe. The strategy uses a dual Simple Moving Average (SMA) system combined with price range analysis to identify potential trading opportunities. It can be used on major indices and other markets with sufficient liquidity.
The strategy includes:
Trading System
Fast SMA for entry/exit points (5, 10, 15, 20 periods)
Slow SMA for trend reference (100, 200 periods)
Price range analysis (20% threshold)
Position management rules
Visual Elements
Gradient color indicators
Three themes (Dark/Light/Custom)
ATR-based visuals
Signal zones
Status Table
Current position information
Basic performance metrics
Strategy parameters
Optional messages
📊 Strategy Settings
Main Settings
Trading Mode
Options: Long Only, Short Only, Both
Default: Long Only
Position Size: 10% of equity
Starting Capital: $20,000
Moving Averages
Fast SMA: 5, 10, 15, or 20 periods
Slow SMA: 100 or 200 periods
Default: Fast=5, Slow=100
🎯 Entry and Exit Rules
Long Entry Conditions
All conditions must be met:
Price below Fast SMA
Price below 20% of current bar's range
Price above Slow SMA
No existing position
Short Entry Conditions
All conditions must be met:
Price above Fast SMA
Price above 80% of current bar's range
Price below Slow SMA
No existing position
Exit Rules
Long Positions
Exit when price crosses above Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
Short Positions
Exit when price crosses below Fast SMA
No fixed take-profit levels
No stop-loss (mean reversion approach)
💼 Risk Management
Position Sizing
Default: 10% of equity per trade
Initial capital: $20,000
Commission: 0.01%
Slippage: 2 points
Maximum one position at a time
Risk Control
Use daily timeframe only
Avoid trading during major news events
Consider market conditions
Monitor overall exposure
📊 Performance Dashboard
The strategy includes a comprehensive status table displaying:
Strategy Parameters
Current SMA settings
Trading direction
Fast/Slow SMA ratio
Current Status
Active position (Flat/Long/Short)
Current price with color coding
Position status indicators
Performance Metrics
Net Profit (USD and %)
Win Rate with color grading
Profit Factor with thresholds
Maximum Drawdown percentage
Average Trade value
📱 Alert Settings
Entry Alerts
Long Entry (Buy Signal)
Short Entry (Sell Signal)
Exit Alerts
Long Exit (Take Profit)
Short Exit (Take Profit)
Alert Message Format
Strategy name
Signal type and direction
Current price
Fast SMA value
Slow SMA value
💡 Usage Tips
Consider starting with Long Only mode
Begin with default settings
Keep track of your trades
Review results regularly
Adjust settings as needed
Follow your trading plan
⚠️ Disclaimer
This strategy is for educational and informational purposes only. It is not financial advice. Always:
Conduct your own research
Test thoroughly before live trading
Use proper risk management
Consider your trading goals
Monitor market conditions
Never risk more than you can afford to lose
📝 Credits
Inspired by:
"Mean Reversion Trading Strategy for a High Win Rate" - YouTube channel "The Transparent Trader"
"Highly Reliable Mean Reversion Trading Strategy Backtested x Millions of Trades" - YouTube channel "seriousbacktester"
"Trade with Discipline, Manage Risk, Stay Consistent" - tradeviZion
Distance Between Price and EMA with SD BandsMade with chatgpt.
The indicator measures the distance between price and an EMA of choice, with SD1 and SD2.
Disable plot and ema to see the actual indicator.
Ultra Disparity IndexGain insights into price movements across multiple timeframes with the Ultra Disparity Index . This indicator highlights overbought/oversold levels based on price disparities from moving averages.
Introduction
The Ultra Disparity Index is designed for traders who seek a deeper understanding of price movements and trends across various timeframes. By analyzing the disparity between the current price and its moving averages, the indicator helps identify overbought and oversold conditions.
Detailed Description
The indicator works by calculating the percentage difference between the current price and its moving averages over four user-defined lengths. It operates on multiple timeframes monthly, weekly, daily, 4-hour, and 1-hour giving traders a comprehensive view of market dynamics.
.........
Disparity Calculation
The indicator computes how far the current price is from moving averages to reveal the degree of disparity.
.....
Overbought/Oversold Zones
By normalizing disparities into percentages relative to the overbought/oversold range, the indicator represents overbought (100%) and oversold (-100%).
.....
Timeframe Flexibility
The user can visualize data from monthly to hourly intervals, ensuring adaptability to different trading strategies.
.....
Customizable Inputs
Users can configure moving average lengths and toggle visibility for specific timeframes and levels.
.........
Summary
The indicator uses simple moving averages (SMAs) as a benchmark for calculating disparity. This disparity is then analyzed using statistical tools, such as standard deviation, to derive meaningful levels. Finally, the results are visualized in a table, providing traders with an easy-to-read summary of disparity values and their respective normalized percentages.
The Game of Momentum_ArrowsStock prediction based on momentum:
1. Momentum Crosses Above Average - 1st Tranche entry
2. Momentum Turns Blue - Full Entry
3. Momentum Turns Red - Exit Half
4. Momentum Crosses Below Average - Exit
Open Close Cross Strategy R5.1 with SL/TPOpen Close Cross Strategy with SL/TP.
SL can be set at the low or high from the last candels.
TP can be changed about R:R.
8 EMA and 20 EMA with CrossoversThis Pine Script is designed to plot two Exponential Moving Averages (EMAs) on the chart:
8-period EMA (Blue Line):
This is a faster-moving average that reacts more quickly to recent price changes. It uses the last 8 periods (bars) of the price data to calculate the average.
It is plotted in blue to distinguish it from the other EMA.
20-period EMA (Red Line):
This is a slower-moving average that smooths out the price data over a longer period of time, providing a better indication of the overall trend.
It is plotted in red to visually differentiate it from the 8-period EMA.
Key Features:
Version: This script is written in Pine Script version 6.
Overlay: The EMAs are plotted directly on the price chart, allowing for easy visualization of the moving averages relative to the price action.
Visual Appearance:
The 8-period EMA is displayed with a blue line.
The 20-period EMA is displayed with a red line.
Both lines have a thickness of 2 to make them more prominent.
Purpose:
The combination of these two EMAs can be used for trend analysis and trading strategies:
A bullish signal is often seen when the faster (8-period) EMA crosses above the slower (20-period) EMA.
A bearish signal is typically generated when the faster (8-period) EMA crosses below the slower (20-period) EMA.
Traders use these EMAs to help determine market trends, potential entry points, and exit points based on crossovers and price interactions with these moving averages.
Customizable MTF Multiple Moving AveragesTitle:
Customizable Multiple Moving Averages with Dynamic Colors
Description:
This script allows you to calculate up to three customizable moving averages, offering the flexibility to choose from multiple moving average types:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted Moving Average)
SMMA (Smoothed Moving Average)
Key Features:
Separate Timeframe for Each Moving Average:
Each moving average can be calculated on a different timeframe. For instance, you can display a 1D moving average while working on a 4H chart.
Dynamic Colors:
Moving averages dynamically change color based on their trend:
Uptrend Color: When the moving average is increasing compared to the previous bar of its timeframe.
Downtrend Color: When the moving average is decreasing.
Full Customization:
Length: Adjust the period for each moving average.
Source: Choose any price data source (e.g., close, open, high, low).
Colors: Set custom colors for uptrend and downtrend behavior.
Perfect For:
Multi-Timeframe Trend Analysis:
Observe trends from higher timeframes without switching your current chart.
Crossover Strategies:
Combine multiple moving averages to identify entry and exit signals.
How to Use:
Load the Script: Apply it to your chart.
Configure Inputs: Adjust each moving average's settings from the input panel.
Analyze Trends: Visualize dynamic trend movements with easy-to-identify colors.
Example Configuration:
Set MA1 to a 50-period EMA on a 4H timeframe.
Set MA2 to a 100-period SMMA on a 1D timeframe.
Set MA3 to a 200-period VWMA on a 1W timeframe.
MA & EMA Crossover//@version=5
indicator("MA & EMA Crossover", overlay=true)
// Input Parameters
ma_length = input.int(20, title="MA Length", minval=1)
ema_length = input.int(10, title="EMA Length", minval=1)
// Calculations
ma = ta.sma(close, ma_length)
ema = ta.ema(close, ema_length)
// Signal Conditions
buy_signal = ta.crossover(ema, ma) // EMA crosses above MA
sell_signal = ta.crossunder(ema, ma) // EMA crosses below MA
// Plot MA and EMA
plot(ma, color=color.blue, title="MA (20)", linewidth=2)
plot(ema, color=color.red, title="EMA (10)", linewidth=2)
// Buy and Sell Signals
plotshape(series=buy_signal, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", text="BUY")
plotshape(series=sell_signal, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", text="SELL")
// Alerts
alertcondition(buy_signal, title="Buy Alert", message="EMA crossed above MA - Buy Signal")
alertcondition(sell_signal, title="Sell Alert", message="EMA crossed below MA - Sell Signal")
Smart Money Concept Forex Strategy by versaceWell deserve fx strategy with high win rate, its based on smart money concept it gives u entry and exit positions trade wisely thanks rate me later
Sweaty Palms MA (50/100/200 + 250)Sweaty Palms Multiple MA (50/100/200 + 250)
A comprehensive moving average indicator combining the most powerful technical levels used by institutional traders. Features crystal-clear visualization of major moving averages with distinct colors and dynamic labels for enhanced clarity.
Features:
• Multiple MA types available (SMA, EMA, WMA, RMA, HMA)
• Four key moving averages: 50, 100, 200, and optional 250
• Institutional-grade color coding:
- Blue (50 MA): Short-term trend
- Orange (100 MA): Intermediate trend
- Purple (200 MA): Long-term trend
- White (250 MA): Extra long-term trend
• Dynamic labels that move with price
• Optional 250 MA toggle for reduced chart clutter
• Customizable MA lengths
Key Applications:
• Major Support/Resistance Levels: These MAs are widely watched by institutional traders
• Bull/Bear Market Definition: Price above/below 200 MA
• Golden/Death Cross: 50 & 200 MA crossovers
• Multiple Timeframe Analysis: Different MAs for different trading horizons
• Trend Strength: Spacing and alignment of MAs indicate trend strength
Settings:
• MA Type: Choose between SMA, EMA, WMA, RMA, HMA
• Customizable lengths for all MAs
• Toggle option for 250 MA
• Clean label display showing MA periods
Note: This indicator combines the most followed moving averages in financial markets. The 50, 100, and 200 MAs are particularly significant as they are watched by large institutions and often create self-fulfilling support/resistance levels.
Created by SweatyPalmsAlgo
Multiframe - EMAs + RSI LevelsThis indicator was created to make life easier for all traders, including the main market indicators, such as EMAs 12, 26 and 200 + respective EMAs in higher time frames, and complemented with RSI Levels that vary from overbought 70 - 90 and oversold 30 - 10.
The Indicator can be configured to make the chart cleaner according to your wishes.
Macd MOD Mr.NPMACD MOD MR.NP
14-1-2025
- Added SIGNAL when the MACD crosses the 0 line.
- Added BACKGROUND COLOR when the MACD crosses the 0 line.
- Added CROSS SIGNAL when the MACD crosses up/down the SIGNAL line.
HamzLabs - OB + EMA + PSARThe "HamzLabs - OB + EMA + PSAR" indicator is a powerful tool designed for traders who want a comprehensive view of market trends and potential reversal points. It combines three main features: Parabolic SAR (PSAR), Order Blocks (OB), and an EMA Ribbon.
PSAR: The PSAR helps spot trend direction and potential reversals. It’s plotted as a dynamic line above or below price. Green lines indicate an upward trend, while aqua lines signify a downward trend.
Order Blocks: These highlight areas where the price might reverse or consolidate. Bullish order blocks suggest areas of strong buying interest, and bearish order blocks indicate selling pressure. These blocks are dynamically drawn on the chart and adjust as the price evolves.
Alerts: The script provides alerts when the price enters these order blocks, helping traders act quickly on potential buy or sell opportunities.
Customization: You can adjust the sensitivity of order block detection, PSAR settings, and visual styles to suit your trading strategy.
Together, these tools help you identify key levels, spot trends, and time your trades more effectively, all while maintaining clear and customizable visuals. Perfect for dark mode charts!
Sweaty Palms 9/21 EMASweaty Palms 9/21 EMA
A clean and efficient implementation of the widely-used 9 & 21 EMA combination. This indicator helps traders identify trend direction and potential support/resistance levels with easily distinguishable colors and clear labels.
Features:
• Customizable EMA lengths (default 9/21)
• Clear color coding: Green for faster EMA, Gold for slower EMA
• Dynamic labels that move with price
• Toggle visibility for each EMA
• Clean, uncluttered display
Key Use Cases:
• Trend Direction: When the faster EMA is above the slower EMA, it suggests an uptrend, and vice versa
• Dynamic Support/Resistance: These EMAs often act as support in uptrends and resistance in downtrends
• Momentum: The spacing between EMAs can indicate trend strength
• Trade Signals: Crossovers between EMAs can signal potential entry/exit points
Settings:
• First EMA Length: Default 9 (customizable)
• Second EMA Length: Default 21 (customizable)
• Show/Hide options for each EMA
Note: This indicator is designed for clarity and ease of use, making it suitable for both beginners and experienced traders. The default settings of 9/21 are popular among day traders, but can be adjusted to suit any trading style or timeframe.
Created by SweatyPalmsAlgo
SPXL strategy based on HighYield Spread (TearRepresentative56)This strategy is focused on leveraged funds (SPXL as basis that stands for 3x S&P500) and aims at maximising profit while keeping potential drawdowns at measurable level
Originally created by TearRepresentative56, I`m not the author of the concept, just backtesting it and sharing with the community
Key idea : Buy or Sell AMEX:SPXL SPXL if triggered
Trigger: HighYield Spread Change ( FRED:BAMLH0A0HYM2 BAMLH0A0HYM2). BAMLH0A0HYM2 can be used as indicator of chop/decline market (if spread rises significantly)
How it works :
1. Track BAMLH0A0HYM2 for 30% decline from local high marks the 'buy' trigger for SPXL (with all available funds)
2. When BAMLH0A0HYM2 increases 30% from local low (AND is higher then 330d EMA) strategy will signal with 'sell' trigger (sell all available contracts)
3. When in position strategy shows signal to DCA each month (adding contracts to position)
Current version update :
Added DCA function
User can provide desired amount of funds added into SPXL each month.
Funds will be added ONLY when user holds position already and avoids DCAing while out of the market (while BAML is still high)
Backtesting results :
11295% for SPXL (since inception in 2009) with DCAing of 500USD monthly
4547% for SPXL (since inception in 2009) without DCA (only 10 000USD invested initially)
For longer period: even with SP500 (no leverage) the strategy provides better results than Buy&Hold (420% vs 337% respectively since 1999)
Default values (can be changed by user):
Start investing amount = 10 000 USD
Decline % (Entry trigger) = 30%
Rise % (Exit trigger) = 30%
Timeframe to look for local high/low = 180 days
DCA amount = 500 USD
Inflation yearly rate for DCA amount = 2%
EMA to track = 330d
Important notes :
1. BAMLH0A0HYM2 is 1 day delayed (that provides certain lag)
2. Highly recommended to select 'on bar close' option in properties of the strategy
3. Please use DAILY SPXL chart.
4. Strategy can be used with any other ticker - SPX, QQQ or leveraged analogues (while basic scenario is still in SPXL)
50 SMA StrategyThe strategy has been updated to use the 50 SMA with entry and exit conditions based on candle closes above and below the SMA. Let me know if there’s anything else to modify!