Innanzitutto volevo ringraziarvi x quanto mi avete insegnato.
Partendo dallo spirito del forum invio questo listato x chi volesse migliorarlo:
io ho la versione base di visualtrader chi volesse testarlo x un periodo + lungo
io l'ho fatto x il bund nvolume 20000
input

(8);
Var:demip,temp,racineP,mmhull;
Var:demip2,temp2,racineP2,mmhull2;
Var:demip3,temp3,racineP3,mmhull3;
Var:demipp,demipp2,demipp3;
demiP=round(p/2,0);
demiP2=round(p*4/2,0);
demiP3=round(p*8/2,0);
temp=op(op(mov(c,demip,a),constval(2),mul),mov(c,p,a),sub);
temp2=op(op(mov(c,demip2,a),constval(2), mul),mov(c,p*4,a),sub);
temp3=op(op(mov(c,demip3,a),constval(2), mul),mov(c,p*8,a),sub);
racinep=round(sqrt(p),0);
racinep2=round(sqrt(p*4),0);
racinep3=round(sqrt(p*8),0);
mmhull= mov(temp,racinep,a);
mmhull2= mov(temp2,racinep2,a);
mmhull3= mov(temp3,racinep3,a);
plotchart(mmhull,0,blue,solid,2);
plotchart(mmhull2,0,red,solid,2);
plotchart(mmhull3,0,black,solid,3);
if mmhull2>mmhull3 and mmhull[1]<mmhull then enterlong (nextbar, mmhull, limit);endif;
if mmhull2<mmhull3 and mmhull[1]>mmhull then entershort (nextbar, mmhull, limit);endif;