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

2013.02.22 07:19
Indicators

b-clock - indicator for MetaTrader 5

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

Views:
11552
Rating:
votes: 28
b-clock.mq5 (4.43 KB)view

Convert from b-clock.mq4. Original code at MQL4 can found at https://www.mql5.com/en/code/9124.

This indicator measure time left before new candle appeared.  In the upper left corner, indicator show details of it in minutes and seconds by string but on the last candle it shows by digital clock style. It is very useful for traders that required open their position exactly when the new candle is coming.

Core idea to get left time before new candle is coming:

Left lime = (Open Time of Current Candle + Current Time Frame) - Current Time

Input parameter:

  • ShowComment: set to false to hide comment at left corner of chart.
  • FontColor: select your desirable color at this parameter. This color is only used for text that is displayed on the right of incomplete candle.
  • FontSize: set size of text that is displayed on the right of incomplete candle.
  • FontName: set font name here, i.e "Arial" or "Arial Bold".
  • Offset: determine how many pips above running price your text will be displayed.

b-clock

OpenSellPosition_X OpenSellPosition_X

The OpenSellPosition_X script is created to sell at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.

OpenBuyPosition_X OpenBuyPosition_X

The OpenBuyPosition_X script is designed to buy at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.

Exp_ToCloseLoss Exp_ToCloseLoss

The Expert Advisor to perform global Stop Loss on all open positions

Exp_ToCloseProfit Exp_ToCloseProfit

The Expert Advisor to perform global Take Profit for all open positions.