Help me with my indicator if you have free time, please!

 

Hi guys,

 I learnt how to code with MT4 last week, so i there are some error i can fix myself.

It woud be great if you look at it and fix it.

And i want to add label description for value in indicator too.

 

Thank you for reading.

 

Have a nice day!

 

zelo 

Files:
 
Hi zelo

It might help if you told us what the problem is you are having?
 
Filter:
Hi zelo

It might help if you told us what the problem is you are having?

Hi Filter,

i can compile with double Correlation(double array1[],double array2[]).

 

and the loop code, show time number disappear when new bar open

 

i can not set lable of value with this code

   StringSplit(Pairs,StringGetCharacter(",",0),pairs);


// Add label describtion for curreny pair

   for(int i=0;i<4;i++)

     {

      SetIndexLabel(i,pairs[i]);

     } 

 thank you for reading :)

 

zelo