Can should should show lines and arrows when conditions meet .
The goal of the Trend Line Theory strategy is to find out if a breakout is valid by evaluating:
a) The trend
b) The number of pullback - swings
c) The relative swing length
d) The swing retracement percentage
To do that, let’s see how we can use trendlines to target the end of a retracement and enter in the direction of the larger trend.
The basic logic in price action analysis is that the stronger a move is the more likely the price will continue to move in that direction.
The same holds true of pullbacks during a trend.
The stronger a pullback is the more likely it is that it will turn into a full blown reversal at the end. And, conversely, the weaker a pullback is the more likely it will be just a retracement and the more likely that the original trend will resume.
And this is where John Hill’s Trend Line Theory will help us, namely in determining the strength or weakness of a pullback.
Note that in order to use this strategy there needs to be what John calls a complex pullback, which is just a pullback with at least 3 swings in it.
In essence, the strategy consists of drawing two trendlines and then analyzing how they interact with each other and with price.
Those 2 trendlines are the 0-2 and the 0-4 line, as John calls them.
• Point 0 is always the starting point of the pullback. So, that would be the high in an uptrend and the low in a downtrend.
• Point 1 is the ending point of the first swing inside of the pullback.
• Point 2 is the ending point of the second swing inside of the pullback.
• Point 3 is the ending point of the third swing inside of the pullback.
• Point 4 is the ending point of the fourth swing inside of the pullback.
Now, to get the 0-2 and 0-4 line all we need to do is connect the respective points inside of the pullback. It doesn’t matter which swing point is higher or lower, just connect the 0-2 and the 0-4 points.
So, after drawing the two lines we can get a sense of the strength of the pullback by analyzing the trendlines.
If line 0-4 is steeper then the pullback has momentum and may turn into a complete reversal of the larger trend. Don’t enter on the breakout of line 0-4.
If line 0-2 is steeper then the pullback is weak and the larger trend is more likely to resume. Enter on the breakout of the 0-4 line in the direction of the larger trend.
Let’s look at a few examples so that you can better understand this strategy. First an example of the trendline theory in a downtrend on the EUR/USD pair.
To determine the trend on this chart, we are using a 50-period simple moving average represented with the blue line. The price is clearly below of the MA for most of the time and the MA is sloping down indicating strength of the larger trend.
• The start of the pullback is the swing low of the initial down move on the left and it’s marked with the number 0 on the chart.
• In line with John Hill’s trend line theory, the first swing high inside of the pullback is marked with number 1 on the chart
• The first swing low inside of the pullback is marked with number 2 on the chart
• The second swing high inside of the pullback is marked with number 3 on the chart
• The second swing low inside of the pullback is marked with number 4 on the chart

類似した注文
I am looking for an experienced developer to create a custom MT4 Expert Advisor (EA) / trading robot. Requirements: Fully automated trading system for MetaTrader 4 Clear entry and exit strategy (can be based on indicators, price action, or a custom logic) Risk management features (lot size control, stop loss, take profit, trailing stop) Ability to run on multiple currency pairs Option to adjust settings (risk %
I need a custom MT4 Expert Advisor based on H4 breakout with martingale and equity protection. Platform: MetaTrader 4 / MQL4 Main symbol: XAUUSD Must work on 5-digit / 3-digit brokers All settings must be adjustable from EA inputs Strategy Logic: EA must detect the previous H4 candle high and low. Automatically open BUY when price breaks above the previous H4 high. Automatically open SELL when price breaks below the
Hello, I am looking for an experienced MQL5 developer who can build a reliable choppy/range market filter for my existing EA. My EA works well in trending markets , but it takes too many losing trades during sideways, choppy, and ranging markets . I want an indicator/filter that can detect bad market conditions and pause or block EA entries during those periods. Main Requirement: Detect Trend / Range / Choppy market
Trend Filter BUY EMA 9 > EMA 21 > EMA 50 EMA 50 slope must be pointing upward. Price must remain above EMA 50. SELL EMA 9 < EMA 21 < EMA 50 EMA 50 slope must be pointing downward. Price must remain below EMA 50. Slope sensitivity should be adjustable in the EA settings. Entry Conditions Wait for a pullback toward EMA 9 or EMA 21. Entry only after a valid engulfing candle. BUY Previous candle bearish. Current candle
1.a specific robot to earn for a quick and reasonable trade all over. The Idear of being specific makes me perfect, I want this to be clear that make me a high luxurious person will describe me and I will promise to advertise the market both internally and externally
I have my own strategy in 1min. I want it convert to a bot. Please reach me only coding experts. I dont want bit makers from Ai. Demo version should be provided for confirmation
Code the indicator to MT5 EA, include all the inputs variable and values Enable EA true or false Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Lot size adjustable Max spread in points (0=disable) Use stop loss true or false Stop loss in points (adjustable) Use stop loss circle true or false Use take profit true or false Use take profit in points (adjustable) Use pending order in
Title: Need MT4 Expert Advisor for XAUUSD (SMC/ICT Strategy) Requirements: I need a professional MT4 Expert Advisor (EA) for XAUUSD based on Smart Money Concepts (SMC) / ICT strategy. Features: - Platform: MetaTrader 4 (MT4) - Symbol: XAUUSD - Automatic Buy and Sell trades. - Detect market trend automatically. - Use Break of Structure (BOS) and Change of Character (CHoCH) for trend confirmation. - Enter trades only
The EA must be fully automated , backtest-friendly , prop-firm-safe , and built with a clean modular architecture . Core Strategy Requirements 1. Higher Timeframe Bias Use D1 and H4 . Use 200 EMA as trend filter: If price is above 200 EMA on both D1 and H4 -> allow BUY only If price is below 200 EMA on both D1 and H4 -> allow SELL only If D1 and H4 are not aligned -> no trade 2. Market Structure Module Detect and
Looking for an experienced MQL5 developer to build a professional, fully automated Multi-Timeframe trend-following Expert Advisor for MT5. The system is asset-agnostic (Forex, Gold, Indices, Crypto, and Deriv Synthetics). Core Technical Logic: Macro Trend (H4 & H1): Direction determined by Candle Close vs. EMA 200, and EMA 50 > EMA 200 crossover state. Market Structure Filter (H1): Algorithmic