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

2014.03.28 11:37

H3, H6, H8 and H12 Candle Sticks Indicator - indicator for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 31
AddCandles.mq4 (8.01 KB)view


Rasoul Mojtahedzadeh


This indicator is for those who would like to have H3, H6, H8 and H12 candle sticks on their H1 charts. An input variable is considered to compensate the time difference between your brokers' server clock and GMT0. You can change the color of bearish, bullish and Doji candles as well.

Here is a short description of each input variable task/purpose:

  1. TimeFrameInMinutes [Integer Variable]: Your desired time frame in minutes. For example, if you want to have H8 time frame, you set this variable to 480.
  2. UpCandleColor [Color Variable]: Bullish candles color.
  3. DownCandleColor [Color Variable]: Bearish candles color.
  4. DojiCandleColor [Color Variable]: Doji's candles color.
  5. BrokerHourDiffGMT [Integer Variable]: Your broker's time difference in GMT. For example, if your broker's server time starts a day at GMT +2, you set this variable to 2.
  6. NumCandlesToRedraw [Integer Variable]: The number of candle sticks you would like to be drawn.
  7. Width [Integer Value]: Tickness of candles.


H3, H6, H8 and H12 Candle Sticks Indicator

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.

TypeToBytes TypeToBytes

Byte-wise operation with structures and standard data types.

PriceLines PriceLines

Script for drawing a price markup.