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

類似した注文
PROJECT: ADVANCED MT4/MT5 EA OPTIMIZATION – AUTOMATED TRADING, DYNAMIC PROFIT LOCKING, AUTO LOT & PROFESSIONAL RISK MANAGEMENT Hello Developer, I already have an existing Expert Advisor (EA) for MetaTrader 4/5. It is currently running, but I need an experienced MQL4/MQL5 developer to fix its problems and improve its trading performance, execution, risk management, and reliability. I want to preserve the original
I want a mt5 boom and crash indicator that trades boom and crash... but not trading the spikes but trading the regular candlesticks... avoiding spikes am not will trade the spikes... so only for regular candlesticks boom1000 boom500 crash 1000 crash 500... 1min tf and 5min only... small account friendly
Hi there I need someone who can create an ea that can trade the next price movement points but it has to be greater than the live spread it must be able to pay the spread cost first the stop loss must follow the price , it can use ai calculater, ema ,adx anything but aslong it determines the next price movement points it must read the live spread and scan every sysmbol on the chart market then place an order at that
I want an advanced automated Expert Advisor (EA) trading robot developed for MetaTrader 5 (MT5), compatible with Exness trading accounts. The robot should have the following features: 1. AUTOMATED TRADING - Automatically execute BUY and SELL trades. - Identify strong trading opportunities. - Analyse market trends before entering trades. - Operate without requiring manual trade execution. 2. ADVANCED MARKET ANALYSIS -
Can you do a 5 year back test on /6e (fx euro). using 30 minute chart. Buy to open if macd histogram is above 0 line, or sell to open if macd histogram is below 0 line at 7:30 pm eastern standard time. Close position at 7:30 am next morning. Trade stays open for the entire 12 hour time. thanks, regarding backtest, forgot to mention $300 stop loss, and $500 take profit. Thank you
I strictly need a trading robot to trade in stocks and forex. I am a beginner and woul like to trade in simple stocks and forex with the aim of growing my trade capital in the trade platform
#property strict #property version "1.00" #property description "XAUUSD Liquidity Sweep + Fibonacci Extension EA" #include <Trade/Trade.mqh> CTrade trade; //==================== INPUT SETTINGS ==================== input group "01. Strategy" input ENUM_TIMEFRAMES SignalTimeframe = PERIOD_CURRENT; input double SL_Buffer_Points = 20; input ulong MagicNumber = 20261122; input group "02. Fibonacci Extension" input double
أحتاج إلى مطور MQL5 ذو خبرة لإنشاء مستشار خبير آلي بالكامل ل MetaTrader 5. المتطلبات: - رمز التداول: XAUUSD (ذهبي) - الإطار الزمني: M5 - حجم القطعة الثابت: 0.01 - صفقات شراء وبيع تلقائية - وقف الخسارة وجني الأرباح - حماية يومية قصوى من الخسارة - حد أقصى لصفقة مفتوحة واحدة في كل مرة - إدارة المخاطر ومرشح الانتشار - لا توجد استراتيجية خطيرة للمارتينجيل أو الشبكة - الاختبار الرجعي والتحسين - كود مصدر MQ5 الكامل وملف EX5
1. Platform & Scope Platform: MetaTrader 5 (MQL5) Expert Advisor. Target market / symbols: [Specify symbols, e.g., EURUSD, XAUUSD, or all chart symbols]. Timeframe: [Specify timeframe, e.g., M15, H1, or input parameter for timeframe]. Trading mode: [Specify: Hedging or Netting], with configurable MagicNumber. 2. Entry & Exit Logic Entry conditions: [List exact buy and sell entry rules, e.g., EMA crossover + RSI
This utility manages the stop loss of positions that are already open, whether you opened them by hand or with another Expert Advisor. It never opens or closes trades by itself: it only moves the stop loss, and only in your favour. What it does Break-even: when a position reaches the profit you choose (in points), the stop moves to the entry price plus a small locked profit. Trailing stop: after a second profit