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

2015.12.10 13:27

PinBar - indicator for MetaTrader 4

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

votes: 23
pin.mq4 (8.48 KB)view

The indicator marks the pin bars on the chart based on the parameters set, such as:

  • the maximum size;
  • the minimum size;
  • the "depth" of a pin bar (opening and closing price zone in percentage of the size);
  • mark only on daily extremums.

The indicator settings window

The indicator settings window

The chart's display at "Only extremum = false"

The chart's display at "Only extremum = false"

The chart's display at "Only extremum = true"

The chart's display at "Only extremum = true"


  • As the pin bar is a "Price Action" pattern, it is recommended to use a timeframe no lower than H1.

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.

Yen Trader Yen Trader

Expert Advisor to trade Yen Crosses based on Major Pairs and USDJPY divergence/convergence.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.