Let me better explane my question. I have 2 chart that are actually communicating using Global Variables. In the Chart 1 I use codes like this to SET the Global Variables values:
Code: Select all
value2 = GVSetFloat(2,C);
value3 = GVSetInteger(3,date);
value4 = GVSetInteger(4,time);
I use the code in chart 1 to save some data (price, time, ectt...) of an event and I plot an arrow in chart 2 over the candle related to that item. It works fine but it only start working from the exact second when I start the indicators. I have all indicationd over my candles but if I simply do a REFRESH INDICATORS then all my arrows disappear from chart 1 .... so it basically work only in real time but I'm not sure how to make it plot always ...I mean also for past days and not only in real time... how can I achive that?
My idea was to put values into an array and send the array from chart 1 to chart 2 but a GVSetArray is not availables ( and maybe it would be too heavy to be fast)....
I hope I've explaned well my questions.
Do you have any suggestion?
Thanks in advance