Lunar calendar day Crypto Trading StrategyLunar calendar day Crypto Trading Strategy
This strategy explores the potential impact of the lunar calendar on cryptocurrency price cycles.
It implements a simple but unconventional rule:
Buy on the 5th day of each lunar month
Sell on the 26th day of the lunar month
No trades between January 1 (solar) and Lunar New Year’s Day (holiday buffer period)
Research background
Several academic studies have investigated the influence of lunar cycles on financial markets. Their findings suggest:
Returns tend to be higher around the full moon compared to the new moon.
Periods between the full moon and the waning phase often show stronger average returns than the waxing phase.
This strategy combines those observations into a practical implementation by testing fixed entry (lunar day 5) and exit (lunar day 26) points, while excluding the transition period from solar New Year to Lunar New Year, effectively capturing mid-month lunar effects.
How it works
The script includes a custom lunar date calculation function, reconstructing lunar months and days for each year (2020–2026).
On lunar day 5, the strategy opens a long position with 100% of equity.
On lunar day 26, the strategy closes the position.
No trades are executed between Jan 1 and Lunar New Year’s Day.
All trades include:
Commission: 0.1%
Slippage: 3 ticks
Position sizing uses the entire equity (100%) for simplicity, but this is not recommended for live trading.
Why this is original
Unlike mashups of built-in indicators, this script:
Implements a full lunar calendar system inside Pine Script.
Translates academic findings on lunar effects into an applied backtest.
Adds a realistic trading filter (holiday gap) based on cultural/seasonal calendar rules.
Provides researchers and traders with a framework to explore non-traditional, time-based signals.
Notes
This is an experimental, research-oriented strategy, not financial advice.
Results are highly dependent on the chosen period (2020–2026).
Using 100% equity per trade is for simplification only and is not a viable money management practice.
The purpose is to investigate whether cyclical patterns linked to lunar time can provide any statistical edge in ETHUSDT.
Indicatori e strategie
Script_Algo - ORB Strategy with Filters🔍 Core Concept: This strategy combines three powerful technical analysis tools: Range Breakout, the SuperTrend indicator, and a volume filter. Additionally, it features precise customization of the number of candles used to construct the breakout range, enabling optimized performance for specific assets.
🎯 How It Works:
The strategy defines a trading range at the beginning of the trading session based on a selected number of candles.
It waits for a breakout above the upper or below the lower boundary of this range, requiring a candle close.
It filters signals using the SuperTrend indicator for trend confirmation.
It utilizes trading volume to filter out false breakouts.
⚡ Strategy Features
📈 Entry Points:
Long: Candle close above the upper range boundary + SuperTrend confirmation
Short: Candle close below the lower range boundary + SuperTrend confirmation
🛡️ Risk Management:
Stop-Loss: Set at the opposite range boundary.
Take-Profit: Calculated based on a risk/reward ratio (3:1 by default).
Position Size: 10 contracts (configurable).
⚠️ IMPORTANT SETTINGS
🕐 Time Parameters:
Set the correct time and time zone!
❕ATTENTION: The strategy works ONLY with correct time settings! Set the time corresponding to your location and trading session.
📊 This strategy is optimized for trading TESLA stock!
Parameters are tailored to TESLA's volatility, and trading volumes are adequate for signal filtering. Trading time corresponds to the American session.
📈 If you look at the backtesting results, you can see that the strategy could potentially have generated about 70 percent profit on Tesla stock over six months on 5m timeframe. However, this does not guarantee that results will be repeated in the future; remain vigilant.
⚠️ For other assets, the following is required:
Testing and parameter optimization
Adjustment of time intervals and the number of candles forming the range
Calibration of stop-loss and take-profit levels
⚠️ Limitations and Drawbacks
🔗 Automation Constraints:
❌ Cannot be directly connected via Webhook to CFD brokers!
Additional IT solutions are required for automation, thus only manual trading based on signals is possible.
📉 Risk Management:
Do not risk more than 2-3% of your account per trade.
Test on historical data before live use.
Start with a demo account.
💪 Strategy Advantages
✅ Combined approach – multiple signal filters
✅ Clear entry and exit rules
✅ Visual signals on the chart
✅ Volume-based false breakout filtering
✅ Automatic position management
🎯 Usage Recommendations
Always test the strategy on historical data.
Start with small trading volumes.
Ensure time settings are correct.
Adapt parameters to current market volatility.
Use only for stocks – futures and Forex require adaptation.
📚 Suitable Timeframes - M1-M15
Only highly liquid stocks
🍀 I wish all subscribers good luck in trading and steady profits!
📈 May your charts move in the right direction!
⚠️ Remember: Trading involves risk. Do not invest money you cannot afford to lose!
SingleBarFastMagetAutomatically conduct quick transactions to the magnet based on the conditions of the magnet, i b s and trend bar
基于磁体、IBS和趋势K的条件自动进行急赴磁体的交易
Script_Algo - High Low Range MA Crossover Strategy🎯 Core Concept
This strategy uses modified moving averages crossover, built on maximum and minimum prices, to determine entry and exit points in the market. A key advantage of this strategy is that it avoids most false signals in trendless conditions, which is characteristic of traditional moving average crossover strategies. This makes it possible to improve the risk/reward ratio and, consequently, the strategy's profitability.
📊 How the Strategy Works
Main Mechanism
The strategy builds 4 moving averages:
Two senior MAs (on high and low) with a longer period
Two junior MAs (on high and low) with a shorter period
Buy signal 🟢: when the junior MA of lows crosses above the senior MA of highs
Sell signal 🔴: when the junior MA of highs crosses below the senior MA of lows
As seen on the chart, it was potentially possible to make 9X on the WIFUSDT cryptocurrency pair in just a year and a half. However, be careful—such results may not necessarily be repeated in the future.
Special Feature
Position closing priority ❗: if an opposite signal arrives while a position is open, the strategy first closes the current position and only then opens a new one
⚙️ Indicator Settings
Available Moving Average Types
EMA - Exponential MA
SMA - Simple MA
SSMA - Smoothed MA
WMA - Weighted MA
VWMA - Volume Weighted MA
RMA - Adaptive MA
DEMA - Double EMA
TEMA - Triple EMA
Adjustable Parameters
Senior MA Length - period for long-term moving averages
Junior MA Length - period for short-term moving averages
✅ Advantages of the Strategy
🛡️ False Signal Protection - using two pairs of modified MAs reduces the number of false entries
🔄 Configuration Flexibility - ability to choose MA type and calculation periods
⚡ Automatic Switching - the strategy automatically closes the current position when receiving an opposite signal
📈 Visual Clarity - all MAs are displayed on the chart in different colors
⚠️ Disadvantages and Risks
📉 Signal Lag - like all MA-based strategies, it may provide delayed signals during sharp movements
🔁 Frequent Switching - in sideways markets, it may lead to multiple consecutive position openings/closings
📊 Requires Optimization - optimal parameters need to be selected for different instruments and timeframes
💡 Usage Recommendations
Backtest - test the strategy's performance on historical data
Optimize Parameters - select MA periods suitable for the specific trading instrument
Use Filters - add additional filters to confirm signals
Manage Risks - always use stop-loss and take-profit orders.
You can safely connect to the exchange via webhook and enjoy trading.
Good luck and profits to everyone!!
MA20 Crossover Strategy with Threshold and Color ChangeMột chiến lược cơ bản dựa trên EMA20. Giá cắt lên MA20 hay EMA20 thi báo mua và ngược lại
Script_Algo - Fibo Correction Strategy🔹 Core Concept
The strategy is built on combining Fibonacci retracement levels, candlestick pattern confirmation, and trend filtering for trade selection. It performs well on the 1-hour timeframe across many cryptocurrency pairs. Particularly on LINKUSDT over the past year and a half, despite the not very optimal 1:1 risk/reward ratio.
The logic is simple: after a strong impulse move, the price often retraces to key Fibonacci levels (specifically, the 61.8% level). If a confirming candlestick (pattern) appears at this moment, the strategy looks for an entry in the direction of the main trend.
🔹 Indicators Used in the Strategy
ATR (Average True Range) — Used to calculate the stop-loss and take-profit levels.
EMA (9 and 21) — Additional moving averages for assessing the direction of movement (not directly used in entry conditions, but the logic can be expanded to include them).
SMA (Trend Filter, 20 by default) — The trend direction filter. Trades are only opened in its direction.
Fibonacci Levels — The 61.8% retracement level is calculated based on the high and low of the previous candle.
🔹 Entry Conditions
🟢 Long (Buy):
Previous Candle:
Must be green (close higher than open).
Must have a body not smaller than a specified minimum.
The upper wick must not exceed 30% of the body size.
→ This filters out "weak" or "indecisive" candles.
Current Candle:
Price touches or breaches the Fibonacci 61.8% retracement level from the previous range.
Closes above this level.
Closes above the Trend Filter (SMA) line.
A position is opened only if there are no other open trades at the moment.
🔴 Short (Sell):
Previous Candle:
Must be red (close lower than open).
Must have a body not smaller than a specified minimum.
The lower wick must not exceed 30% of the body size.
Current Candle:
Price touches or breaches the Fibonacci 61.8% retracement level from the previous range.
Closes below this level.
Closes below the Trend Filter (SMA) line.
A trade is opened only if there are no other open positions.
🔹 Risk Management
Stop-Loss = ATR × multiplier (default is 5).
Take-Profit = ATR × the same multiplier.
Thus, the default risk/reward ratio is 1:1, but it can be easily adjusted by changing the coefficient. Although, strangely enough, this ratio has shown the best results on some assets on the 1-hour timeframe.
🔹 Chart Visualization
Fibonacci level for Long — Green line with circles.
Fibonacci level for Short — Red line with circles.
Trend Filter line (SMA) — Blue.
🔹 Strengths of the Strategy
✅ Utilizes a proven market pattern — retracement to the 61.8% level.
✅ Further filters entries using trend and candlestick patterns.
✅ Simple, transparent logic that is easy to expand (e.g., adding other Fib levels, an EMA filter, etc.).
🔹 Limitations
⚠️ Performs better in trending markets; can generate false signals during ranging (sideways) conditions.
⚠️ The fixed 1:1 risk/reward ratio is not always optimal and could be refined.
⚠️ Performance depends on the selected timeframe and ATR parameters.
📌 Summary:
The strategy seeks corrective entries in the direction of the trend, confirmed by candlestick patterns. It is versatile and can be applied to forex pairs, cryptocurrencies, and stocks.
⚠️ Not financial advice. Pay close attention to risk management to avoid blowing your account. The strategy is not repainting — I have personally verified it through real testing — but it may not necessarily replicate the same results in the future, as the market is constantly changing. Test it, profit, and good luck to everyone!
Golden Cross Strategy & BacktesterGolden Cross Strategy & Backtester 📈🚀
Overview
This script provides a complete backtesting environment for the classic Golden Cross trend-following strategy. It is designed to be simple, visual, and easy to use. 💪
The strategy operates on the following logic:
🔼 Long Entry: A "Buy" signal is generated when the short-term moving average (Short MA) crosses above the long-term moving average (Long MA).
🔽 Exit: The position is closed when the short-term moving average crosses back below the long-term moving average (a "Death Cross").
The background of the chart will be shaded green 🎨 during periods when the strategy is holding an active position.
How to Use for Backtesting 🔬
This is a strategy script, which means its main purpose is to test the historical performance of this trading idea.
Add this script to your chart.
Open the "Strategy Tester" panel at the bottom of your chart.
In the "Overview" and "Performance" tabs, you can see detailed results 📊, such as the Net Profit and Max Drawdown, to evaluate the strategy's effectiveness.
Customization ⚙️
You can easily customize the strategy's parameters without editing the code.
Click the Settings/Gear icon (⚙️) next to the script's name on your chart.
In the "Inputs" tab, you can change:
📏 Short MA Length: The period for the fast-moving average (default is 50).
📏 Long MA Length: The period for the slow-moving average (default is 200).
In the "Properties" tab, you can change:
💰 Initial Capital: The starting balance for the backtest.
Feel free to test different settings to find what works best for your preferred asset and timeframe! Happy testing! 🎉
MTF RSI + ADX + ATR SL/TP vivekDescription:
This strategy combines the power of multi-timeframe RSI filtering with ADX trend confirmation and ATR-based risk management to capture strong directional moves.
🔑 Entry Rules:
• Daily RSI > 60
• 4H RSI > 60
• 1H RSI > 60
• 10m RSI > 40
• ADX (current timeframe) > 20
When all conditions align, a long entry is triggered.
🛡 Risk Management:
• ATR-based Stop-Loss (customizable multiplier)
• Take-Profit defined as a Risk-Reward multiple of the ATR stop
🎯 Why this Strategy?
• Ensures alignment across higher timeframes before entering a trade
• Uses ADX to avoid choppy/range-bound markets
• Built-in ATR stop-loss & take-profit for disciplined risk control
• Fully customizable parameters
This strategy is designed for trend-following swing entries. It works best on liquid instruments such as indices, forex pairs, and large-cap stocks. Always optimize the parameters based on your preferred asset and timeframe.
MTF RSI + ADX + ATR SL/TPThis strategy combines the power of multi-timeframe RSI filtering with ADX trend confirmation and ATR-based risk management to capture strong directional moves.
🔑 Entry Rules:
• Daily RSI > 60
• 4H RSI > 60
• 1H RSI > 60
• 10m RSI > 40
• ADX (current timeframe) > 20
When all conditions align, a long entry is triggered.
🛡 Risk Management:
• ATR-based Stop-Loss (customizable multiplier)
• Take-Profit defined as a Risk-Reward multiple of the ATR stop
🎯 Why this Strategy?
• Ensures alignment across higher timeframes before entering a trade
• Uses ADX to avoid choppy/range-bound markets
• Built-in ATR stop-loss & take-profit for disciplined risk control
• Fully customizable parameters
This strategy is designed for trend-following swing entries. It works best on liquid instruments such as indices, forex pairs, and large-cap stocks. Always optimize the parameters based on your preferred asset and timeframe.
Imbalance No SL📊 Strategy Name: Imbalance No SL
This strategy specially trades on price jumps (true imbalances) in the market, takes advantage of momentum only, and as soon as the opposite signal and profit is received, the trade is closed immediately.
Imbalance No SL strategy specially generates buy and sell signals based on "Imbalance" logic, without any fixed Stop Loss.
🔍 Core Logic
Imbalance Detection
Bullish Imbalance : When the low of the current candle is above the high of the previous candle.
(i.e. a jump type gap occurred in the market – demand is high, price went straight up)
Bearish Imbalance : When the high of the current candle is below the low of the previous candle.
(i.e. the market suddenly fell down)
Creating Visual Box and Label on Signal:
As soon as bullish imbalance is found, green box & IMB BULL label is displayed on the chart.
Bearish has red box & IMB BEAR label.
Trade Entry Logic
BUY on Bullish Imbalance: If there is already a buy or neutral position, then a new “BUY” signal will fire.
SELL on Bearish Imbalance: If already in sell or neutral position, then new “SELL” signal will fire.
You can set quantity/lot size from ‘qty’ input field.
Trade Average Calculation
Buy/Sell maintains average price and their count (so that if averaging is done then correct P&L is calculated).
Trade Exit Logic (Profit Booking/Signal Reverse)
If your buy is going on and bearish imbalance is formed + price is above your average, then buy will be closed (profit condition).
If sell is going on and bullish imbalance is formed + price is below average, then sell will be closed.
Chart Cleaning/Management
Only keep the label and box of the latest signal on the chart, old boxes/labels are automatically deleted.
Alert
You can get alert on bullish or bearish signal (by using alert feature of TradingView).
✅ Simple Explanation for User
This strategy buys or sells directly at the gap (imbalance).
Whenever there is a clear signal of momentum in the market (breakout of the gap), then the trade entry takes place.
When there is an imbalance in the opposite direction and profit is made, the system closes the trade (closes).
There is no fixed stop-loss, risk management is handled by trade averaging/close.
You will know at every point on the visually chart that at which bar the buy, sell and exit took place.
⚠️ What to remember?
If the market is in trend then this script gives very good signals.
In choppy/sideways market, some loss trades can also come because there is no SL.
Big profit or big loss – both depend on the imbalance signal and market speed.
Volume Spike Strategy - Black GUIA volume spike strategy that buys when the volume is 150% above the 20-day average and the price is increasing.
The strategy uses a black-themed GUI for better visibility.
You can customize the volume spike multiplier and the length of the volume moving average using the input parameters.
This strategy is effective for identifying potential breakout points in the market. Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
ADX with DI+/- Crossover StrategyAn ADX-based strategy that buys when the DI+ line crosses above the DI- line with the ADX above a specified threshold (default 25), and sells when the opposite occurs.
The strategy features a black-themed GUI for enhanced visibility.
You can adjust the ADX length and threshold using the input parameters.
This strategy is useful for identifying strong trends in the market.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
Parabolic SAR Trend Following - Black GUIA Parabolic SAR-based strategy that buys when the SAR dots are below the price and sells when they are above.
The strategy uses a black-themed GUI for better visibility.
You can customize the input parameters for the SAR calculation.
This strategy is effective for trending markets.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
MACD Signal Line Crossover - Black GUIA MACD-based strategy that buys when the MACD line crosses above the signal line and sells when it crosses below.
The strategy uses a black-themed GUI for better visibility.
You can customize the lengths of the MACD and signal line using the input parameters.
This strategy is effective for identifying trend changes and momentum shifts in the market.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
VWAP Executor — v6 (VWAP fix)tarek helishPractical scalping plan with high-rate (sometimes reaching 70–85% in a quiet market)
Concept: “VWAP bounce with a clear trend.”
Tools: 1–3-minute chart for entry, 5-minute trend filter, VWAP, EMA(50) on 5M, ATR(14) on 1M, volume.
When to trade: London session or early New York session; avoid 10–15 minutes before/after high-impact news.
Entry rules (buy for example):
Trend: Price is above the EMA(50) on 5M and has an upward trend.
Entry zone: First bounce to VWAP (or a ±1 standard deviation channel around it).
Signal: Bullish rejection/engulfing candle on 1M with increasing volume, and RSI(2) has exited oversold territory (optional).
Order: Entry after the confirmation candle closes or a limit close to VWAP.
Trade Management:
Stop: Below the bounce low or 0.6xATR(1M) (strongest).
Target: 0.4–0.7xATR(1M) or the previous micro-high (small return to increase success rate).
Trigger: Move the stop to breakeven after +0.25R; close manually if the 1M candle closes strongly against you.
Filter: Do not trade if the spread widens, or the price "saws" around VWAP without a trend.
Sell against the rules in a downtrend.
Why this plan raises the heat-rate? You buy a "small discount" within an existing trend and near the institutional average price (VWAP), with a small target price.
مواقعي شركة الماسة للخدمات المنزلية
شركة تنظيف بالرياض
نقل عفش بالرياض
Instant Breakout Strategy with RSI & VWAPInstant Breakout Strategy with RSI & VWAP
This TradingView strategy (Pine Script v6) trades breakouts using pivot points, with optional filters for volume, momentum, RSI, and VWAP. It’s optimized for the 1-second timeframe.
Overview
The strategy identifies breakouts when price crosses above resistance (pivot highs) or below support (pivot lows). It can use basic pivot breakouts or add filters for stronger signals. Take-profit and stop-loss levels are set using ATR, and signals are shown on the chart.
Inputs
Left/Right Pivot Bars: Bars to detect pivots (default: 3). Lower values increase sensitivity.
Volume Surge Multiplier: Volume threshold vs. 20-period average (default: 1.5).
Momentum Threshold: Minimum % price change from bar open (default: 1%).
Take-Profit ATR Multiplier: ATR multiplier for take-profit (default: 9.0).
Stop-Loss ATR Multiplier: ATR multiplier for stop-loss (default: 1.0).
Use Filters: Enable/disable volume, momentum, RSI, and VWAP filters (default: off).
How It Works
1. Pivot Detection
Finds pivot highs (resistance) and lows (support) using ta.pivothigh and ta.pivotlow.
Tracks the latest pivot levels.
2. Volume Surge
Compares current volume to a 20-period volume average.
A surge occurs if volume exceeds the average times the multiplier.
3. Momentum
Measures price change from the bar’s open.
Bullish: Price rises >1% from open.
Bearish: Price falls >1% from open.
4. RSI and VWAP
RSI: 3-period RSI. Above 50 is bullish; below 50 is bearish.
VWAP: Price above VWAP is bullish; below is bearish.
5. ATR
14-period ATR sets take-profit (close ± atr * 9.0) and stop-loss (close ± atr * 1.0).
Trading Rules
Breakout Conditions
Bullish Breakout:
Price crosses above the latest pivot high.
With filters: Volume surge, bullish momentum, RSI > 50, price > VWAP.
Without filters: Only the crossover is needed.
Bearish Breakout:
Price crosses below the latest pivot low.
With filters: Volume surge, bearish momentum, RSI < 50, price < VWAP.
Without filters: Only the crossunder is needed.
Entries and Exits
Long: Enter on bullish breakout. Set take-profit and stop-loss. Close any short position.
Short: Enter on bearish breakout. Set take-profit and stop-loss. Close any long position.
Visuals
Signals: Green triangles (bullish) below bars, red triangles (bearish) above bars.
Pivot Levels: Green line (resistance), red line (support).
Indicators: RSI (blue, separate pane), VWAP (purple, on chart).
How to Use
Apply to a 1-second chart in TradingView for best results.
Adjust inputs (e.g., pivot bars, multipliers). Enable filters for stricter signals.
Watch for buy/sell triangles and monitor RSI/VWAP.
Use ATR-based take-profit/stop-loss for risk management.
Notes
Best on 1-second timeframe due to fast RSI and responsiveness.
Disable filters for more signals (less confirmation).
Backtest before live trading to check performance.
This strategy uses pivots, volume, momentum, RSI, and VWAP for clear breakout trades on the 1-second timeframe.