Forum

how to implement CopyRate function

hello all, I start working on CopyRates, I have some question about this function, first, I try to run this function in a script but the value I get for each day(for example the last 7 days) are just the same for one symbol, can you help me with it? and second I run it in a script, because there are

Get Close Price of each day in a script

Hi all, I searched a lot to get the close price of each day for the specified symbol, this is what I've done: for ( int i = 0 ; i <marketWatchCount ; i++) for ( int day = 0 ; day < NUMBER_OF_DAYS ; day++){ ticks = CopyTicksRange ( SymbolName (i, true ),tick_array_day, COPY_TICKS_ALL