Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

andypap

Members
  • Content Count

    52
  • Joined

  • Last visited

Everything posted by andypap

  1. thanks for the responses guys,i will try to exlpain more in detail. i am quite new in el and its hard for me to understand everything at once so i need an actual example of the code lines.. here is what i try to accomplish: array:myarray[9,n](0); if the value assigned to myarray[9,0] through this loop is the close[10] for value1=0 to 9 begin myarray[value1,0]=close[value1];end; then i want to "reloop" in a manner that second column first element will pick up where last element of previous column was so the result will be: myarray[0,1]=myarray[9,0][1];=close[11] myarray[0,2]=myarray[9,1][1];=close[21] my array[0,3]=myarray[9,2][1];=close[31] etc till n is reached. essentialy this will carry the loop to jump to the first element of the following column as if it was " myarray[10,0]"etc. then i want to be able to acces the values of anyrow number from column 0 to column N in manner that i can sum myarray[9,0]+myarray[9,1]+myarray[9,2] ....to n/N.. voila IF N=14 this is the 15min moving average of the close in one min chart if 1 min is the source data for the array. its something similar to compressseries indicator in various software.
  2. hi does anybody knows how to assign the value of the last element of each column in an array in the first element of the following column: array:myarray[9,n](0); myarray[0,1]=myarray[9,0]; myarray[0,2]=myarray[9,1] etc till n i reached,and have the loop initiating the values assigned in myarray 0 column continuing the loop for the following columns essentially starting from last element of previous column which now is the first element in current column? also is it possible to sum the values in an array row?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.