Download MetaTrader 5

Most Current Values in My Array

To add comments, please log in or register
Publish your article and win recognition from thousands of traders!
flwilliams87
207
flwilliams87 2015.07.30 18:23 

This is just for verification because I seem to be getting conflicting results but per my below code shouldn't my most current values be CloseArray[0] and RSI_ARRAY[0] ? Or did I get my signals mixed and my most current values would be CloseArray[1] and RSI_ARRAY[1]  Thoughts?


   CloseHandle=CopyClose("EURUSD", 1, 0, 16, CloseArray);
   ArraySetAsSeries(CloseArray,true);
   
   CopyBuffer(RSIHandle,0,0,9,RSI_ARRAY);
   ArraySetAsSeries(MACDMainArray,true);
To add comments, please log in or register