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


Kijun Sen Candles Two Colors - indicator for MetaTrader 4

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

votes: 11
2013.09.26 05:54
2014.12.15 23:31

Kijun Sen Candles Two Colors: Also available for MT5

This Indicator draws different colored candles above and below a Kijun Sen (KS) line.

The user is required to ensure that the Kijun Sen period on both the present Indicator and the user provided Kijun Sen match each other exactly.

This indicator has been updated to automatically change the the chart to a Line Chart and set the Line Chart to color None before drawing the the Kijun Sen Candles.

Steps 1 to 7 are therefore no longer necessary.
  1. Open a new chart.
  2. Change the chart price graphic to Line Chart - Press (Alt + 3) or locate 'Charts' on top menu and select 'Line Chart'. Make sure that 'Bar Chart' or 'Candlesticks' is not accidentally selected.
  3. Open the Chart Properties window - press (F8) or right click anywhere on the chart and select 'Properties'.
  4. Select the Colors tab.
  5. Select 'Line Chart:', now select the '▼' and change color to 'None'. The chart should now have no graphical price displayed and is referred to as the blank chart.
  6. A template of the blank chart can be made for further use with other currency pairs or instruments.
  7. Attach Indicator Color Candles cross Kijun Sen to the blank chart.
Kijun Sen Indicator: Predefined Kijun Sen Indicators of periods 21, 34, 50 and 100 are included in a zip file above.

Image: 25-Sept-2013
First vertical Line - London Open 08:00 (03:00 ET). Second vertical line - London 13:30 (08:30 ET - US News Release). Session Open V-Line

Candle Accuracy: Although the standard chart price graphic is hidden it is not disabled and Open, High, Low and Close prices are available in MT4 Data Window (press Ctrl+D or View → Data Window). Accuracy of the Indicators Open, High, Low and Close can be checked against Open, High, Low and Close in MT4 Data Window. When cross-referencing the cursor point must be on the relevant colored candle:

Interpretation of the the Data Windows:

  1. The hidden candle Open: 1318.6
  2. The hidden candle High: 1321.1
  3. The hidden candle Low: 1317.3
  4. The hidden candle Close: 1319.8

The indicator candle H, L, O and C are listed in Columns R up, R dn, B up and B dn (Red up candle, Red down, Blue uo candle, Blue down candle).

The hidden candle open is less than the close so the candle is a up candle. The indicator Red up candle in column 1 corresponds to the hidden up candle.

  1. R up L: 1317.3
  2. B up H: 1321.1
  3. R up O: 1318.6
  4. R up C: 1319.8

All Inputs parameters and options can be changed and will save automatically. If after changing Inputs or Color parameters a Reset is used the Color Candles will display as Bars. To revert to Color Candles switch to a different timeframe and then back.

Input and Parameters
  • Candle_Kijun_Sen - 35;
  • Candle_Shadow_Width - 1;
  • Candle_Body_Width - 3;


      Color Fill - Tenkan + Kijun Color Fill - Tenkan + Kijun

      Draws Tenkan and Kijun with Color Fill between 1. Price and Tenkan, 2. Price and Kijun, 3. Tenkan and Kijun and 4. No Fill.

      Color Fill MA Color Fill MA

      The indicator draws 2 Moving Averges with different color filling.

      MA Candles Two Colors MA Candles Two Colors

      Draws different color candles above and below MA lines. Supported MA methods: SMA, EMA, SMMA, WMA & TMA.

      NewsTradingEA NewsTradingEA

      EA for Trading on News event, will set BUY and SELL Stop (pending order) then will delete one pending order after open BUY/SELL occur (OCO) on specifed date and time.