Forum

extermum point not working

hi my code is flowing ... int OnInit () { //storage 20 high_price history and it's date in array by loop for (i= 0 ; i<= 20 ; i++) { HSaveP[i]= iHigh ( Symbol (), Period (),i); HSaveD[i]= iTime ( Symbol (), Period (),i); } //check my condition in my array that is true by loop

iRSI

hi my code is flowwing... double d; //+---------------------------------- int OnInit () { //--- d= iRSI ( Symbol() , Period() , 14 , PRICE_CLOSE ); Comment (d); //--- return ( INIT_SUCCEEDED ); } /* result= 10.0 */ in the code above, iRSI function returned 10, but rsi indicator on

date time

My code is the following ... datetime a; //+---------------------------------- int OnInit () { //--- a= Period (); Comment (a); //--- return ( INIT_SUCCEEDED ); } /* result= 1970.01.01 04.33.28 16408 sec past of 1970.01.01 00.00.00 if a declared as int, result=16408 */ chart time frame is