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

類似した注文
Create a fully automated MetaTrader 5 (MT5) Expert Advisor (EA) in MQL5 based on the following exact trading strategy. STRATEGY NAME: Previous Day High/Low Daily Breakout Strategy INSTRUMENTS: 1. XAUUSD — fixed lot size: 0.01 2. EURUSD — fixed lot size: 0.10 TIMEZONE: All strategy times must be calculated in Indian Standard Time (IST / UTC+5:30). The broker's server time may be different, so the EA must correctly
OVERVIEW: I am looking for an experienced MQL developer to build a proprietary Expert Advisor (EA) specifically optimized to PASS evaluation challenges on modern prop firms (specifically targeting The 5%ers execution rules). The EA must rely on momentum and volume expansions, completely avoiding toxic strategies such as Grid, Martingale, or averaging down. Every trade must protect the account's daily drawdown
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Trade XAUUSD only Support MT5 Use Buy Stop and Sell Stop pending orders around a configurable breakout range. When the market breaks the range, activate the corresponding trade. Automatically place Stop Loss and Take Profit immediately with every order. Automatically cancel the opposite pending order after one side is triggered. No Martingale No Grid No averaging down No loss recovery system No unlimited position
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Hello! I want to automatically trade on Sierra Charts (IronBeam Brokerage). NQ ($20 per "handle") or MNQ ($2 per point or handle) - futures Broker: IronBeam mostly for the low capital requirement for futures Chart: Sierra Charts I almost exclusively trade a 5-20 bracket with 2 contracts (first contract closes at a +5 and second bracket closes at a +20.) When the +5 is reached, I move my stop from -15 to BE
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double