Hi i have various functions in my ea i am building but wondered how i can pass varibles from i called function to be used by other functions or the main start part of the program
eg i have a array BarMa[i] which holds the values of the Ma of the last 10 bars but wish to use these values say if (BarMa[0] > BarMa[9]) in another part of the program
hope you can help
eg i have a array BarMa[i] which holds the values of the Ma of the last 10 bars but wish to use these values say if (BarMa[0] > BarMa[9]) in another part of the program
hope you can help