How would I create here a multi - asset Renko strategy?

Whatever I fill in where it says "perform algorithm" seems to have no effect at all.


void run()
{
BarPeriod = 1; // determines here the time resolution of the bar
StartDate = 20180601;
EndDate = 20180901;
LookBack = 13;
set(PLOTNOW);
set(TICKS);
assetList("P:\\AssetsCur3.csv");
while(asset(loop("EUR/USD","GBP/USD")))
{
_bar = HA;
vars O = series(priceOpen(),-LookBack), // series must be static here
H = series(priceHigh(),-LookBack),
L = series(priceLow(),-LookBack),
C = series(priceClose(),-LookBack);
if(nextBar(O,H,L,C)) {

// ... perform the algorithm. Shift other series.
printf("#\nNew Bar");
}
plot("Renko",C,LINE,RED);
}
}
#endif