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 have an existing MetaTrader 5 EA that requires significant improvements to its **risk management logic and trade execution** behavior. Currently, the EA executes trades without applying proper stop loss, take profit, or trailing mechanisms, which results in high drawdown and potential loss of capital. The goal is to **optimize the EA for low risk and high return**, starting with small capital (e.g., \$10, \$50
I have pine editor script I want to convert this into MT5 EA Main i want to match tv and mql5 buy and sell signal to match in trading view i use this with heikin ashi candles things to add in this but after main need to be done 1 Ea start stop time 2 Manual lot size 3 tp sl - on Ea start if i want to add separate tp for first 2 trades and after that same tp 4 halt ea and close all trades after over all daily profit
Hello Programmer! **Objective** Create an **MT4 Expert Advisor (“Monitor EA”)** that runs on a single blank chart and acts as an **execution firewall and auto-recovery controller** for all other EAs trading on the account. Because existing EAs are **not editable**, the Monitor EA will control trading by **closing and reopening charts/templates** instead of modifying EA logic. Target Platform: **MT4** Broker Type
💰 BUDGET: $2000-$4000 XAUUSD EA (Negotiable) Institutional XAUUSD EA with 20+ Systems | Sharpe 4.2+ | Quant Firm Standards DESCRIPTION I need an experienced MQL5 developer to build a professional institutional-grade EA with 20+ integrated trading systems for MetaTrader 5. CORE REQUIREMENTS: Architecture: • 20+ independent trading systems (trend, mean reversion, volatility, breakout) • ON/OFF toggle for each system
Hi , I am finding scalping Ea for Mt5 which can work on all pairs and have back tested results at least of 1 year and is currently running in Mt5 so i can login and see how it is performing who ever have message me
Strategy Name: SHA & Fast Ema Pullback for BTCUSD Scalping Indicators Used: Smoothed Heiken Ashi Candles MT5.ex5, Fast EMA, Trend Ema, RSI Filters Used: Break Even Filter, Ema Slope Filter, Day-wise Filter, Session/ Time Filter, Loss Filter Lots: Fixed Size, 50% lots booked when Risk to Reward is 1:1 Stop Loss: in Points Trailing SL: starts once Risk to Reward 1:1 is achieved Target: 2000 Pts (max) Buy Setup Ema
(15M + 1H Support & Resistance + Liquidity Wick + Trailing SL) 🎯 Objective Develop an MT5 Expert Advisor (MQL5) for XAUUSD (Gold) based on 15-minute liquidity rejection at H1/M15 Support & Resistance zones , with candle-close based trailing stop loss . 📊 On-Chart Display Detected Support & Resistance zones Trade direction Current SL & trailing level Active session 🔐 Risk Rules Only one trade per signal No
I’m looking for an experienced EA developer to develop a hedging Expert Advisor for XAUUSD , designed with the primary objective of maximizing broker commission rebates while maintaining overall account profitability . The EA should: Trade XAUUSD only Use a hedging strategy (frequent buy/sell positions) Be optimized for high trading volume to “milk” broker commissions Still aim to keep the net account profitable or
1.Session high low will use GMT time as range. I am not sure how the EA will handle the DST. When GMT+1 is xx:00 - xx:00 When GMT is xx:00 - xx:00 above is Asia range. When GMT+1 is xx: 00 - xx:00 When GMT is xx:00 - xx:00 Above is London range. Entry windows one for London Session and one for NY Session Emas for bias Fractals indicator for invalidation We will discuss more later
Hello all developers! I need a profitable EA ready made, I am paying good, but only serious offer please. In first message please send me backtesting resaults and demo version. If you will not do this your application will be rejected, no exceptions. Source of code of course required