MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Find How 300 000+ Users Liven Up MQL5.com
To post a new code, please log in or register

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

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

2008.12.01 07:09
BarTimer

BarTimer - indicator for MetaTrader 4

| English Spanish Portuguese Chinese

Views:
16827
Rating:
votes: 3
BarTimer.mq4 (2.53 KB)view

It displays the current time position in relation to the beginning and the end of the bar. In addition the ratio between the time passed since the beginning of the bar and the whole bar duration expressed in percents is given. The informer is useful for choosing the moment of making a trade decision.
For example, I open the positions within 20% from the beginning of the candlestick and after 80% of it. In the first case, the previous candlestick is taken into the account, in the second case - the current one. I think that it is necessary to keep to the harder constraints on longer intervals.

BarTimer