se non ricordo male, tempo fa qualcuno aveva chiesto il codice in vt del SUPERTREND
//SuperTrend.
Var:super,flag,flagh,mioatr,miocci,mrange,st(0),molt(3),trendup,trenddown,indzona1,trend(1),changetrend;
mioatr=atr(c,10);
trendup=avgprice+(molt*mioatr);
trenddown=avgprice-(molt*mioatr);
if...