gilato
Forumer attivo
Ho apportato una piccola modifica alla famosa tecnica dell'Opening breakout range della prima mezz'ora.
Gradirei conoscere i rendimenti annuali in termini di punti fib.
Se qualcuno gentilmente potesse testare il sistema su un arco temporale di almeno di 5/6 anni gliene sarei molto grato.
Gira sul 5 minuti.
Nel seguente codice ci sono alcuni parametri nn utilizzati ma che mi serviranno per delle prove.
Grazie
//grafico 5 min
var
ATA1,INDPER,MIOMAX,MIOMIN,MID,stop;
if t=930 then miomin=LLV(L,6);
if t=930 then miomax=HHV(H,6);
mid=(miomax-miomin)/2+miomin;
stop=abs(miomin-mid);
data1=getdate;
indper=0;
endif;endif;
installtakeprofit(intick,70);
installstoploss(intick,30);
if t>930 and t<1230 and c>miomax and c[1]<miomax then enterlong(bar,atclose);endif;
if positiondir=1 and c<mid then exitlong(bar,atclose);endif;
if positiondir=1 and t>1630 then exitlong(bar,atclose);endif;
if t>930 and t<1230 and c<miomin and c[1]>miomin then entershort(bar,atclose);endif;
if positiondir=-1 and c>mid then exitshort(bar,atclose);endif;
if positiondir=-1 and t>1630 then exitshort(bar,atclose);endif;
plotchart(miomax,0,fuchsia,solid,1);
plotchart(miomin,0,blue,solid,1);
plotchart(mid,0,black,dot,1);
Gradirei conoscere i rendimenti annuali in termini di punti fib.
Se qualcuno gentilmente potesse testare il sistema su un arco temporale di almeno di 5/6 anni gliene sarei molto grato.
Gira sul 5 minuti.
Nel seguente codice ci sono alcuni parametri nn utilizzati ma che mi serviranno per delle prove.
Grazie
//grafico 5 min
var

if t=930 then miomin=LLV(L,6);
if t=930 then miomax=HHV(H,6);
mid=(miomax-miomin)/2+miomin;
stop=abs(miomin-mid);
data1=getdate;
indper=0;
endif;endif;
installtakeprofit(intick,70);
installstoploss(intick,30);
if t>930 and t<1230 and c>miomax and c[1]<miomax then enterlong(bar,atclose);endif;
if positiondir=1 and c<mid then exitlong(bar,atclose);endif;
if positiondir=1 and t>1630 then exitlong(bar,atclose);endif;
if t>930 and t<1230 and c<miomin and c[1]>miomin then entershort(bar,atclose);endif;
if positiondir=-1 and c>mid then exitshort(bar,atclose);endif;
if positiondir=-1 and t>1630 then exitshort(bar,atclose);endif;
plotchart(miomax,0,fuchsia,solid,1);
plotchart(miomin,0,blue,solid,1);
plotchart(mid,0,black,dot,1);
Ultima modifica: