Hi, Could anyone help out coding following: timeframe 4h. When 6 bars in a row have closed lower (6 red bars in a row) timeframe 5 min, when 2 bars in a row have closed higher (2 green bars in a row) Buy 1 contract