Download MetaTrader 5

seasonality histogram help

To add comments, please log in or register
FXMAGNUM 2016.10.15 16:09 

I'm trying to code an indicator that displays a histogram of each hour in the past based of a candlestick's high and close. For example it calculates whether each specific hour in the day has been bearish or bullish based of the past data. For example..


Each bar in the histogram represents each candle stick at that specific given time period in the past. If the past 100 days that hour closed above the open 70 times then it will be green 70/100 and 30/100 red beneath. The concept is based off seasonality but instead of annual increments, it is set to daily increments.


Does somebody know how to go about this? 

whroeder1 2016.10.15 20:36  
forexmangumopus: I'm trying to code an indicator
  1. learn to code it, or pay someone. We're not going to code it FOR you.
    We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. You'll need two histogram buffers.
To add comments, please log in or register