Hi,

I am new to Zorro and C. I have been going through the manual and forums to get an idea of how the program and functions work.

How do I divide the close price of an asset by an indicator value?

function run()
{

vars c_euro= asset("EUR/USD");
var shortma = 20; //think I should use var not vars on this line
vars euro_ema= series(EMA(c_euro,shortma));

vars euro = (c_euro / euro_ema); // Not working
}

Do I need to use a loop or pointer (now is where I get lost)?

Any help would be awesome.

Qw3rty