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

類似した注文
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
Looking for an all in one buy sell indicator I'm looking for a strategy too as part of the project I'm willing to pay well but I will want to test it before proceeding with contract. I'm looking for a developer that is skilled motivated open for future projects... if you aren't one of those do us a favor and just don't respond
Im after a person to copy, exactly MACD in TRADINGVIEW to use on MT5. Ive tryed alot of the apps available...Tradingview works for me. Im also after a person to make a real time chart, overlayed on the delayed chart Thanks
need a dots marking of a simple rules pullback indicator. in the .tpl file look at 28 Jan 2026, TF M5 basically it is just overlaping lows or highs of the previous candle price. there are 2 scenario to accomodate: 1. simple pullbacks 2. pullbacks with inside bar and outside bar involved
buy condition when blue color appears sell condition when yellow color appears close all buys when there is a sell order close all sells when there is a buy order
Società di investimento con attività tra Sanremo e Monaco ricerca un giovane collaboratore con esperienza nell’utilizzo avanzato di MetaTrader 5. Si richiede la conoscenza della lingua italiana e inglese. Attività Il collaboratore si occuperà di: • eseguire backtest di strategie di trading su MT5 • effettuare ottimizzazioni parametri tramite Strategy Tester • analizzare risultati e robustezza delle strategie •
I am looking for an experienced MT5 developer to build a custom, aggressive XAUUSD scalping EA with structured basket management and momentum continuation logic. This is not a generic EA — it requires careful architecture and proper risk control. Key Requirements: Instrument & Timeframes: XAUUSD only M1 execution chart M5/M15 for directional bias and structure context Execution & Basket Logic: Aggressive basket-style
1. Project Overview Asset: XAUUSD (Gold) Timeframe: M1 (1-Minute) for execution; M5/M15 for trend filtering. Objective: Execute high-frequency scalps during peak liquidity (London/NY overlap) to capture 10–30 pip movements with high precision. Core Logic: The "Poverty Bot" strategy relies on Mean Reversion combined with Momentum Burst (Price Action + RSI/EMA filters). 2. Strategy Logic (The "Poverty"
Simple MA indicator with buy and sell arrow with a push notification. Conditions for buy or sell should be when price breaks above or below the MA and then retraced back to the MA creating a HH/HL or LH/LL then the buy/sell signal arrow should be at the reversal candle that forms the HL/HH. And on indicator window1 RSI cross over MA and the RSI line
Hi, I hope you doing Greate, Let me share details , so the original EA already working but you can check and verify everything fine.First you verify that all original EA features are working correctly then add a user dashboard showing the number of detected zones, buy sell both none status, and an on off button. also ensure mitigated zones disappear properly and that trades follow the zone rules, and integrate the