Поиск скриптов по запросу "Buy sell"
ZenTrend Follower Signals (Backtest)Buy/Sell Entry signals based on the ZenTrend Follower indicator.
Entries are taken from the setup and trend breakout level, exits from the trailing stop loss.
Overextension and trend re-entry signals are ignored.
The indicator is linked below
If you enjoy these posts please like and subscribe so more people can join you :)
If you want to tryout the indicator and strategy, follow me and drop a comment or pm and I’ll get you set up.
Stay calm, and happy trading!
More information on the indicator can be found below:
Altcoins StrategyBuy/Sell Altcoins strategy. Based on moving averages, divergences, price and volume
Buy SellKıvanc hocanın yazdığı 2 stop loss indikatörünün birleşmesi sonucu bulundu. Çalışma mantığını kullandıkça anlayacaksınızıdır.
Buy Sell signal by Spicytrader
Get on board before going to the moon !
Spicytrader instantly identifies when a potential pump or dump is beginning.
Compatible with Autoview bot
GET ACCESS : spicytrader.com
Buy/Sell Using MACD and ReversalsUsing the crossover of Signal Line and MACD line predict the reversals of trends in the chart.
Buy/Sell Ahmed Rashiedtrade with confidence good for both intra day and long term took me 2 yrs to finish it
MULTIPLE TIME-FRAME STRATEGY(TREND, MOMENTUM, ENTRY) Hey everyone, this is one strategy that I have found profitable over time. It is a multiple time frame strategy that utilizes 3 time-frames. Highest time-frame is the trend, medium time-frame is the momentum and short time-frame is the entry point.
Long Term:
- If closed candle is above entry then we are looking for longs, otherwise we are looking for shorts
Medium Term:
- If Stoch SmoothK is above or below SmoothK and the momentum matches long term trend then we look for entries.
Short Term:
- If a moving average crossover(long)/crossunder(short) occurs then place a trade in the direction of the trend.
Close Trade:
- Trade is closed when the Medium term SmoothK Crosses under/above SmoothD.
You can mess with the settings to get the best Profit Factor / Percent Profit that matches your plan.
Best of luck!
[STRATEGY][RS]MicuRobert EMA cross V2Great thanks Ricardo , watch this man . Start at 2014 December with 1000 euro.
Live Market - Performance MonitorLive Market — Performance Monitor
Study material (no code) — step-by-step training guide for learners
________________________________________
1) What this tool is — short overview
This indicator is a live market performance monitor designed for learning. It scans price, volume and volatility, detects order blocks and trendline events, applies filters (volume & ATR), generates trade signals (BUY/SELL), creates simple TP/SL trade management, and renders a compact dashboard summarizing market state, risk and performance metrics.
Use it to learn how multi-factor signals are constructed, how Greeks-style sensitivity is replaced by volatility/ATR reasoning, and how a live dashboard helps monitor trade quality.
________________________________________
2) Quick start — how a learner uses it (step-by-step)
1. Add the indicator to a chart (any ticker / timeframe).
2. Open inputs and review the main groups: Order Block, Trendline, Signal Filters, Display.
3. Start with defaults (OB periods ≈ 7, ATR multiplier 0.5, volume threshold 1.2) and observe the dashboard on the last bar.
4. Walk the chart back in time (use the last-bar update behavior) and watch how signals, order blocks, trendlines, and the performance counters change.
5. Run the hands-on labs below to build intuition.
________________________________________
3) Main configurable inputs (what you can tweak)
• Order Block Relevant Periods (default ~7): number of consecutive candles used to define an order block.
• Min. Percent Move for Valid OB (threshold): minimum percent move required for a valid order block.
• Number of OB Channels: how many past order block lines to keep visible.
• Trendline Period (tl_period): pivot lookback for detecting highs/lows used to draw trendlines.
• Use Wicks for Trendlines: whether pivot uses wicks or body.
• Extension Bars: how far trendlines are projected forward.
• Use Volume Filter + Volume Threshold Multiplier (e.g., 1.2): requires volume to be greater than multiplier × average volume.
• Use ATR Filter + ATR Multiplier: require bar range > ATR × multiplier to filter noise.
• Show Targets / Table settings / Colors for visualization.
________________________________________
4) Core building blocks — what the script computes (plain language)
Price & trend:
• Spot / LTP: current close price.
• EMA 9 / 21 / 50: fast, medium, slow moving averages to define short/medium trend.
o trend_bullish: EMA9 > EMA21 > EMA50
o trend_bearish: EMA9 < EMA21 < EMA50
o trend_neutral: otherwise
Volatility & noise:
• ATR (14): average true range used for dynamic target and filter sizing.
• dynamic_zone = ATR × atr_multiplier: minimum bar range required for meaningful move.
• Annualized volatility: stdev of price changes × sqrt(252) × 100 — used to classify volatility (HIGH/MEDIUM/LOW).
Momentum & oscillators:
• RSI 14: overbought/oversold indicator (thresholds 70/30).
• MACD: EMA(12)-EMA(26) and a 9-period signal line; histogram used for momentum direction and strength.
• Momentum (ta.mom 10): raw momentum over 10 bars.
Mean reversion / band context:
• Bollinger Bands (20, 2σ): upper, mid, lower.
o price_position measures where price sits inside the band range as 0–100.
Volume metrics:
• avg_volume = SMA(volume, 20) and volume_spike = volume > avg_volume × volume_threshold
o volume_ratio = volume / avg_volume
Support & Resistance:
• support_level = lowest low over 20 bars
• resistance_level = highest high over 20 bars
• current_position = percent of price between support & resistance (0–100)
________________________________________
5) Order Block detection — concept & logic
What it tries to find: a bar (the base) followed by N candles in the opposite direction (a classical order block setup), with a minimum % move to qualify. The script records the high/low of the base candle, averages them, and plots those levels as OB channels.
How learners should think about it (conceptual):
1. An order block is a signature area where institutions (theory) left liquidity — often seen as a large bar followed by a sequence of directional candles.
2. This indicator uses a configurable number of subsequent candles to confirm that the pattern exists.
3. When found, it stores and displays the base candle’s high/low area so students can see how price later reacts to those zones.
Implementation note for learners: the tool keeps a limited history of OB lines (ob_channels). When new OBs exceed the count, the oldest lines are removed — good practice to avoid clutter.
________________________________________
6) Trendline detection — idea & interpretation
• The script finds pivot highs and lows using a symmetric lookback (tl_period and half that as right/left).
• It then computes a trendline slope from successive pivots and projects the line forward (extension_bars).
• Break detection: Resistance break = close crosses above the projected resistance line; Support break = close crosses below projected support.
Learning tip: trendlines here are computed from pivot points and time. Watch how changing tl_period (bigger = smoother, fewer pivots) alters the trendlines and break signals.
________________________________________
7) Signal generation & filters — step-by-step
1. Primary triggers:
o Bullish trigger: order block bullish OR resistance trendline break.
o Bearish trigger: bearish order block OR support trendline break.
2. Filters applied (both must pass unless disabled):
o Volume filter: volume must be > avg_volume × volume_threshold.
o ATR filter: bar range (high-low) must exceed ATR × atr_multiplier.
o Not in an existing trade: new trades only start if trade_active is false.
3. Trend confirmation:
o The primary trigger is only confirmed if trend is bullish/neutral for buys or bearish/neutral for sells (EMA alignment).
4. Result:
o When confirmed, a long or short trade is activated with TP/SL calculated from ATR multiples.
________________________________________
8) Trade management — what the tool does after a signal
• Entry management: the script marks a trade as trade_active and sets long_trade or short_trade flags.
• TP & SL rules:
o Long: TP = high + 2×ATR ; SL = low − 1×ATR
o Short: TP = low − 2×ATR ; SL = high + 1×ATR
• Monitoring & exit:
o A trade closes when price reaches TP or SL.
o When TP/SL hit, the indicator updates win_count and total_pnl using a very simple calculation (difference between TP/SL and previous close).
o Visual lines/labels are drawn for TP and updated as the trade runs.
Important learner notes:
• The script does not store a true entry price (it uses close in its P&L math), so PnL is an approximation — treat this as a learning proxy, not a position accounting system.
• There’s no sizing, slippage, or fee accounted — students must manually factor these when translating to real trades.
• This indicator is not a backtesting strategy; strategy.* functions would be needed for rigorous backtest results.
________________________________________
9) Signal strength & helper utilities
• Signal strength is a composite score (0–100) made up of four signals worth 25 points each:
1. RSI extreme (overbought/oversold) → 25
2. Volume spike → 25
3. MACD histogram magnitude increasing → 25
4. Trend existence (bull or bear) → 25
• Progress bars (text glyphs) are used to visually show RSI and signal strength on the table.
Learning point: composite scoring is a way to combine orthogonal signals — study how changing weights changes outcomes.
________________________________________
10) Dashboard — how to read each section (walkthrough)
The dashboard is split into sections; here's how to interpret them:
1. Market Overview
o LTP / Change%: immediate price & daily % change.
2. RSI & MACD
o RSI value plus progress bar (overbought 70 / oversold 30).
o MACD histogram sign indicates bullish/bearish momentum.
3. Volume Analysis
o Volume ratio (current / average) and whether there’s a spike.
4. Order Block Status
o Buy OB / Sell OB: the average base price of detected order blocks or “No Signal.”
5. Signal Status
o 🔼 BUY or 🔽 SELL if confirmed, or ⚪ WAIT.
o No-trade vs Active indicator summarizing market readiness.
6. Trend Analysis
o Trend direction (from EMAs), market sentiment score (composite), volatility level and band/position metrics.
7. Performance
o Win Rate = wins / signals (percentage)
o Total PnL = cumulative PnL (approximate)
o Bull / Bear Volume = accumulated volumes attributable to signals
8. Support & Resistance
o 20-bar highest/lowest — use as nearby reference points.
9. Risk & R:R
o Risk Level from ATR/price as a percent.
o R:R Ratio computed from TP/SL if a trade is active.
10. Signal Strength & Active Trade Status
• Numeric strength + progress bar and whether a trade is currently active with TP/SL display.
________________________________________
11) Alerts — what will notify you
The indicator includes pre-built alert triggers for:
• Bullish confirmed signal
• Bearish confirmed signal
• TP hit (long/short)
• SL hit (long/short)
• No-trade zone
• High signal strength (score > 75%)
Training use: enable alerts during a replay session to be notified when the indicator would have signalled.
________________________________________
12) Labs — hands-on exercises for learners (step-by-step)
Lab A — Order Block recognition
1. Pick a 15–30 minute timeframe on a liquid ticker.
2. Use default OB periods (7). Mark each time the dashboard shows a Buy/Sell OB.
3. Manually inspect the chart at the base candle and the following sequence — draw the OB zone by hand and watch later price reactions to it.
4. Repeat with OB periods 5 and 10; note stability vs noise.
Lab B — Trendline break confirmation
1. Increase trendline period (e.g., 20), watch trendlines form from pivots.
2. When a resistance break is flagged, compare with MACD & volume: was momentum aligned?
3. Note false breaks vs confirmed moves — change extension_bars to see projection effects.
Lab C — Filter sensitivity
1. Toggle Use Volume Filter off, and record the number and quality of signals in a 2-day window.
2. Re-enable volume filter and change threshold from 1.2 → 1.6; note how many low-quality signals are filtered out.
Lab D — Trade management simulation
1. For each signalled trade, record the time, close entry approximation, TP, SL, and eventual hit/miss.
2. Compute actual PnL if you had entered at the open of the next bar to compare with the script’s PnL math.
3. Tabulate win rate and average R:R.
Lab E — Performance review & improvement
1. Build a spreadsheet of signals over 30–90 periods with columns: Date, Signal type, Entry price (real), TP, SL, Exit, PnL, Notes.
2. Analyze which filters or indicators contributed most to winners vs losers and adjust weights.
________________________________________
13) Common pitfalls, assumptions & implementation notes (things to watch)
• P&L simplification: total_pnl uses close as a proxy entry price. Real entry/exit prices and slippage are not recorded — so PnL is approximate.
• No position sizing or money management: the script doesn’t compute position size from equity or risk percent.
• Signal confirmation logic: composite "signal_strength" is a simple 4×25 point scheme — explore different weights or additional signals.
• Order block detection nuance: the script defines the base candle and checks the subsequent sequence. Be sure to verify whether the intended candle direction (base being bullish vs bearish) aligns with academic/your trading definition — read the code carefully and test.
• Trendline slope over time: slope is computed using timestamps; small differences may make lines sensitive on very short timeframes — using bar_index differences is usually more stable.
• Not a true backtester: to evaluate performance statistically you must transform the logic into a strategy script that places hypothetical orders and records exact entry/exit prices.
________________________________________
14) Suggested improvements for advanced learners
• Record true entry price & timestamp for accurate PnL.
• Add position sizing: risk % per trade using SL distance and account size.
• Convert to strategy. (Pine Strategy)* to run formal backtests with equity curves, drawdowns, and metrics (Sharpe, Sortino).
• Log trades to an external spreadsheet (via alerts + webhook) for offline analysis.
• Add statistics: average win/loss, expectancy, max drawdown.
• Add additional filters: news time blackout, market session filters, multi-timeframe confirmation.
• Improve OB detection: combine wick/body, volume spike at base bar, and liquidity sweep detection.
________________________________________
15) Glossary — quick definitions
• ATR (Average True Range): measure of typical range; used to size targets and stops.
• EMA (Exponential Moving Average): trend smoothing giving more weight to recent prices.
• RSI (Relative Strength Index): momentum oscillator; >70 overbought, <30 oversold.
• MACD: momentum oscillator using difference of two EMAs.
• Bollinger Bands: volatility bands around SMA.
• Order Block: a base candle area with subsequent confirmation candles; a zone of institutional interest (learning model).
• Pivot High/Low: local turning point defined by candles on both sides.
• Signal Strength: combined score from multiple indicators.
• Win Rate: proportion of signals that hit TP vs total signals.
• R:R (Risk:Reward): ratio of potential reward (TP distance) to risk (entry to SL).
________________________________________
16) Limitations & assumptions (be explicit)
• This is an indicator for learning — not a trading robot or broker connection.
• No slippage, fees, commissions or tie-in to real orders are considered.
• The logic is heuristic (rule-of-thumb), not a guarantee of performance.
• Results are sensitive to timeframe, market liquidity, and parameter choices.
________________________________________
17) Practical classroom / study plan (4 sessions)
• Session 1 — Foundations: Understand EMAs, ATR, RSI, MACD, Bollinger Bands. Run the indicator and watch how these numbers change on a single day.
• Session 2 — Zones & Filters: Study order blocks and trendlines. Test volume & ATR filters and note changes in false signals.
• Session 3 — Simulated trading: Manually track 20 signals, compute real PnL and compare to the dashboard.
• Session 4 — Improvement plan: Propose changes (e.g., better PnL accounting, alternative OB rule) and test their impact.
________________________________________
18) Quick reference checklist for each signal
1. Was an order block or trendline break detected? (primary trigger)
2. Did volume meet threshold? (filter)
3. Did ATR filter (bar size) show a real move? (filter)
4. Was trend aligned (EMA 9/21/50)? (confirmation)
5. Signal confirmed → mark entry approximation, TP, SL.
6. Monitor dashboard (Signal Strength, Volatility, No-trade zone, R:R).
7. After exit, log real entry/exit, compute actual PnL, update spreadsheet.
________________________________________
19) Educational caveat & final note
This tool is built for training and analysis: it helps you see how common technical building blocks combine into trade ideas, but it is not a trading recommendation. Use it to develop judgment, to test hypotheses, and to design robust systems with proper backtesting and risk control before risking capital.
________________________________________
20) Disclaimer (must include)
Training & Educational Only — This material and the indicator are provided for educational purposes only. Nothing here is investment advice or a solicitation to buy or sell financial instruments. Past simulated or historical performance does not predict future results. Always perform full backtesting and risk management, and consider seeking advice from a qualified financial professional before trading with real capital.
________________________________________
project x khi✨ Key Features:
Automatic Support & Resistance
Uses candle body pivots.
Alerts when support/resistance is broken with strong volume.
Trend & Entry Signals (EMA + RSI + ATR)
EMA 9/21/200 to determine overall trend direction.
BUY/SELL signals based on EMA crossover and RSI confirmation.
Automatic Stop Loss & Take Profit levels calculated with ATR.
Volume & RSI Analysis
Detects strong/weak volume.
RSI status shown as Overbought, Oversold, or Neutral.
Multi-Timeframe Confirmation (4H, 1H, 15m, 5m)
Displays signals across multiple timeframes.
Provides interpretation of signal combinations
(e.g., “All BUY → wait for entry on 1m”).
Order Block (OB) Detection
Automatically identifies Bullish & Bearish Order Blocks.
Plots OB zones directly on the chart.
OTE (Optimal Trade Entry Zone 61.8–78.6%)
Highlights Fibonacci golden pocket retracement zone for sniper entries.
Liquidity Pool Zones
Detects buy-side & sell-side liquidity areas (market maker targets).
Session Boxes
Highlights Asia, London, and New York sessions to optimize timing of trades.
Squeeze Momentum (BB vs KC)
Confirms breakout momentum:
Squeeze On = accumulation.
Release = start of a major move.
Trading Assistant Table
Displays trend, last signal, volume status, RSI, entry, SL/TP, recommended action, and final status (“ENTRY / NO ENTRY”).
Ready-to-Use Alerts
BUY/SELL signal.
Support/resistance breakout.
Squeeze On/Release alerts.
🎯 How to Use:
Use lower timeframes (1m–5m) for scalping, with confirmation from 15m–4H.
Enter only when all signals align (e.g., 4H–1H BUY + BUY signal on 5m).
Watch OB, OTE, and Liquidity Pool zones for precision entries.
Follow the automatically plotted SL/TP levels for disciplined risk management.
project x khi✨ Key Features:
Automatic Support & Resistance
Uses candle body pivots.
Alerts when support/resistance is broken with strong volume.
Trend & Entry Signals (EMA + RSI + ATR)
EMA 9/21/200 to determine overall trend direction.
BUY/SELL signals based on EMA crossover and RSI confirmation.
Automatic Stop Loss & Take Profit levels calculated with ATR.
Volume & RSI Analysis
Detects strong/weak volume.
RSI status shown as Overbought, Oversold, or Neutral.
Multi-Timeframe Confirmation (4H, 1H, 15m, 5m)
Displays signals across multiple timeframes.
Provides interpretation of signal combinations
(e.g., “All BUY → wait for entry on 1m”).
Order Block (OB) Detection
Automatically identifies Bullish & Bearish Order Blocks.
Plots OB zones directly on the chart.
OTE (Optimal Trade Entry Zone 61.8–78.6%)
Highlights Fibonacci golden pocket retracement zone for sniper entries.
Liquidity Pool Zones
Detects buy-side & sell-side liquidity areas (market maker targets).
Session Boxes
Highlights Asia, London, and New York sessions to optimize timing of trades.
Squeeze Momentum (BB vs KC)
Confirms breakout momentum:
Squeeze On = accumulation.
Release = start of a major move.
Trading Assistant Table
Displays trend, last signal, volume status, RSI, entry, SL/TP, recommended action, and final status (“ENTRY / NO ENTRY”).
Ready-to-Use Alerts
BUY/SELL signal.
Support/resistance breakout.
Squeeze On/Release alerts.
🎯 How to Use:
Use lower timeframes (1m–5m) for scalping, with confirmation from 15m–4H.
Enter only when all signals align (e.g., 4H–1H BUY + BUY signal on 5m).
Watch OB, OTE, and Liquidity Pool zones for precision entries.
Follow the automatically plotted SL/TP levels for disciplined risk management.
Trend Gazer (AI x EMA x MTF)**Trend Gazer (AI x EMA x MTF) Indicator: Elevate Your Trading**
The "Trend Gazer (AI x EMA x MTF)" is a powerful, all-in-one indicator that combines sophisticated multi-timeframe analysis, EMA filtering, Bollinger Bands, intuitive trend visualization, and robust alert functionality. Optimized for 5-minute and 15-minute charts, it is also highly adaptable to other timeframes, offering flexibility for all trading styles. With its visually appealing design and precise analytical tools, Trend Gazer empowers traders to capture market trends with confidence and maximize profitable opportunities.
### 1. **Multi-Timeframe Analysis: See the Big Picture and Fine Details**
Trend Gazer analyzes multiple timeframes (5m, 15m, 1h, 4h) simultaneously, aligning trend direction and signal strength across them. It aggregates market structure (Bull/Bear) and signals (Buy/Sell) from each timeframe, presenting them in an easy-to-read table. By filtering out short-term noise and confirming trends across higher timeframes, it helps traders pinpoint high-probability entry points with unmatched precision.
### 2. **EMA Filter: Precision in Trend Quality**
Using multiple Exponential Moving Averages (EMAs: 7, 20, 50, 100, 200, 400), Trend Gazer refines trend detection and entry timing. It evaluates the relationship between short-term and long-term EMAs, applying strict conditions (e.g., EMA50 crossing above EMA400 for a Golden Cross) to filter out low-quality signals. This ensures you trade only when the trend is strong, minimizing false entries and boosting profitability.
### 3. **Bollinger Bands: Smart Range Filtering**
Trend Gazer leverages Bollinger Bands as a range filter to avoid choppy markets. When the band width falls below a user-defined threshold, signaling a low-volatility range, the indicator suppresses trade signals. This feature ensures you focus on trending markets, reducing losses in flat conditions and enhancing trend-following strategies.
### 4. **Visual Trend Display & Alerts: Intuitive and Actionable**
The indicator displays trend direction, EMA status, and trade signals in a customizable, color-coded table for instant market clarity across timeframes. Buy/Sell labels appear on the chart when conditions align, with adjustable size and position for optimal visibility.
Whether you're a beginner or a seasoned trader, "Trend Gazer (AI x EMA x MTF)" is your ultimate tool for mastering market trends. Optimized for 5m and 15m charts but adaptable to any timeframe, it’s time to take your trading to the next level with precision and confidence!
---
**Trend Gazer (AI x EMA x MTF) インジケーター:トレードを次のレベルへ**
「Trend Gazer (AI x EMA x MTF)」は、洗練されたマルチタイムフレーム分析を基盤に、EMAフィルター、ボリンジャーバンド、視覚的なトレンド表示、そしてアラート機能を統合した高機能インジケーターです。5分足と15分足での利用を推奨しますが、他の時間足でも柔軟に活用可能です。直感的で視覚的なデザインと強力な分析機能を備え、トレーダーが市場のトレンドを的確に捉え、収益性の高いトレードを実現するためのツールです。
### 1. **マルチタイムフレーム分析:大局から短期まで一括把握**
このインジケーターは、5分足、15分足、1時間足、4時間足の複数時間足を同時に分析し、市場のトレンドとシグナルの整合性を確認します。異なる時間足でのトレンド(上昇/下降)とシグナルの強さを「Bull/Buy」「Bear/Sell」として集計し、視覚的なテーブルで表示。短期のノイズを排除し、大局的なトレンドを考慮したエントリーポイントを特定できるため、トレードの精度が飛躍的に向上します。
### 2. **EMAフィルター:トレンドの質を厳選**
複数の指数平滑移動平均(EMA:7、20、50、100、200、400)を活用し、トレンドの強さと方向性を精密にフィルタリング。短期EMA(7・20)と長期EMA(50・100・200・400)の関係性を分析し、過剰なエントリーを防ぐための条件(例:EMA50がEMA400を上抜くゴールデンクロス)を設定。無駄なトレードを減らし、収益性の高いタイミングでのエントリーをサポートします。
### 3. **ボリンジャーバンド:レンジ相場を賢く回避**
ボリンジャーバンドをレンジフィルターとして活用し、市場がレンジ相場(低ボラティリティ)にある場合にシグナルを抑制。バンド幅が設定した閾値以下の場合、トレードシグナルを制限することで、明確なトレンド相場でのみエントリーを促します。これにより、値動きの乏しい相場での損失リスクを軽減し、トレンドフォロー戦略を強化します。
### 4. **視覚的なトレンド表示&アラート:直感的なトレード体験**
トレンドとシグナルは、チャート上のカスタマイズ可能なテーブルで一目瞭然。5分足から4時間足までのトレンド方向(Bull/Bear)、EMAの状態、最新のシグナル(Buy/Sell)を色分けで表示し、瞬時に市場の状況を把握可能。
「Trend Gazer (AI x EMA x MTF)」は、初心者から上級者まで、トレードの精度と効率を高めたい全てのトレーダーに最適なツールです。5分足・15分足での鋭い分析を軸に、あらゆる時間足で市場を支配するトレードを今すぐ始めましょう!