Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5104
- Rating:
- Published:
- 2018.07.13 16:04
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator of volumes. It displays a color histogram of relative volumes by day hours:
- Hour from 08 to 13 - color red
- Hour from 14 to 17 - color bright green
- Hour from 18 to 21 - color red
- Hour from 22 to 23 - color green
- Hour from 00 to 07 - color blue
Volume of each hour is calculated as a ratio between the current volume to the mean volume value within the predefined range.
The indicator has one input parameter:
- Period - calculation period
Calculations:
VLM = Volume/VolAvg
where:
VolAvg = SMA(Volume, Period)
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21335

The EA uses Martingale. Initial entry by indicator iStochastic (Stochastic Oscillator).

Indicator Swing Shift