If you have all the asset price curves and let's say SMAs saved in different globally defined series, there is nothing stopping you from doing something like

Code:
int cnt=0;
while(loop(Assets)){
    asset(Loop1);
    Prices[cnt]=series(price());
    smas[cnt]  =series(SMA(Prices[cnt],10));
    cnt++;
}
asset(Assets[0]);
PlotWidth = 600;
PlotHeight1 = 500;
PlotHeight2 = 500;
int i;
for(i=0;i<cnt;i++){
    plot(strf("%s",Assets[i]),Prices[cnt],NEW,BLACK);
    plot(strf("sma for %s",Assets[i]),smas[cnt],0,BLUE);
    ...plot more stuff...
}



to plot all of them in separate graphs.

Last edited by Hredot; 07/03/18 02:37.