Forum

Passing script to function() in EA to run it every new bar

Hi all, I use a script to to calculate the liquidity volume on chart and draw trend line on chart based on price, time and volume. Script itself work fine when drop it into chart, i have included this script in EA as a Function and call the function on every new bar. On the first run of this

CopyTicks Array Time Problem

SOLVED long NewMinute[]; //+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ int OnInit(){ ArrayFree(NewMinute); ArrayResize(NewMinute,2); }

indicator to show the leading/driving symbol on various correlated

Hi all, Im looking for an indicator that compare various symbols that are correlated and tell me wich is the leading symbol that give impulse to the prices of others. ex : SP500, DJ and NASDAQ are mostly correlated. On the other day, SP500 was the leading symbol that drive prices down to all of the