Sometimes this indicator works, and other times it show up blank or returns 2147483647. Any ideas how to fix it? Thanks! #property indicator_separate_window #property indicator_minimum 1 #property indicator_maximum 99 #property indicator_buffers 1
I use CopyClose() to create an array containing the Close price of the last 100 bars. How can I create an array containing a Moving Average for the last 100 bars
I use this to get an array of the highest bar prices: copyed = CopyHigh ( NULL , 0 , 0 , 5 ,clpr); I use this to get an array of the lowest bar prices: