/* Generated by EX4-TO-MQ4 decompiler ONE FILE V4.0.218.3 EX4 ID : 04E20A41724C2645BAEB3FDF008C44EC Website: http://purebeam.biz E-mail : purebeam@gmail.com */ #property copyright "Copyright 2008 Wajdyss" #property link "wajdyss@yahoo.com" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Red extern int hour1 = 00; extern int hour11 = 00; double g_ibuf_132[]; double g_ibuf_136[]; int init() { SetIndexStyle(0, DRAW_HISTOGRAM, STYLE_SOLID, 2); SetIndexBuffer(0, g_ibuf_132); SetIndexStyle(1, DRAW_HISTOGRAM, STYLE_SOLID, 2); SetIndexBuffer(1, g_ibuf_136); SetIndexBuffer(0, g_ibuf_132); SetIndexBuffer(1, g_ibuf_136); return (0); int start() { if (TimeHour(iTime(Symbol(), PERIOD_H1, l_bars_0)) == hour1 || TimeHour(iTime(Symbol(), PERIOD_H1, l_bars_0)) == hour11) { g_ibuf_132[l_bars_0] = 999; g_ibuf_136[l_bars_0] = 0; } } Comment("Hour = ", TimeHour(iTime(Symbol(), PERIOD_H1, 0))); return (0); }