For several assets you can use a loop function as in workshop 6. All asset dependent code, such as the "var Current" line and probably also the grid size, must be inside the loop.

Also, the "findTrade" function now must compare the asset, too. F.i. with strstr(Asset,TradeAsset).

Setting the grid entry/exit lines dependent on a percentage of the price would produce a variable grid, not a fixed grid. In our Z4/Z5 tests a fixed grid was more profitable than a variable grid.