pacman992
pacman992
Friends

Add friends via their profile or user search and you will be able to see if they are online

pacman992
Registered at MQL5.community
pacman992
Added topic My iCustom code always return empty value (2147483647)----------------------(second edition)
this is the indicator code #property indicator_buffers 2 double var_a[]; double var_b[]; int init(){    SetIndexBuffer ( 0 , var_a);    SetIndexBuffer ( 1 , var_b); return ( 0 ); } int start(){ double getMainTrend; double
pacman992
Added topic My iCustom code always return empty value (2147483647)
this is the indicator code   double val[]; int count= 0 ; int init(){ SetIndexBuffer ( 0 ,val); return ( 0 ); } int start(){ TheValue=count; ArrayResize (val,count+ 1 ); val[count]=TheValue; count++; return ( 0 ); } int deinit(){ return ( 0 ); }
pacman992
Added topic Problem asigning value to array
i dont know why but it always return zero, help double test_array[]; int i; i= 1 ; int init(){ return ( 0 ); } int start(){ test_array[i]= 3.2 ; alert( "value = " + test_array[i]); return ( 0 ); } int deinit{ return ( 0 ); }
pacman992
Added topic How to make a simple count of every ticks on indicators?
I have tried IndicatorCounted and Bars, but its always return the same value. I need to count ticks for arrays.