Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal

Candles, arbitrary seconds - indicator for MetaTrader 5

Published by:
Mladen Rakic
2016.10.03 17:17
2017.01.12 08:24
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This indicator is not on bars or on tick based. It strictly works based on a time. It generates a new bar with Open, Close, High and Low for the given period in seconds. This version does not depend on ticks at all (it works even on weekends — creating a flat line, since there is no price change, but it works) and this version is able to display data even when ticks in regular sessions are not coming in.

Also, pay attention that starting multiple instances of the same indicator with same settings at different time will not produce same "chart": the data will be different.

PS: it does not generate offline data.

Translated from Russian by MetaQuotes Ltd.
Original code:

Bcrypt Bcrypt

Class for working with AES-256 encryption.

Spread per hour statistics Spread per hour statistics

Simple average spread per hour statistics output.

MACD Candles MACD Candles

This is one more possible way of making MACD — as a candles, without the price and signal line.

Fibonacci Auto Channel Fibonacci Auto Channel

The indicator is finding out the minimum and maximum for the desired period and draws fibo zones in those bounds.