Previous Hour High and Low times

Discussion in 'Programming' started by onava, Apr 24, 2012.

  1. onava

    onava

    Hi,

    does anybody know how to code how to get the time of the previous hour Highs and lows and store it in a variable.


    thanks
     
  2. What programming language ?
     
  3. 2rosy

    2rosy

    for(int i =1;i<len(bars);i++){
    current = bar
    prev =bar[i-1]
    }