How to assign the value of first 4hr candle high[],Low[]?

 

Hi,

How to assign the value of first 4hr candle high[],Low[],which i will validate for remaining candles.

int whigh=0;
int wlow=0;

whigh=High[1];
wlow=Low[1];

when i display the value of whigh,wlow using Comment(whigh,wlow), shows o or 1

Can you help me,whether i did wrong,if yes support me to fix.

Sorry i am newbie with coding.

Thanks
Sheriff

 
  1. Use SRC for code
  2. try using a double not an integer
 
Yes. thanks for your support "WHRoeder". i fixed,now works well.