|
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 ???
|