How to code Global Variables?

 

Hello,

I want to get values from offline chart: (Open[1] - Close[1]) and (Open[2] - Close[2]) from Expert Advisor attached to 1 Minute chart.

I think the best will be to make one expert attached to offline chart that set values, and then EA attached to 1 minute chart get these values.

How to code this?

Thanks.

P.S. Please write only if you can help.

 

Don't double post