Search in scripts for "北证50指数的股票交易方式"
UO_30-50-70Ultimate Oscillator with bands present at the 30, 50, and 70 pt levels.
Personally use this every time, created a script to hard code these lines so I wouldn't need to redraw them all the time.
Enjoy
The Lazy Trader - Index (ETF) Trend Following Robot50/150 moving average, index (ETF) trend following robot. Coded for people who cannot psychologically handle dollar-cost-averaging through bear markets and extreme drawdowns (although DCA can produce better results eventually), this robot helps you to avoid bear markets. Be a fair-weathered friend of Mr Market, and only take up his offer when the sun is shining! Designed for the lazy trader who really doesn't care...
Recommended Chart Settings:
Asset Class: ETF
Time Frame: Daily
Necessary ETF Macro Conditions:
a) Country must have healthy demographics, good ratio of young > old
b) Country population must be increasing
c) Country must be experiencing price-inflation
Default Robot Settings:
Slow Moving Average: 50 (integer) //adjust to suit your underlying index
Fast Moving Average: 150 (integer) //adjust to suit your underlying index
Bullish Slope Angle: 5 (degrees) //up angle of moving averages
Bearish Slope Angle: -5 (degrees) //down angle of moving averages
Average True Range: 14 (integer) //input for slope-angle formula
Risk: 100 (%) //100% risk means using all equity per trade
ETF Test Results (Default Settings):
SPY (1993 to 2020, 27 years), 332% profit, 20 trades, 6.4 profit factor, 7% drawdown
EWG (1996 to 2020, 24 years), 310% profit, 18 trades, 3.7 profit factor, 10% drawdown
EWH (1996 to 2020, 24 years), 4% loss, 26 trades, 0.9 profit factor, 36% drawdown
QQQ (1999 to 2020, 21 years), 232% profit, 17 trades, 3.6 profit factor, 2% drawdown
EEM (2003 to 2020, 17 years), 73% profit, 17 trades, 1.1 profit factor, 3% drawdown
GXC (2007 to 2020, 13 years), 18% profit, 14 trades, 1.3 profit factor, 26% drawdown
BKF (2009 to 2020, 11 years), 11% profit, 13 trades, 1.2 profit factor, 33% drawdown
A longer time in the markets is better, with the exception of EWH. 6 out of 7 tested ETFs were profitable, feel free to test on your favourite ETF (default settings) and comment below.
Risk Warning:
Not tested on commodities nor other financial products like currencies (code will not work), feel free to leave comments below.
Moving Average Slope Angle Formula:
Reproduced and modified from source:
50-Line Oscillator // (\_/)
// ( •.•)
// (")_(")
25-Line Oscillator
Description:
The 25-Line Oscillator is a sophisticated technical analysis tool designed to visualize market trends through the use of multiple Simple Moving Averages (SMAs). This indicator computes a series of 26 SMAs, incrementally increasing the base length, providing traders with a comprehensive view of price dynamics.
Features:
Customizable Base Length: Adjust the base length of the SMAs according to trading preferences, enhancing versatility for different market conditions.
Rainbow Effect: The indicator employs a visually appealing rainbow color scheme to differentiate between the various trend lines, making it easy to identify crossovers and momentum shifts.
Crossovers Detection: The script includes logic to detect crossover events between consecutive trend lines, which can serve as signals for potential entry or exit points in trading.
Clear Visualization: Suitable for both novice and seasoned traders, the plots enable quick interpretation of trends and market behavior.
How to Use:
Add the indicator to your chart and customize the base length as desired.
Observe the rainbow-colored lines for trend direction.
Look for crossover events between the SMAs as potential trading signals.
Application: This indicator is particularly useful for swing traders and trend followers who aim to capitalize on market momentum and identify reversals. By monitoring the behavior of multiple SMAs, traders can gain insights into the strength and direction of price movements over various time frames.
AK Simple Moving Average 50 days Simple Moving average suitable for Intraday on 1Hr,30Min.15Min Time frames
1. When candle crossing above SMA Line - Go for Long Entries
2. When candle crossing below SMA Line - Go for short Entries
50 SMA / 200 EMA / 128EMA Moving Average CrossFound success using 50SMA vs 200EMA.
128 EMA also charted for it's BTC relevance.
50/100/200 Moving Averages (Pine Script For Copy)by fresca
SCRIPT LANGUAGE
Copy script below and adjust based on your preferences.
-function (change function from "sma" to "ema", "wma" and more)
-length (25 Day, 150 Day or add more averages to the three in this script.)
-color, (red, yellow, etc. or use color hex codes i.e. #FEDA15, #FFAD8F, etc.)
-transparency (set to desired level 1-100)
Or add more options.
RESOURCES
Color hex codes site: www.canva.com
Trading View Pine Script Editor Reference Guide: www.tradingview.com
Taint's Multi Time Frame MA50-100-200 SMA with two 200 EMA's all with the ability choose a time frame for each.
Multi-Timeframe SMC + Flow FrameworkMulti-Timeframe SMC + Flow Framework
A complete SMC toolkit combining liquidity traps (EQH/EQL, SFP), flow confirmation (EFI, CMF, MFI), regime filters (HMA + ATR), and a multi-timeframe dashboard. Designed to spot liquidity grabs, confirm with volume flow, and align trades across multiple timeframes.
Multi-Timeframe SMC + Flow Framework
This indicator provides a full Smart Money Concepts (SMC) framework, integrating liquidity tools, volume flow, and multi-timeframe structure into one cohesive system. It is designed to highlight liquidity grabs, confirm with flow, and align trades across multiple timeframes.
Equal Highs / Lows (EQH/EQL): Detects liquidity pools using pivots, with ATR filtering to reduce noise.
Clean Swing Failure Patterns (SFP): Identifies stop hunts/failed breakouts where price wicks above/below a swing but closes back inside.
EFI (Elder’s Force Index): Measures price–volume momentum.
CMF (Chaikin Money Flow): Captures accumulation/distribution pressure.
MFI (Money Flow Index): A volume-weighted RSI confirming bullish (>50) or bearish (<50) flow.
Flow Glow Candles (optional): Highlights candles when EFI + CMF (and optionally MFI) align.
HMA + ATR Supertrend: Provides a smoother trend regime filter.
Multi-Timeframe Dashboard (up to 9 TFs): Displays CHoCH bias, duration, RSI, average bias, and volume sentiment.
📊 How it works together
Liquidity: EQH/EQL and SFP reveal stop-hunt zones.
Flow: EFI, CMF, and MFI confirm if the move is supported by volume/money flow.
Structure: CHoCH bias defines structural shifts (background color).
Regime: HMA + ATR adds a volatility-based filter to avoid counter-trend trades.
Multi-timeframe: Aligns short-term with higher timeframe bias.
⚙️ Customization
Theme switching (Classic/Neon) with background tint controls.
Dashboard rows for Average Bias, Volume sentiment, EFI/CMF/MFI.
Configurable number of timeframes (default 4, up to 9).
Flow Glow candles and alerts (off by default).
📌 Notes
Background tint defaults to subtle (opacity = 11).
Using 3–5 TFs is recommended for best performance.
All alerts are optional (Trend Change, Flow Glow confirmations).
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Always use proper risk management and confirm with your own analysis.
© NICK789
Trend Strength Score (0-100) — MultiTFTrend Strength Score (0-100) — MultiTF
⚠️ EDUCATIONAL PURPOSE ONLY ⚠️
This indicator is provided for educational and informational purposes only. It is not intended as financial advice or a recommendation to buy or sell. Always do your own research and consider your risk tolerance before trading. Past performance does not guarantee future results.
🎯 Overview
Advanced multi-component trend analysis indicator that calculates a single composite trend strength score from 0-100, combining multiple proven technical analysis methods into one powerful tool. Perfect for traders who want a comprehensive view of market conditions at a glance.
✨ Key Features
🔢 Single Composite Score (0-100): Eliminates guesswork with a clear numerical rating
📱 Professional Market Info Table: Glass-effect overlay showing all component scores and values
🎨 Visual Signals: Buy/sell arrows, background coloring, and trend labels
⚡ Multi-Timeframe Analysis: Higher timeframe confirmation for stronger signals
🔔 Smart Alerts: Customizable threshold-based notifications
⚙️ Fully Configurable: Adjust weights, thresholds, and components to your strategy
🧮 Technical Components
8 Powerful Analysis Methods:
Moving Average Alignment — Price position, slope analysis, and MA relationships
ADX Trend Strength — Directional movement with strength measurement
RSI Momentum — Momentum analysis with directional bias
ATR Volatility — Volatility expansion detection
Volume Confirmation — Volume vs rolling average analysis
Market Structure — Break of Structure (BOS) and Change of Character (CHOCH) detection
Fair Value Gaps (FVG) — ICT-style imbalance gap identification
Multi-Timeframe Agreement — Higher timeframe trend confirmation
🎛️ Customization Options
Component Weights: Adjust importance of each analysis method
Threshold Settings: Set custom bullish/bearish levels (default: 70/30)
Moving Averages: Choose between SMA/EMA/DEMA with custom lengths
Timeframe Selection: Pick your higher timeframe for multi-TF analysis
Visual Controls: Toggle arrows, background colors, MA lines, and table display
Alert Configuration: Set up notifications for threshold crossings
📈 Use Cases
Trend Following: Identify strong trending conditions (Score >70)
Range Trading: Spot ranging markets (Score 30-70)
Entry Timing: Use arrows for potential entry points
Risk Management: Avoid trades in weak trend conditions (Score <30)
Multi-Timeframe Analysis: Confirm signals across different timeframes
🎨 Visual Elements
Market Info Table: Compact, professional display with excellent readability
Trend Strength Gauge: Visual bar showing current score
Background Coloring: Instant visual trend identification
Buy/Sell Arrows: Clear entry/exit signal markers
Dynamic Labels: Real-time score and trend direction
⚡ Performance Optimized
Minimal resource usage with efficient calculations
Smart pivot detection algorithms
Optimized request.security() calls for multi-timeframe data
Variable declaration optimization for faster execution
🔧 Recommended Settings
Daytrading: HTF=1H, MA=9/21, Fast response
Swing Trading: HTF=Daily, MA=20/50, Standard settings
Position Trading: HTF=Weekly, MA=50/100, Slower signals
💡 Pro Tips
Higher scores (>75) indicate very strong trends
Scores between 40-60 suggest ranging/choppy conditions
Use component breakdown in table to understand signal strength
Combine with price action for best results
Adjust weights based on your trading style and market conditions
🎓 Perfect For
Beginner traders wanting clear, numerical trend guidance
Experienced traders seeking comprehensive market analysis
Anyone wanting to combine multiple indicators into one tool
Traders who value clean, professional chart presentation
Transform your trading with this powerful, all-in-one trend analysis tool! 🚀
Educational Tool | Pine Script v6 | For Learning Purposes Only | Not Financial Advice
Candle Range Theory (CRT) with Liquidity Pools – NIFTY 50This is used to grab liquidity and created buy and sell orders