View Single Post
 
Old 01-21-2007, 05:53 AM
icm63 icm63 is offline
Member
 
Join Date: Feb 2006
Posts: 53
icm63 is on a distinguished road
Data in Array converted to btw 0 and 1 ( normalisation) !

hi,

I have EURUSD close only data in an array. like Data[]

But the numbers are all EURUSD closes for all the records.

How can I convert or normalise all data in the array to between a minimum of 0 and maxium of 1.

Then I can draw data in Indictor box. And other reasons ???

I know I need Max number in Data[] and Min number in Data[] and then spread data based on a ratio back into array ??

Any ideas ???