4hr / BTCBTCUSDT.P / 4hr
趨勢線交易策略
設定可以如我圖表
也可以自己找合適的
測試請用最大虧損的三倍金額下去打
圖以含手續費(0.06%)
可以用小金額去打
最大淨利與最大虧損績效比 1:10
平均獲利/虧損盈虧比 2.135
長期放保證獲利
沒獲利或獲利較小的那年通常是大事件
如2022
有問題私訊 謝謝
BTCUSDT.P / 4hr
Trendline Trading Strategy
You can set it up the same way as shown on my chart,
or find your own suitable setup.
For testing, please use three times the maximum loss as your trading capital.
The chart should include fees (0.06%).
You can trade with a small amount.
Performance:
Maximum profit to maximum loss ratio: 1:10
Average profit/loss ratio: 2.135
Guaranteed profit in the long term
Years with no profit or smaller profit are usually caused by major events,
such as 2022.
If you have any questions, please DM me. Thank you.
Candlestick analysis
SAN_Price Action BOS Strategy Price Action strategy with Break of structure including 20-30EMA crossover with perfect BUY/SELL alert is a beauty of this one
LW Outside Day Strategy[SpeculationLab]This strategy is inspired by the “Outside Day” concept introduced by Larry Williams in Long-Term Secrets to Short-Term Trading, and has been extended with configurable risk management tools and realistic backtesting parameters.
Concept
The “Outside Day” is a classic price action pattern that reflects strong market rejection or continuation pressure.
An Outside Bar occurs when the current bar’s high exceeds the previous high and the low falls below the previous low.
A body-size filter ensures only significant candles are included.
Entry Logic
Buy setup: Price closes below the previous low (bullish rejection).
Sell setup: Price closes above the previous high (bearish rejection).
Only confirmed bars are used (no intrabar signals).
Stop-Loss Modes
Prev Low/High: Uses the previous swing point ± ATR-based buffer.
ATR: Dynamic stop based on Average True Range × multiplier.
Fixed Pips: User-defined fixed distance (for forex testing).
Take-Profit Modes
Prev High/Low (PHL): Exits near the opposite swing.
Risk-Reward (RR): Targets a user-defined multiple of the stop distance (default = 2 : 1).
Following Price Open (FPO): Exits on the next bar’s open if price opens in profit (used to test overnight price continuation).
Risk Management & Backtest Settings
Default risk per trade is set at 10% of account equity (user-adjustable).
Commission = 0.1% and slippage = 2 ticks are applied to simulate realistic conditions.
For reliable statistics, test on data that yields over 100 trades.
Suitable for daily and 4-hour timeframes across stocks, forex, and crypto markets.
Visual Elements
Green and red triangles show entry signals.
Stop-loss (red) and take-profit (green) reference lines are drawn for clarity.
Optional alerts notify when a valid setup forms.
Disclaimer
This script is for educational and research purposes only.
It does not constitute financial advice or guarantee profits.
Always backtest thoroughly and manage your own risk.
Enhancements over Classic Outside Bar Models
Adjustable stop and target logic with ATR and buffer multipliers.
“Following Price Open” exit logic for realistic day-end management.
Optimized to avoid repainting and bar-confirmation issues.
Built with realistic trading costs and position sizing.
策略逻辑
外包线识别
当日最高价高于前一日最高价,且当日最低价低于前一日最低价,即形成外包线。
同时过滤掉较小实体的 K 线,仅保留实体显著大于前一根的形态。
方向过滤
收盘价低于前一日最低价 → 视为买入信号。
收盘价高于前一日最高价 → 视为卖出信号。
止损设置(可选参数)
前低/高止损:以形态前低/前高为止损,带有缓冲倍数。
ATR 止损:根据平均波动率(ATR)动态调整。
固定点数止损:按照用户设定的点数作为止损范围。
止盈设置(可选参数)
前高/低止盈(PHL):以前高/前低为目标。
固定盈亏比(RR):根据用户设定的风险回报比自动计算。
隔夜开盘(FPO):若次日开盘价高于进场价(多单)或低于进场价(空单),则平仓。
信号标记
在图表中标注买入/卖出信号(三角形标记)。
绘制止损与目标位参考线。
使用说明
适用周期:建议用于 日线图(Daily)。
适用市场:股票、外汇、加密货币等各类市场均可。
提示:此策略为历史研究与学习用途,不构成投资建议。实际交易请结合自身风险管理。
Larry Williams Oops StrategyThis strategy is a modern take on Larry Williams’ classic Oops setup. It trades intraday while referencing daily bars to detect opening gaps and align entries with the prior day’s direction. Risk is managed with day-based stops, and—unlike the original—all positions are closed at the end of the session (or at the last bar’s close), not at a fixed profit target or the first profitable open.
Entry Rules
Long setup (bullish reversion): Today opens below yesterday’s low (down gap) and yesterday’s candle was bearish. Place a buy stop at yesterday’s low + Filter (ticks).
Short setup (bearish reversion): Today opens above yesterday’s high (up gap) and yesterday’s candle was bullish. Place a sell stop at yesterday’s high − Filter (ticks).
Longs are only taken on down-gap days; shorts only on up-gap days.
Protective Stop
If long, stop loss trails the current day’s low.
If short, stop loss trails the current day’s high.
Exit Logic
Positions are force-closed at the end of the session (in the last bar), ensuring no overnight exposure. There is no take-profit; only stop loss or end-of-day flat.
Notes
This strategy is designed for intraday charts (minutes/seconds) using daily data for gaps and prior-day direction.
Longs/shorts can be enabled or disabled independently.
Larry Williams Bonus Track PatternThis strategy trades the day immediately following an Inside Day, under specific directional and timing conditions. It is designed for daily-based setups but executed on intraday charts to ensure orders are placed exactly at the open of the following day, rather than at the daily bar close.
Entry Conditions
Only trades on Monday, Thursday, or Friday.
The previous day must be an Inside Day (its high is lower than the prior high and its low is higher than the prior low).
The bar before the Inside Day must be bullish (close > open).
On the following day (t):
The daily open must be below both the Inside Day’s high and the highest high of the two days before that.
A buy stop is placed at the highest high of the three previous days (Inside Day and the two days before it).
If the new day’s open is already above that level (gap up), the strategy enters long immediately at the open.
Exit Rules
Stop Loss: Fixed, defined in points or percentage (user input).
FPO (First Profitable Open): the position is closed at the first daily open after the entry day where the open price is above the average entry price (the first profitable open).
Notes
The script must be applied on an intraday timeframe (e.g., 15-minute or 1-hour) so that the strategy can:
Detect the Inside Day pattern using daily data (request.security).
Execute orders in real time at the next day’s open.
Running it directly on the daily timeframe will delay executions by one bar due to Pine Script’s evaluation model.
Larry Williams - Smash Day (SL/TP in %)This strategy implements Larry Williams’ “Smash Day” reversal concept on any symbol and timeframe (daily is the classic). A Smash Day is a bar that closes beyond a recent extreme and then potentially reverses on the next session.
AI Combo Strategy: Heat + Reversal + Momentum (v3)✅ Three indicators (Heat Meter, Reversal, Momentum Nexus),
✅ Separate LookBack for SL and TP,
✅ A full-fledged HTF filter,
✅ Enable/Disable checkboxes for each block,
✅ The ability to enable Long/Short separately.
Camarilla Pivots + 20 EMA StrategyThis is an intraday volatility and trend-following system for commodities like Natural Gas, combining dynamic pivot levels (Camarilla) with a trend filter (20-period EMA) to improve risk-reward and reduce false breakouts.
Core Components
1. Camarilla Pivots:
These are special support and resistance levels (H3, H4, L3, L4) calculated each day based on the previous day's high, low, and close.
The pivots adapt to daily volatility, giving more relevant breakout and bounce zones than static lines.
H4: Aggressive resistance (used for breakout LONG entry)
H3: Moderate resistance/support (used for bounce or stoploss)
L4: Aggressive support (used for breakout SHORT entry)
L3: Moderate support/resistance (used for bounce or stoploss)
2. 20 EMA (Exponential Moving Average):
Plotted on the 30-minute chart, this acts as a trend filter.
If the price is above 20 EMA: Only look for long trades (bullish bias).
If below 20 EMA: Only look for short trades (bearish bias).
How the Strategy Works
Setup (30-Min Chart):
Camarilla pivots for the day are drawn on the chart.
20 EMA is also plotted.
Trade Filter:
Bullish: Trade ONLY if price is above 20 EMA.
Bearish: Trade ONLY if price is below 20 EMA.
Entry:
LONG: Enter when price breaks and closes above the H4 pivot AND is above 20 EMA.
SHORT: Enter when price breaks and closes below the L4 pivot AND is below 20 EMA.
Stop Loss:
LONG: Place stoploss at H3 (the next lower Camarilla resistance).
SHORT: Place stoploss at L3 (the next higher Camarilla support).
Target:
Always set a profit target at 2x the distance (risk) between entry and stoploss (strict R:R 2).
For example, if your entry is at H4 and stoploss at H3, your target is entry + 2*(entry - stoploss).
Alerts & Visuals:
The strategy plots entry arrows, stoploss and target lines for immediate visual reference.
Alerts trigger on breakout signals so you never miss a trade.
Why This Works Well for Natural Gas
Adapts to volatility: The pivots change daily, handling wide-ranging and choppy price moves better than fixed breakouts.
Trend filter: EMA prevents counter-trend whipsaws, only trades with market momentum.
Risk control: Every trade must meet strict risk-reward criteria, so losses are contained and winners can outweigh losers.
Squeeze Backtest by Shaqi v2.0Script to backtest price squeeze's. Works on long and short directions
TJR asia session sweepThe TJR Asia Session Sweep is a liquidity-based trading strategy that focuses on the Asian session high and low range. During the London open, price often sweeps (breaks) one side of that range to grab liquidity — triggering stop hunts. After the sweep, traders look for a break of structure (BOS) and enter in the opposite direction of the sweep.
SHALOM TRADING HUB – Bollinger Band SystemSHALOM TRADING HUB – Bollinger Band System (Strategy)
All-in-one BB system with both Breakout and Mean-Reversion modes.
Automatic ENTRY / EXIT / STOP-LOSS, optional Mid-Band Exit, ATR or % risk, and built-in alerts. Backtest-ready.
What it does
Bollinger Bands: Basis = SMA(length); Upper/Lower = ±(mult × StDev).
Signals
Breakout mode
LONG → price crosses above Upper
SHORT → price crosses below Lower
Mean-Reversion mode
LONG → price re-enters above Lower
SHORT → price re-enters below Upper
Risk / Exits
ATR mode: SL = ATR × Mult, TP = SL × Risk:Reward
% mode: SL = %Stop, TP = %Take Profit
Optional Mid-Band (Basis) cross exit.
Visuals: BB lines + active Entry / SL / TP overlays + last-bar price labels.
Alerts: Breakout / Mean-Reversion signals and TP/SL hits.
Inputs (Settings)
Source, Length, Multiplier – BB calculation.
Signal Mode – Breakout or Mean Reversion.
Use ATR Stop/Target? – On = ATR; Off = %.
ATR Length, ATR Mult (SL), Risk:Reward (TP)
% Stop, % Take Profit (when ATR is Off)
Also exit on Mid-Band cross? – On/Off.
Alerts only on bar close? – Filters to confirmed bars.
Entry / Exit / Stop
Entry: Auto when the chosen signal condition triggers.
Stop-Loss: Placed from ATR or % settings.
Take-Profit: Set by R:R or % settings.
Mid-Band Exit (optional):
LONG → exit if close < Basis
SHORT → exit if close > Basis
Alerts (How-to)
Add the strategy to the chart → click Alerts (⚠️).
Condition: “SHALOM BB System” → choose:
BB Breakout LONG / SHORT
BB Mean-Reversion LONG / SHORT
Long TP Hit / Long SL Hit / Short TP Hit / Short SL Hit
Choose Once per bar or Once per bar close.
Backtest Tips
Match timeframe to your instrument.
Tune ATR/Mult, R:R, % to volatility.
Session filter (e.g., 09:20–15:20 IST) can be added easily in code.
Default pyramiding = 0; raise if you want multiple entries.
Twisted Forex's Doji + Area StrategyTitle
Twisted Forex’s Doji + Area Strategy
Description
What this strategy does
This strategy looks for doji candles forming inside or near supply/demand areas . Areas are built from swing pivots and sized with ATR, then tracked for retests (“confirmations”). When a doji prints close to an area and quality checks pass, the strategy places a trade with the stop beyond the doji and a configurable R:R target.
How areas (zones) are built
• Swings are detected with a user-set pivot length.
• Each swing spawns a horizontal area centered at the pivot price with half-height = zoneHalfATR × ATR .
• Duplicates are de-duplicated by center distance (ATR-scaled).
• Areas fade when broken beyond a buffer or after an optional age (expiry).
• Retests are recorded when price touches and then bounces away from the area; repeated reactions increase the zone’s “strength”.
Signal logic (summary)
Doji detection: strict or loose body criteria with optional minimum wick fractions and ATR-scaled minimum range.
Proximity: price must be inside/near a supply or demand area (proxATR × ATR).
Side resolution: overlap is resolved by (a) which side price penetrates more, (b) fast/slow EMA trend, or (c) nearest distance. Optional “previous candle flip” can bias long after a bearish candle and short after a bullish one.
Optional 1-bar confirmation: the bar after the doji must close away from the area by confirmATR × ATR .
Quality filter (Off/Soft/Strict): four checks—(i) wick rejection past the edge, (ii) doji closes in an edge “band” of the area, (iii) fresh touch (cooldown), (iv) approach impulse over a short lookback. In Strict , thresholds auto-tighten.
Orders & exits
• Long: stop below doji low minus buffer; Short: above doji high plus buffer.
• Target = rrMultiple × risk distance .
• Pyramiding is off by default.
Position sizing
You can size from the script or from Strategy Properties:
• Script-driven (default): set Position sizing = “Risk % of equity” and choose riskPercent (e.g., 1.0%). The script applies safe floors/rounding (FX micro-lots by default) so quantity never rounds to zero.
• Properties-driven : toggle Use TV Properties → Order size ON, then pick “Percent of equity” in Properties (e.g., 1%). The header includes safe defaults so trades still place.
Key inputs to explore
• Zone building : pivotLen, zoneHalfATR, minDepartureATR, expiryBars, breakATR, leftBars, dedupeATR.
• Doji & proximity : strictDoji, dojiBodyFrac, minWickFrac, minRangeATR, proxATR, minBarsBetween.
• Overlap resolution : usePenetration, useTrend (EMA 21/55), “previous candle flip”, needNextBarConf & confirmATR.
• Quality : qualityMode (Off/Soft/Strict), minQualPass/kStrict, wickPenATR, edgeBandFrac, approachLookback, approachMinATR, freshTouchBars.
• Zone strength gating : minStrengthSoft / minStrengthStrict.
• HTF confluence (optional) : useHTFTrend (HTF EMA 34/89) and/or useHTFZoneProx (HTF swing bands).
Tips to make it cleaner / higher quality
• Turn needNextBarConf ON and use confirmATR = 0.10–0.15 .
• Increase approachMinATR (e.g., 0.35–0.45) to require a stronger pre-touch impulse.
• Raise minStrengthSoft/Strict (e.g., 4–6) so only well-reacted zones can signal.
• Use signalsOnlyConfirmed ON if you prefer trades only from zones with retests (the script falls back gracefully when none exist yet).
• Nudge proxATR to 0.5–0.6 to demand tighter proximity to the level.
• Optional: enable useHTFTrend to filter counter-trend setups.
Default settings used in this publication
• Initial capital: 100,000 (illustrative).
• Slippage: 1 tick; Commission: 0% (you can raise commission if you prefer—spread is partly modeled by slippage).
• Sizing: Risk % of equity via inputs; riskPercent = 1.0% ; FX uses micro-lot floors by default.
• Quality: Off by default (Soft/Strict available).
• HTF trend gate: Off by default.
Backtesting notes
For a meaningful sample size, test on liquid symbols/timeframes that yield 100+ trades (e.g., majors on 5–15m over 1–2 years). Backtests are modelled and broker costs/spread vary—validate on your feed and forward-test.
How to read the chart
Shaded bands are supply (above) and demand (below). Brighter bands are the nearest K per side (visual aid). BUY/SELL labels mark entries; colored dots show entry/SL/TP levels. You can hide zones or unconfirmed zones for a cleaner view.
Disclaimer
This is educational material, not financial advice. Trading involves risk. Always test and size responsibly.
Trend Catcher and Mean ReversionPlease DM if you want to use this strategy.
it took long time to make this code profitable using 3 parameters only!
it allow you to:
1- Pyramid as you see fit.
2- allow option to use trend catching strategy ( while keeping mean reversion strategy)
3- Time filter to limit trading and exit at your preferred time.
4- it works for long, short or both positions.
5- has trailing tp as an option as well while keeping initial sl as hard stop
6- tp multiple (of stop loss) is optional
ongoing working for alerts and automation. More on that for subscribers only.
i will charge the minimum fee to utilize this code as we don't need your money but we need people to support our vision.
Crypto Scalping Strategy - High Win Rategrok first try. I used grok to create a scalping strategy that is automated for crypto scalp trading on 5-15 min intervals
Kz GC1! ORBStrategy that trades breakouts on GC1! futures on the 5min timeframe. It also works on MGC1! for lower drawdown and to manage Apex and Top Step accounts with the lower risk.
Risk Disclaimer:
Past results as well as strategy tester reports do not indicate future performance. Guarantees do not exist in trading. By using this strategy you risk losing all your money.
Important:
It trades all days that markets are open. Set times may be seen on settings. Trades multiple times a day sometimes.
It works on the 5 and 15min timeframe only. Results are better on 5min timeframe.
The settings are optimized already for GC1! on the 5min timeframe.
How it works:
Every trading day it measures the range of the first 15min candle of pre-selected hours. As soon as price closes above or below on the 15min timeframe, it will trade the breakout targeting a set risk to reward ratio. SL on the opposite side of the range.
Settings:
Hourly Trading Hours: These are the times that worked best for this strategy. All boxes should be checked for best results. Excluded times were when it performed bad which is why those times have been left out.
ORB Formation Period: This setting determines on which timeframe candle has to close outside the opening range box in order to take a trade. It's set to 15min by default because this is what worked by far the best
Entry Type: Entries are immediate instead of waiting for a pull back to enter on a limit order.
Limit Orders: If enabled, the strategy will place a pending order x points from the current price, instead of a market order. Immediate orders are enabled by default for a better performance. Important: It doesn't actually place a limit order. The strategy will just wait for a pullback and then enter with a market order. It's more like a hidden limit order.
Limit Order Offset Points: If you have limit orders enabled, this setting determines how many points from the current price the limit order will be placed.
FVG Detection Type: How fast it detects the fair value gaps. Standard detection over immediate had better performance
Risk Type: You can chose either between Fixed USD Amount, Risk per Trade in % or Fixed Contract Size. By default it's set to fixed contract size.
Risk Amount (USD or Contracts): This setting is to set how many USD or how many contracts you want to risk per trade. Make sure to check which risk type you have selected before you choose the risk amount.
Take Profit Multiplier: This is simply the total SL size in points multiplied by x.
Example: If you put 2, you get a 2:1 Risk to Reward Ratio. By Default it's set to 2.5 because this gave the best results in backtests.
Stop Loss Padding: This is simply the buffer in points that is added to the SL for safety reasons. If you have it on 0, the SL will be at the exact price of the opposite side of the range. By default it's set to 5 because this is what delivered the best results in backtests.
Stop Loss Placement: This determines where the stop loss gets placed for the order. It has been set to ORB Range by default as this delivered the best results.
Max Trades Per Hour: This allows the user to decide how many trades are taken an hour. 1 is been set to default for best results
Visual Settings: Check boxes to show orb range, FVG's, Entry points, and trade visualization boxes.
Backtest Settings:
For the backtest the commissions were set to 1.29USD per contract and .35USD for micros which is the highest amount Tradovate charges Margin was not accounted for because typically on prop accounts you can use way more contracts than you need for the extremely low max drawdown. Margin would be important on personal accounts but even there typically it's not an issue at all especially because this strategy runs on the 15min timeframe so it won't use a lot of contracts anyways.
Why the source code is hidden:
The source code is hidden because I invested a lot of time and money into developing this strategy and optimizing it with paid 3rd party software.
SMC Strategy with RSI/OB at Market PriceTakes trade using smc with rsi confirmation
Buy Signal Triggers When:
Scenario 1 (Immediate Touch): Price touches/enters bullish OB boundaries AND previous candle closed with RSI ≤ 35
Scenario 2 (Close Inside): Current candle closes inside bullish OB AND current RSI ≤ 35
Sell Signal Triggers When:
Scenario 1 (Immediate Touch): Price touches/enters bearish OB boundaries AND previous candle closed with RSI ≥ 65
Scenario 2 (Close Inside): Current candle closes inside bearish OB AND current RSI ≥ 65
TPFX - Unified Strategy v8.1 (COT + Valuation + S/D + Seasonal)
TPFX - Unified Strategy v8.1: A 5-in-1 Confluence Model
The TPFX Unified Strategy is a comprehensive trading model that integrates five distinct market analysis modules into a single indicator. Its primary function is to generate high-confluence entry and exit signals by requiring validation across multiple layers of market analysis. This approach aims to minimize noise and focus trading activity on moments of strong directional agreement.
Core Analytical Modules:
1. COT Index (Commitment of Traders): Quantifies the relative extreme positioning of major market participants (Commercials, Large Speculators) over a user-defined lookback period to identify overextended sentiment.
2. COT Momentum: Utilizes Commercial net positioning to detect momentum shifts, based on either a new high/low logic or a Moving Average crossover.
3. Valuation Trigger: Compares the relative performance of the current symbol against a reference asset (e.g., DXY) to determine periods of comparative overvaluation or undervaluation.
4. Supply and Demand (S/D) Zones: Automatically identifies and plots institutional S/D zones based on specific candle patterns. These zones provide precise entry, stop-loss, and dynamic take-profit targets upon activation and retest.
5. Seasonal Filter: Applies a calendar-based constraint to limit trade entry to historically favorable or unfavorable periods for the specific asset.
Key Strategy Features:
* Modular Control: All five modules can be independently enabled or disabled via input settings, allowing the user to customize the required confluence level for signal generation.
* Flexible Exit Management: The strategy supports four primary exit methodologies:
* Fixed TP/SL: Standard point or percentage-based risk management.
* Dynamic (S/D Zones): Uses the S/D zone boundaries for stop-loss and either a fixed R:R ratio or the nearest opposite zone for take-profit.
* Opposite Signal: Closes a position when a full, confirmed signal in the opposite direction is generated.
* Mean Reversion: Closes the position when the COT Index or Valuation Line reverts to a defined mean level.
* Risk Parameters: Includes configurable order size, trade direction filtering (Long, Short, Both), and adjustable parameters for S/D zone detection logic.
v8.1 Update: This version features a syntax correction within the Supply/Demand Zones calculation block to ensure reliable zone detection and trigger logic.
This tool is designed for systematic traders seeking to align their decisions with fundamental flows and order book imbalances.
(Note: Full functionality relies on access to the Commitment of Traders data feed, which may require a subscription.)
高频策略优化版-空头Open Condition Reversal: Change the condition of the TEMA fast line above the slow line to the condition of the fast line below the slow line RSI condition from " buy above the threshold " to " short below the threshold ", and adjust the default threshold from 30 to 70 (more suitable for shorting overbought area) moving average direction judgment from up to down stop-loss direction adjustment: Short stop-loss Settings above the entry price (entry price * (1 + i _ sl) ) Short stop-loss set below the entry price (entry price * (1-tp) Tracking stop-loss level adjusted to below the entry price MACD logic adjustment: Preferred use of the bearish pattern as a short signal bullish pattern for closing risk management: Maintained a dynamic stop-loss mechanism, adjusted to protect the market from the bottom of the visual stop-loss strategy: The visual marking of the ACD energy column is convenient for monitoring signals to be fully tested before use, especially for adjusting RSI thresholds and stop-loss parameters to suit the characteristics of specific trading varieties.
SMC 自動交易 - 4HR- BTC適用# SMC Automated Trading Strategy Whitepaper - Stepped Enhanced Edition
## 1. Strategy Overview
This strategy is designed based on the Smart Money Concept (SMC), integrating Order Block (OB), Change of Character (CHoCH), and strict pullback confirmation conditions. The goal is to enhance trading accuracy and strictly control risk, specifically tailored for trading competitions, meeting the requirements of stability and efficiency.
### Core Strategy Concepts:
- Precise identification of key trend reversal points.
- Strict pullback confirmation to avoid chasing tops or bottoms.
- Clear risk management and take-profit mechanisms to maintain stable risk-reward ratio.
- Supports trading time filtering (Kill Zone) to capture prime volatility windows.
- Multiple visual aids for quick in-trade signal recognition.
## 2. Strategy Logic Flow
### 1. Kill Zone (Optional Activation)
- Default trading time: Taiwan time 15:00 - 18:00.
- Purpose: Focus on high-volatility periods to reduce false signals in choppy markets.
### 2. Order Block Detection
- Current candle range exceeds the previous candle by a specified multiplier (default 0.8).
- Bullish OB: Bullish candle with expanded range.
- Bearish OB: Bearish candle with expanded range.
- Flexible OB sensitivity adjustment according to market volatility.
### 3. Change of Character (CHoCH)
- Initial trend reversal confirmation:
- Bullish CHoCH: Close above previous candle’s high.
- Bearish CHoCH: Close below previous candle’s low.
### 4. Pullback Confirmation (Core Condition)
- Avoid premature entries by requiring a pullback to the prior OB:
- Long: Pullback touches the previous Bullish OB high.
- Short: Pullback touches the previous Bearish OB low.
### 5. Fair Value Gap (FVG) Detection (Optional)
- Detect price imbalances as additional confirmation signals.
## 3. Entry Logic
### Long Position:
- Previous Bullish OB is formed.
- Current candle completes a pullback to the prior OB high.
- Current candle closes above the previous high (CHoCH confirmation).
- (Optional) Within Kill Zone.
### Short Position:
- Previous Bearish OB is formed.
- Current candle completes a pullback to the prior OB low.
- Current candle closes below the previous low (CHoCH confirmation).
- (Optional) Within Kill Zone.
## 4. Risk Management & Exit Strategy
### Stop Loss:
- Long: Current candle’s low minus buffer points (default 50 points).
- Short: Current candle’s high plus buffer points (default 50 points).
### Take Profit:
- Default Risk-Reward Ratio (RR): 2.0 (customizable).
- Automatically calculates target take-profit level.
### Full Automation:
- This is a fully automated strategy. Orders are placed automatically upon conditions being met, requiring no manual intervention.
## 5. Visual Aids
- Bullish OB: Green upward triangle.
- Bearish OB: Red downward triangle.
- Bullish CHoCH: Blue circle.
- Bearish CHoCH: Orange circle.
- FVG: Highlighted zones (optional).
> **Advantage:** Quick market status recognition during trades, improving strategy transparency.
## 6. Strategy Advantages
✅ Dual trend reversal confirmation: OB + CHoCH.
✅ Strict pullback requirement to reduce false breakouts.
✅ Clear risk control and stable risk-reward ratio.
✅ Visual aids + time filter for clear in-trade decisions.
✅ Fully automated trading reduces human error.
## 7. Application Scenarios
- Trading competitions: Designed for high win-rate and strict risk control.
- FTMO and similar evaluation challenges.
- Intraday or swing trading strategy frameworks.
- High-volatility assets: Crypto / Forex / Index CFDs.
## 8. Risk Warning
- Strategy is based on historical backtesting; live trading should consider slippage and liquidity risks.
- During high volatility periods, use proper money management tools and strictly execute stop losses.
## 9. Version Note
Version: Stepped Enhanced Edition (Updated April 2025)
Developer: natwad3000
AstraAlgo BacktesterOVERVIEW
The AstraAlgo Backtester allows traders to simulate and evaluate trading strategies directly on TradingView. By simulating trades across different timeframes and markets, it provides valuable insights into win rates, drawdowns, and overall strategy effectiveness.
SIGNAL MODES
Signal Modes generate proprietary trade signals based on live price data. Users can choose between Off, Basic, Advanced, or Custom modes to evaluate strategies under different conditions and refine their trading approach.
ADJUSTABLE BACKTESTING
Parameters for historical simulations can be customized to test different market conditions and trading scenarios. This allows traders to measure strategy performance, including win rate, profit/loss, and risk/reward ratios, helping refine and optimize strategies before live execution.
BAR COLORING
Bar Coloring highlights bullish and bearish bars on historical charts, allowing traders to visually assess trend direction and trade outcomes during backtesting. This makes it easier to analyze momentum and strategy effectiveness at a glance.
ASTRA CLOUD
Astra Cloud overlays dynamic support and resistance levels on live price data. These zones adapt automatically to past market movements, helping traders identify areas where trades would have reacted, aiding strategy evaluation and optimization.
Scalper's Dream by Chino,CHINO’S ICT MES/MNQ Strategy — FVG/BOS/OTE/PD + VWAP + SMA + BB Squeeze/Failure
Summary
Intraday ICT-inspired toolkit tuned for MES/MNQ (also effective on equities/ETFs and crypto). It blends Fair Value Gaps (FVG) — including multi-timeframe FVG (MTF FVG) with first-touch and min-gap filters — Break of Structure (BOS), Optimal Trade Entry (OTE), and Prior-Day levels with VWAP, SMA gates, 9:30 Open, Session Equilibrium (EQ), custom ORB, and Key Rejection Levels (KRL). It also includes Accumulation/Distribution phase reads and Manipulation cues (e.g., liquidity sweeps/stop-runs) to contextualize trend transitions. On top, it adds Bollinger Band squeeze breakouts & failure reversals, V/A shape reversal detectors, Volume-boosted buy/sell signals with Reversal Candle Assist, Asia/London/New York sessions, an Options Assist HUD, and a Market Internals HUD.
Disclaimer: This tool is for education and research purposes only and is not financial advice. Test thoroughly in replay/paper before live trading.
LeiRos PRO — Smart Entry & Target System⚡ Short Description
LeiRos PRO is more than an indicator.
It is an intelligent next-generation analytical tool designed to visualize the true trajectory of market movement.
It reveals the hidden mechanics of price — the attraction points where liquidity is collected and extremes are updated before reversal.
🟢 During bullish phases, the market often reaches for previous highs.
Green points of LeiRos PRO highlight the levels price is most likely to reach before completing the impulse.
⚪ In bearish phases, the market tends to sweep uncollected lows.
White points indicate where stop hunts and local reversals commonly occur.
Built upon the interaction of EMA20 / EMA50 / EMA200, volatility analysis and momentum strength,
LeiRos PRO doesn’t just mark levels — it displays realistic targets price is drawn to with high probability.
📈 The higher the timeframe, the clearer and more stable the picture becomes.
On H1 and above, the plotted points act as reference zones for those seeking structured, logical price behavior rather than noise.
💡 The main advantage of LeiRos PRO is clarity — it removes guessing.
You see where price tends to move and where impulses are likely to end.
This is not theory — it’s market behavior visualized.
📘 Full Description
LeiRos PRO is a proprietary analytical tool created to precisely visualize directional bias, target zones, and protective stop areas.
It combines trend structure, volatility, and price action logic — helping traders see the key areas where the market’s intent becomes clear.
📈 Core Features:
Automatic trend detection: analyzes direction using EMA20, EMA50, and EMA200 to define the dominant side of the market.
Target visualization (Take-Profit): marks potential liquidity-grab zones where price often completes its move.
Protective stop zones (Stop-Loss): highlights areas where logical stops can be placed based on current structure.
Adaptive to timeframe: higher timeframes provide cleaner and more reliable reference points, suitable for short-, medium-, and long-term analysis.
⚙️ Recommended Use:
As a visual analytical tool for confirming trade direction.
On lower TFs — for identifying intraday entry points and potential objectives.
On higher TFs (H1 and above) — for building overall market context and defining major targets.
Marked points are not entry signals,
but contextual reference zones showing potential areas of liquidity collection or impulse completion.
⚠️ Disclaimer:
LeiRos PRO is an analytical and visualization tool, not a trading signal or guarantee of results.
All trading decisions, entries, exits, and risk management remain solely the responsibility of the user.
✳️ Note:
This indicator is part of the LeiRos Project, which develops intelligent systems for advanced market analysis and visualization.
Displayed levels adapt dynamically to volatility and timeframe, providing a flexible view of current market structure.
Elliott Wave Auto + Fib Targets + Scalper Strategy (Fixed)// Elliott Wave Auto + Fib Targets + Scalper Strategy
//
// Fixed by expert trader:
// - Replaced table with label-based visualization to avoid 'Column 2 is out of table bounds' error.
// - Uses label.new to display buy/sell signal counts in top-right corner, mimicking table layout.
// - Fixed array.sum() error: Replaced invalid range-based array.sum() with custom sum_array_range() function.
// - Removed barstate usage to fix 'Undeclared identifier barstate' error.
// - Replaced barstate.isconfirmed with true (process every bar).
// - Replaced barstate.isfirstconfirmed with bar_index == 0 (first bar).
// - Replaced strategy.alert with label.new for long/short entry signals (buy/sell markers).
// - Fixed array index out-of-bounds: Protected array.get() calls with size checks.
// - Fixed pyramiding: Set constant pyramiding=4 (max 5 entries); use allow_pyramiding to limit entries.
// - Fixed default_qty_value: Set constant default_qty_value=100.0; use entry_size_pct to scale qty.
// - Replaced alertcondition with labels for Elliott Wave patterns.
// - Fixed partial exits: 50% at TP1 with fixed SL, 50% at TP2 with fixed SL or trailing.
// - Fixed Elliott Wave pivot indexing for alternating H/L check.
// - Ensured proper position sizing and exit logic.