PivotTide

Pivot Tide — Wave Pivots, Auto Trend Lines and Line-Based Trend Direction

Pivot Tide is an indicator for MetaTrader 4 that automatically splits the chart into waves, marks wave tops and bottoms, builds trend lines through them, and determines the trend direction from the state of those lines. Everything is drawn directly on the chart, together with a compact info panel.

It works on any symbol and any timeframe.

MT5-version: https://www.mql5.com/en/market/product/199662

What it does

  1. Detects waves. A wave is defined by the relationship between two moving averages: a fast SMA and a slow LWMA. While the fast average is above the slow one, an up-wave is in progress; while it is below, a down-wave is in progress.
  2. Marks pivots. When a wave ends (the averages cross), the indicator places a marker on its extreme: the high of an up-wave or the low of a down-wave.
  3. Builds trend lines through pairs of consecutive pivots.
  4. Tracks line breakouts. If price closes beyond a line, the line is considered broken and is cut at the breakout bar.
  5. Determines the trend from the lines and shows it on the panel (UP, DOWN or RANGE).

Waves are calculated on two levels: major (large waves, default length 70) and minor (small waves, default length 21).

What you see on the chart

Pivot markers

  • Red arrow pointing down above a candle: major peak (local high).
  • Blue arrow pointing up below a candle: major trough (local low).
  • Small red and blue dots: the same for minor waves (can be turned off).

Trend lines

  • Resistance line (red) goes through the last two peaks when the second peak is lower than the first.
  • Support line (blue) goes through the last two troughs when the second trough is higher than the first.
  • An unbroken line is extended to the right.
  • A broken line is cut at the breakout bar and becomes dotted. Such lines stay on the chart as history.
  • The main lines are built from major waves. Lines from minor waves can be enabled separately (they are thinner and dashed).

Colors (red for peaks and resistance, blue for troughs and support) can be changed in the settings.

How the trend is determined

The trend is determined from the two current lines, resistance and support, built from the latest pairs of pivots.

State of the lines Trend on the panel
Both lines are alive (price is squeezed between them) RANGE: squeeze, consolidation
Only the support line is alive UP: uptrend
Only the resistance line is alive DOWN: downtrend
No live lines Direction of the last line breakout

The logic is simple: a breakout above a resistance line shows buyer strength, and a breakout below a support line shows seller strength.

Info panel

The panel shows:

  • Trend: current trend (UP, DOWN or RANGE);
  • Major wave: direction of the current major wave and how many bars it has lasted;
  • Resistance: current resistance line level and the distance to it in percent;
  • Support: the same for the support line;
  • Last break: direction of the last line breakout and how many bars ago it happened.

The panel can be dragged with the mouse (by its top row) and minimized with the - / + button. Its position and state are remembered for each chart. By default it sits at the top center of the chart; the starting coordinates are set in the inputs. The panel can be turned off completely.

Inputs

Input Default Description
MQL5.com account author's profile link Informational field, does not affect the indicator
Major wave length 70 Length of major waves. Higher value: fewer pivots and larger waves
Minor wave length 21 Length of minor waves. Lower value: more frequent markers
Show minor pivots yes Show minor pivots (small dots)
Draw trend lines (major) yes Draw lines based on major waves
Draw trend lines for minor waves no Additionally draw lines based on minor waves
Lines kept per side 4 How many latest resistance and support lines to keep on the chart
Extend unbroken lines to the right yes Extend unbroken lines to the right
Bullish color blue Color of troughs and support lines
Bearish color red Color of peaks and resistance lines
Show info panel yes Show the info panel
Panel X -1 Horizontal panel position in pixels (-1 = centered)
Panel Y 22 Vertical panel position in pixels from the top (-1 = centered)
Alert on trend change no Pop-up alert when the trend changes
Push notification on trend change no Push notification to your phone when the trend changes
Bars to analyze 1500 How many bars of history to analyze (fewer: faster)

How to use it

  • Read the context. Look at the panel: UP and DOWN show the trend direction based on the lines, RANGE means a squeeze and waiting for a breakout.
  • Trade around the lines. A live support or resistance line is a zone where price may react. A breakout (a close beyond the line) signals a change in price behavior.
  • Breakout entries. Many traders wait for a candle close beyond the line and then for confirmation, for example a retest of the broken line.
  • Use it as a filter. The line-based trend can filter your own system: trade only in the direction of UP or DOWN and skip RANGE.
  • Tune the sensitivity. Lower Major wave length and Minor wave length values produce more frequent but less significant pivots. Higher values produce fewer and larger waves. Adjust them to your symbol and timeframe.
  • Higher timeframes give more reliable lines than lower ones.
  • Notifications. Enable Alert on trend change or Push notification on trend change so you don't have to watch the chart all the time.

Good to know

  • A pivot is confirmed only after the moving averages cross, so a marker appears with a delay relative to the actual extreme. This is the price for confirmed markers that do not disappear or move.
  • The indicator does not provide ready-made trading signals and is not a trading system. It is a tool for analyzing market structure. Use it together with your own entry, exit and risk management rules.
  • Calculation is performed once per new bar, so the indicator is light on resources.
  • Trading financial markets involves risk of loss.

Data for Expert Advisors (iCustom)

The indicator has 4 buffers:

Buffer Content
0 Major peaks
1 Major troughs
2 Minor peaks
3 Minor troughs

Empty value: EMPTY_VALUE . A buffer holds a value only on the bar where a pivot is located.


More from author
The indicator calculates the most probable trend stop/reversal areas, confident trend movement areas. The calculation considers: the rate of price change; the relative deviation angle of the chart; the average amplitude of price movements; the price leaving its "comfort zone"; the values of the ATR indicator. The indicator can generate an Alert when the price enter a stop/reversal area. Settings Draw the entire length? - draw the areas until the end of the chart; Show Stop UP-trend - display th
Buy and sell zones
Evgeniy Zhdan
5 (2)
Indicator for determining flat and trend. If the price is below any of the two histograms and two lines (red and blue), this is a sell zone. When purchasing this version of the indicator, MT5 version for one real and one demo account - as a gift (to receive, write me a private message)! If the price is above any of the two histograms and two lines (red and blue), this is a buy zone. MT5 version:  https://www.mql5.com/en/market/product/70409 If the price is between two lines or in the zone of
SuperTrend
Evgeniy Zhdan
2.5 (2)
The Supertrend Expert Advisor The Supertrend Expert Advisor with averaging elements. It has been developed during three months until I finally got good results. It is not a scalper. The minimum balance to start trading - 100 $. Is automatically adjusted to the 4 and 5-digit prices. Has an efficient risk management system. The lot and limit on the maximum lot is automatically calculated based on the settings specified in the EA. As a result, you have a complete automated trading system. Download
Stardust
Evgeniy Zhdan
StarDust searches for divergences in the values of several indicators considering them as signs of flat and enters the market if a relatively steady trend is detected. The Expert Advisor trades "basic" symbols with a low spread. The best results are achieved on М15. The EA automatically adjusts to 4 and 5-digit quote flows. Settings Comment_to_orders – comment to a placed order. The field can be left blank if no comment is required. MM – enable money management with automatic setting of a worki
Top Floor
Evgeniy Zhdan
The EA catches the price when it moves against the trend in an effort to open an order in an opposite direction (direction of the main trend). Screenshots illustrate examples of entries and the strategy gist. The EA uses stop losses depending on values of ATR. Settings: Lot_ - if Risk_ = 0, the EA will trade this lot; Risk_ - risk per one trade. Stop loss is taken into account; koeff_ATR - coefficient multiplied by the ATR value to calculate stop loss (the bigger the value, the bigger stop loss
FastBoom
Evgeniy Zhdan
The FastBoom EA finds the most probable points of price pullback/reverse and places an order. It places averaging orders if the price moves further against take profit. Settings of the EA: Lots - initial lot; LotExponent - multiplier for following orders (Martingale). 1 - no multiplier. TakeProfit - take profit in points; Stochastic Settings InpKPeriod - K Period of Stochastic InpDPeriod - D Period of Stochastic InpSlowing - Stochastic Slowing LevHigh - level for sell positions of Stochastic L
The Expert Advisor calculates the double/triple divergence of volumes, and starts trading. It uses a unique formula of lot calculation, which greatly improves stability of trading. Recommended TF - 1h. Currency pair - EURUSD , but the EA can be used on any trading instruments which are not subject to high volatility. Settings mode - trading direction can be set manually; close - order close level (details on the screenshot); Step between orders - step between orders in points; Maximum orders -
OrderOnLine
Evgeniy Zhdan
The Expert Advisor opens orders from the horizontal line, the a trader can set on any level by dragging using the mouse or by changing the line properties. For example, when a horizontal line is above the current price, the EA will open a Buy order once the horizontal line is reached. And vice versa: If the line is below the current price, the EA will open a sell order once the line is crossed. A buy crossover of the line is: opening of the current candlestick below the horizontal line; the curr
SellerATR
Evgeniy Zhdan
5 (1)
The Expert Advisor only sells. Recommended currency pairs : EURUSD; GBPUSD; USDCHF; USDJPY; USDCAD; AUDUSD; EURGBP; EURAUD; EURCHF; EURJPY; GBPCHF; CADJPY; GBPJPY; AUDNZD; AUDCAD; AUDCHF; AUDJPY; CHFJPY; EURNZD; EURCAD; CADCHF; NZDJPY; NZDUSD. Timeframe: H1. Percent% manages closing both loss-making and profitable deals based on the account overall status. Using the EA on 23 symbols mentioned above allows the robot to cope with the drawdown in case of a long trend. While positions on some pairs
Illusion
Evgeniy Zhdan
3 (2)
The Illusion EA uses the probability theory - after a series of consecutive virtual losses - i.e. right during a flat the EA already starts trading in the trend. In addition, the EA considers the ratio of bullish/bearish candles on the higher timeframes to determine the greatest probability of the price movement direction. Only 1 order can be opened at a time. In case of a loss the following order will be placed with an increased lot (the multiplication coefficient is set in the parameters). The
The indicator plots a trend line and determines the levels for opening trades, in case the price goes "too far" away from the trend level. More detailed information is available in the screenshots. Settings Away from the trend line - distance from the trend line to the trades level; Arrow Signal for deals - enable displaying an arrow when the price reaches the trades level; Size of Arrow - size of the arrow; Alert Signal for deals - enable generating alerts when the price reaches the trades lev
Turbina
Evgeniy Zhdan
5 (4)
The axiom of the Forex market is that any trend will be broken. The Expert Advisor determines trend direction (the pink line), and calculates levels for opening opposite orders depending on the settings. The value of Away from the trend line for Deal will be different for each pair and timeframe, depending on the volatility of the trading instrument. Next orders can be opened with an increased lot (a static lot is used by default). See the screenshots to understand the idea of the Expert Advisor
Odysseus
Evgeniy Zhdan
The Expert Advisor determines the moments of strong movements and opens a position in the direction of the most probable price movement. The strategy always uses stop loss and take profit. Several independent orders can be in the market (the maximum number is set in parameters). The goal of the EA's underlying trading system is the quantitative excess of the number of profitable deals over the number of losing ones. Recommended: EURUSD 5m; GBPUSD 5m; USDJPY 5m. The Expert Advisor is able to work
Vise
Evgeniy Zhdan
Vise is a trend indicator. The upper and lower lines follow the price showing the prevailing price direction. Frequent breakthroughs of the upper line indicate a bullish trend, while frequent breakthroughs of the lower line indicate a bearish one. Parameters Points for UpLine - initial number of points for the upper line; Points for DownLine - initial number of points for the lower line. During the breakthrough of the upper level (line), this level shifts upwards by Points for UpLine. If the up
Twinkle
Evgeniy Zhdan
Twinkle is a trend-based scalper using stop loss and take profit invisible to the broker. The EA does not look for trend reversals. The EA catches strong market movements and opens orders in the direction of the trend. Your broker will not see the order closing levels. The EA closes orders independently when reaching the take profit or stop loss levels specified in the settings. Recommended trading symbols: EURUSD M5, GBPUSD M5. ECN accounts with 5 digits quotes are recommended. Expert Advisor
Shine
Evgeniy Zhdan
4.75 (4)
This Expert Advisor implements elements of the Martingale system. Orders are opened at a specified distance from the moving average. The Parabolic SAR indicator and certain technical details are used to ensure the most accurate entries. The EA is highly customizable. It is recommended for simultaneous use on 4 currency pairs: EURUSD M15; GBPUSD M15; USDJPY M15; USDCAD M15. Despite good stability, it is advisable to disable the EA operation during the days rich in news releases. Configurations P
LuckyCase
Evgeniy Zhdan
LuckyCase is an Expert Advisor with martingale elements. The EA strategy is based on a significant "deviation" of the price from SAR inadicator and the Bands levels breakthrough point. The money management system is an essential part of the EA. It starts working after a trade is opened. Trades are closed after accumulating specified points of market orders, by deposit % or after an opposite side of the channel is broken through. The default EA settings are meant for: EURUSD M15; USDJPY M15. The
Elize
Evgeniy Zhdan
The Elize Expert Advisor has been designed to work with the EURCHF currency pair. It considers the peculiarities of this trading instrument, its behavior and dependence on the behavior of other currencies. In particular, when the currencies of the European countries (EURUSD, GBPUSD, EURNOK, EURCHF) move in the same direction, the EA starts its operation and opens a deal in the trend direction of the European currencies. In the event of price rollbacks, the EA uses a unique method for making the
AllTrendLines
Evgeniy Zhdan
4 (1)
Brief Description of the All Trend Lines Indicator The indicator analyzes the wave structure of the market. What it displays on the chart: First. Wave pivots (semaphores) • Red markers – wave highs • Yellow markers – wave lows • Yellow-green markers – additional local extremes Second. Trend lines • Purple/blue lines – trends based on highs (resistance/support) • Beige/green lines – trends based on lows • Lines are built automatically by connecting wave pivots of the same type Third. Main trend
FastTraffic
Evgeniy Zhdan
The Expert Advisor has been specifically developed for trading gold (Spot Gold). The strategy is based on Fibo levels calculated from the previous (first) candle High/Low and the width of the current and lower timeframes channel. If important Fibo levels of different orders are located in a single price channel (within a spread), the EA defines this channel as the target for price movement and starts operation. Martingale and averaging are not used. Each order is independent and is accompanied b
Jazz
Evgeniy Zhdan
The algorithm of this Expert Advisor determines the significant price levels, where the trend often turns into a flat or reverses. Stochastic Oscillator serves as an additional filter of overbought/oversold zones. The EA sets stop loss and take profit after opening an order. The underlying trailing strategy applies a trailing stop. The EA is recommended for simultaneously use on three trading instruments: EURUSD M5, GBPUSD M5, EURCHF M5. Settings: Comment to order - comment to orders. MaxRisk -
Panther
Evgeniy Zhdan
The Expert Advisor looks for technical analysis patterns formed on the higher (hourly) timeframe to start working on the 5-minute chart. Technical analysis patterns used: double top/double bottom, head/shoulders, flag, expanding/narrowing triangles. The Relative Vigor Index technical indicator is used as the filter for opening deals. It is based on the idea that on the bull market the closing price is, as a rule, higher, than the opening price. It is the other way round on the bear market. This
Spook
Evgeniy Zhdan
The Expert Advisor calculates the divergence on the current and higher timeframes. In case the divergences coincide, the EA starts its operation. Deals have strict take profit and stop loss levels. Each deal is managed by trailing stop. The strategy involves the use of a tight stop-loss. Therefore, losing deals and/or series of losing deals are not uncommon. This EA is not suitable for those who have difficulties coping with losing deals. The EA is recommended for simultaneous use on the followi
Grand
Evgeniy Zhdan
The Expert Advisor has been developed specifically for the features of the CHFJPY currency pair. The EA's algorithm determines the direction of the current trend and starts operation. In case of a price reversal within the current trend, the EA adds additional orders. If trend changes, the EA starts to work in the direction contrary to the initial grid of orders. If there were no conditions for closing orders and the trend direction changed again, the EA continues to work with the "first" grid o
Intensive
Evgeniy Zhdan
The Expert Advisor algorithm determines on daily charts those candlestick patterns, which set the intraday trading direction. The trading EA determines how long the price is moving in overbought/oversold zones and starts working in the direction of the expected trend movement. Each position is accompanied with a tight stop loss and take profit. Only one active position can be open in the market. The EA was developed and tested using 99% quality quotes. The Expert Advisor has a built-in news filt
Slender
Evgeniy Zhdan
The strategy of this Expert Advisor is based on a hedging system, which implies placing opposite orders. The EA algorithm determines trend beginning and opens a position in the trend direction. In case of a wrong entry, the EA tries to neutralize the drawdown through opposite (hedging) orders at a preset interval (Coefficient of counter orders). Orders are closed when one of the two values ​​is reached - profit in percent or profit in points. The EA does not use lot increase. The EA wast tested
Dreamer
Evgeniy Zhdan
Советник работает по принципу хеджирования с периодическими "перекосами" в сторону трендовых направлений. Направления тренда советник определяет на основании стандартного индикатора Parabolic Stop and Reverse system (SAR). Уникальная стратегия установки балансирующих позиций позволяет избегать больших просадок даже при самых не благоприятных рыночных условиях. Параметры по умолчанию рекомендуется использовать на торговом инструменте: GBPJPY 15m. Разработка и оптимизация параметров производились
Snoot
Evgeniy Zhdan
5 (1)
This Expert Advisor works using a grid in the direction of a trend movement with the step between opened positions defined in the settings. The positions are closed by the total take profit. The Parabolic SAR standard indicator is used to filter order opening, which comes in the MetaTrader 4 package. The EA has been developed and tested using 99,9% quality of quotes. Operation of the EA in real time can be viewed in the signals . The best trading results have been achieved on CHFJPY M15. Settin
Solipsism
Evgeniy Zhdan
The Expert Advisor builds channels based on the data obtained using ATR and MA indicators according to the equations: Upper channel border = MA + ATR * (FIBO); Lower channel border = MA - ATR * (FIBO), where FIBO has the following values: Style of Trade - Aggressive = 1.61852; Style of Trade - Average = 3.26704; Style of Trade - Calm = 4.85556. Trades are opened inside the channel with the intervals defined in the settings. Long and short positions are opened independently. Positions are closed
The trading statistics indicator notifies the trader of the aggregate income of the trading account for different time intervals. The indicator has wide display settings on the graph. There is a choice of one of the two display languages on the chart- English and Russian. Settings Indicator language (ENG, RUS) - Select the language to display on the chart; To control the magic (-1: any magic) - Entering the Magic for control (-1: any Magic); Angle of indicator tie - Selecting the angle of the c
Filter:
No reviews
Reply to review