Programmazione Visual Trader codici vt di swing trading (1 Viewer)

ale73a

break even trader
chi fosse interessato, qui sotto può copiarsi qualche indicatore che ho tradotto in linguaggio visual trader da un sito un po' naif come grafica ma con ottimi spunti.
mancano i criteri di entrata long o short, ma quelli basta andarseli a cercare on line...
dovrebbero essere tutti ok, l'unico dubbio ce l'ho x l'uncino di ross, dato che non mi trova un segnale manco a pagarlo (o meglio ne trova molto pochi)
eventuali suggerimenti o correzioni sono ben accette :ciao: ...cominciamo!

boomers di jeff cooper
Codice:
var:indzona1,indzona2,ndr,ndrieri,ins,mioadx,miondx,miopdx,insneg;

mioadx=dmadx(c,10);
miondx=dmndx(c,10);
miopdx=dmpdx(c,10);
ndr=l>l[1] and h<h[1];
ndrieri=l[1]>l[2] and h[1]<h[2];
ins=ndr and ndrieri and mioadx>25 and miopdx>miondx;
insneg=ndr and ndrieri and mioadx>25 and miondx>miopdx;

Indzona1=CreateViewport(100,0,true);
PlotChart(ins,Indzona1,green,solid,1);
Indzona2=CreateViewport(100,0,true);
PlotChart(insneg,Indzona1,red,solid,1);
finestre di larry connors
Codice:
var:mioadx,miopdx,miondx,cond1,cond2,cond3,sma4,oops,r5,top,cond5,windows,indzona1;
var:pista,mmpista,condplong,condpshort,indzona3;
pista=pistaciclica(c,25);
mmpista=mov(pista,20,s);
condplong=pista>mmpista;
condpshort=pista<mmpista;
mioadx=dmadx(c,10);
miopdx=dmpdx(c,10);
miondx=dmndx(c,10);
sma4=mov(c,4,s);
cond1=mioadx>25;
cond2=miopdx>miondx;
cond3=h<sma4;
oops=c>o;
r5=r/100*10;
top=h-r5;
cond5=c>top;
windows=cond1 and cond2 and cond3  and oops and cond5 and condplong;

Indzona1=CreateViewport(300,0,true);
PlotChart(windows,Indzona1,green,solid,1);
Indzona3=CreateViewport(100,0,true);
PlotChart(pista,Indzona3,green,solid,1);
PlotChart(mmpista,Indzona3,red,solid,1);
uncino di joe ross
Codice:
var: mioadx,miopdx,miondx,cond1,cond2,cond3,cond4,cond5,cond6,cond7,cond8,uncino,indzona1;
mioadx=dmadx(c,14);
miopdx=dmpdx(c,14);
miondx=dmndx(c,14);
cond1=mioadx>26;
cond2=miopdx>miondx;
cond3=h<h[1] and h[1]>hhv(h,43);
cond4=h<h[1] and h[1]<h[2] and h[2]>hhv(h,43);
cond5=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]>hhv(h,43);
cond6=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]<h[4]and h[4]>hhv(h,43);
cond7=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]<h[4]and h[4]<h[5] and h[5]>hhv(h,43);
cond8=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]<h[4]and h[4]<h[5] and h[5]<h[6] and h[6]>hhv(h,43);
uncino=cond1 and cond2 and (cond3 or cond4 or cond5 or cond6 or cond7 or cond8);

Indzona1=CreateViewport(300,0,true);
PlotChart(uncino,Indzona1,green,solid,1);

pullback semplice di dave landry
Codice:
var: mioadx,miopdx,miondx,cond1,cond2,cond2a,cond3,cond4,cond5,cond6,cond7,cond8,cond9,cond10,cond11,cond12,cond13,cond14,pullbacklong,pullbackshort,indzona1,indzona2,indzona3,pista,mmpista,condplong,condpshort;
mioadx=dmadx(c,10);
miopdx=dmpdx(c,10);
miondx=dmndx(c,10);
pista=pistaciclica(c,25);
mmpista=mov(pista,20,s);
condplong=pista>mmpista;
cond1=mioadx>25;
cond2=miopdx>miondx;
cond3=h<h[1] and h[1]<h[2];
cond4=h<h[1] and h[1]<h[2] and h[2]<h[3];
cond5=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]<h[4];
cond6=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]<h[4] and h[4]<h[5];
cond7=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]<h[4] and h[4]<h[5] and h[5]<h[6];
cond8=h<h[1] and h[1]<h[2] and h[2]<h[3] and h[3]<h[4] and h[4]<h[5] and h[5]<h[6] and h[6]>h[7];
pullbacklong=cond1 and cond2 and condplong and (cond3 or cond4 or cond5 or cond6 or cond7 or cond8);

condpshort=pista<mmpista;
cond2a=miondx>miopdx;
cond9=l>l[1] and l[1]>l[2];
cond10=l>l[1] and l[1]>l[2] and l[2]>l[3];
cond11=l>l[1] and l[1]>l[2] and l[2]>l[3] and l[3]>l[4];
cond12=l>l[1] and l[1]>l[2] and l[2]>l[3] and l[3]>l[4] and l[4]>l[5];
cond13=l>l[1] and l[1]>l[2] and l[2]>l[3] and l[3]>l[4] and l[4]>l[5] and l[5]>l[6];
cond14=l>l[1] and l[1]>l[2] and l[2]>l[3] and l[3]>l[4] and l[4]>l[5] and l[5]>l[6] and l[6]<l[7];
pullbackshort=cond1 and cond2a and condpshort and (cond9 or cond10 or cond11 or cond12 or cond13 or cond14);

Indzona1=CreateViewport(100,0,true);
PlotChart(pullbacklong,Indzona1,green,solid,1);
Indzona2=CreateViewport(100,0,true);
PlotChart(pullbackshort,Indzona2,red,solid,1);
indzona3=createviewport(100,0,true);
plotchart(pista,indzona3,green,solid,1);
plotchart(mmpista,indzona3,red,solid,1);


id/nr4

Codice:
var:cond1,cond2,cond3,cond4,cond5,mioadx,idnr4,indzona1;
mioadx=dmadx(c,10);


cond1=inside;
cond2=r<r[1] and r<r[2] and r<r[3];


cond5=mioadx>25;
idnr4=cond1 and cond2 and cond5;


Indzona1=CreateViewport(300,0,true);
PlotChart(idnr4,Indzona1,blue,solid,1);


3 wake up call di remo mariani
Codice:
var:cond1,cond2,cond3,cond4,wakeuplong,wakeupshort,indzona1,indzona2;
cond1=c>h[1] and c>h[2];
cond2=v>v[1] and v>v[2] and v>v[3];
cond3=r>r[1] and r>r[2];
wakeuplong=cond1 and cond2 and cond3;
cond4=c<l[1] and c<l[2];
wakeupshort=cond4 and cond2 and cond3;

Indzona1=CreateViewport(100,0,true);
PlotChart(wakeuplong,Indzona1,green,solid,1);
Indzona2=CreateViewport(100,0,true);
PlotChart(wakeupshort,Indzona1,red,solid,1);


trend knockout di dave landry
Codice:
var:mioadx,miopdx,miondx,cond1,cond2,cond3,cond4,cond5,cond6,mioadx,kolong,koshort,indzona1,indzona2;
var:pista,mmpista,condplong,condpshort,indzona3;
mioadx=dmadx(c,10);
miopdx=dmpdx(c,10);
miondx=dmndx(c,10);

pista=pistaciclica(c,25);
mmpista=mov(pista,20,s);
condplong=pista>mmpista;
condpshort=pista<mmpista;
cond1=mioadx>25;
cond2=miopdx>miondx;

cond4=l<l[1] and l<l[2];
kolong=cond1 and cond2 and  cond4 and condplong;
cond5=miopdx<miondx;
cond6=h>h[1] and h>h[2];
koshort=cond1 and cond5 and cond6 and condpshort;


Indzona1=CreateViewport(100,0,true);
PlotChart(kolong,Indzona1,green,solid,1);
Indzona2=CreateViewport(100,0,true);
PlotChart(koshort,Indzona1,red,solid,1);
Indzona3=CreateViewport(100,0,true);
PlotChart(pista,Indzona3,green,solid,1);
PlotChart(mmpista,Indzona3,red,solid,1);


swing generico
Codice:
var:cond1,cond2,cond3,cond4,cond5,cond6,swinglong,swingshort,sma50,sma20,sma40,indzona1,indzona2;
sma50=mov(c,50,s);
sma20=mov(c,20,s);
sma40=mov(c,40,s);
cond1=c>sma50;
cond2=sma20>sma40;
cond3=h<h[1] and l<l[1] and h[1]<h[2] and l[1]<l[2] and h[2]<h[3] and l[2]<l[3];
swinglong=cond1 and cond2 and cond3;

cond4=c<sma50;
cond5=sma20<sma40;
cond6=h>h[1] and l>l[1] and h[1]>h[2] and l[1]>l[2] and h[2]>h[3] and l[2]>l[3];
swingshort=cond4 and cond5 and cond6;

Indzona1=CreateViewport(100,0,true);
PlotChart(swinglong,Indzona1,green,solid,1);
Indzona2=CreateViewport(100,0,true);
PlotChart(swingshort,Indzona2,red,solid,1);


1-2-3-4's di larry connors
Codice:
var:cond1,cond2,cond3,cond4,cond5,cond5a,cond6,cond7,cond8,cond9,cond10,c1234long,c1234short,mioadx,miopdx,miondx,indzona1,indzona2;
var:pista,mmpista,condplong,condpshort,indzona3;
mioadx=dmadx(c,10);
miopdx=dmpdx(c,10);
miondx=dmndx(c,10);
pista=pistaciclica(c,25);
mmpista=mov(pista,20,s);
condplong=pista>mmpista;
condpshort=pista<mmpista;
cond1=l<l[1] and l[1]<l[2];
cond2=inside and l[1]<l[2];
cond3=l<l[1] and isinside(2);
cond10=l<l[2] and isinside(1);
cond4=mioadx>25;
cond5=miopdx>miondx;
c1234long=cond4 and cond5 and condplong and (cond1 or cond2 or cond3 or cond10);

cond6=h>h[1] and h[1]>h[2];
cond7=inside and h[1]>h[2];
cond8=h>h[1] and isinside(2);
cond9=h>h[2] and isinside(1);
cond5a=miondx>miopdx;
c1234short=cond4 and cond5a and condpshort and (cond6 or cond7 or cond8 or cond9);

Indzona1=CreateViewport(100,0,true);
Indzona2=CreateViewport(100,0,true);
PlotChart(c1234long,Indzona1,green,solid,1);
PlotChart(c1234short,Indzona2,red,solid,1);
Indzona3=CreateViewport(100,0,true);
PlotChart(pista,Indzona3,green,solid,1);
PlotChart(mmpista,Indzona3,red,solid,1);
 
Ultima modifica:

bulogna

Forumer storico
Complimenti per avere messo a disposizione il materiale, lo proverò per vederne l'efficacia anche se ho poca fiducia.
Ciao
 

ale73a

break even trader
ciao bulogna, mano a mano che traducevo, provavo questi codici su titoli e futures, devo dire che molte volte ti danno l'entrata giusta, poche volte si va in stop loss, altre invece il setup viene annullato, nel senso che - x un segnale long - il max della candela di setup non viene neanche superato.
se mi dici un titolo e un arco di tempo di qualche mese (a caso) possiamo vedere se i segnali erano giusti...
ciao Simgen!
 

ale73a

break even trader
ho variato quasi tutti i codici, aggiungendo il setup x lo short e ho aggiustato un po' la grafica dividendo i setup long appunto da quelli short
ciao
 

f4f

翠鸟科
ottimo lavoro , grazie !! :)

ho deciso di continuare in excel, faccio molta più fatica a caricare questi codici ....
ma sono spunti ottimi
 

ale73a

break even trader
ottimo lavoro , grazie !! :)

ho deciso di continuare in excel, faccio molta più fatica a caricare questi codici ....
ma sono spunti ottimi
diciamo...lavoro, senza "ottimo" :D tra l'altro mi sono accorto che nello swing generico ho impostato solo -minimo 3 barre con max e min decrescenti- e viceversa, devo correggerlo aggiungendo anche eventualmente la quarta, quinta ecc. o qualsiasi barra inside che seguano le prime tre, perchè il setup rimane. poi si entra long al superamento del max dell'ultima barra ribassista.
solo che il lavoro primario chiama e devo rimandare la correzione...ciao! :ciao:
 

bulogna

Forumer storico
ciao bulogna, mano a mano che traducevo, provavo questi codici su titoli e futures, devo dire che molte volte ti danno l'entrata giusta, poche volte si va in stop loss, altre invece il setup viene annullato, nel senso che - x un segnale long - il max della candela di setup non viene neanche superato.
se mi dici un titolo e un arco di tempo di qualche mese (a caso) possiamo vedere se i segnali erano giusti...
ciao Simgen!

Io lavoro solo sul fib, ma il problema non è l'ingresso ma la gestione della posizione quindi l'uscita del ts
 

Users who are viewing this thread

Alto