Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.12.03 16:24

BarsMaxMinSystem - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 15

The indicator is created by the book of Larry Williams "Long-term secrets to short-term trading". But instead of identifying a trend by reversal points, there is added the trend Moving Average located on the zero line to define the direction of deals. For clarity the indicator is replaced to a separate window and the price is normalized by the trend MA. The meaning is in the following:

  • МА trend is calculated and also МА drawn on high prices and МА drawn on low prices (the last two with a period of 3)
  • trade only in the trend direction
  • buy on МА drawn on low prices, close on МА drawn on high prices, sell on МА drawn on high prices, close on МА drawn on low prices.

Indicator for Bars Maximums / Minimums Sytem by Larry Williams


  • Buy on the Moving Average price (Low), but only if the trend MA (on zero line) is blue (Up Trend).
  • Close a buy on the Moving Average price (High).
  • Sell on the Moving Average price (High), but only if the trend MA (on zero line) is orange (Down Trend).
  • Close a sell on the Moving Average price (Low).

Translated from Russian by MetaQuotes Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.

Pivot Star Pivot Star

Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN).