COSTRUZIONE INDICATORE PER ANALISI CICLICA CON VISUAL TRADER (1 Viewer)

andgui

Forumer storico
passo di corsa nel mio thared preferito e vedo che i lavori continuano alla grande bravi, io x un po' a malincuore non potrò intervenire xchè martedi sono diventato papà ed il tempo è tiranno...
un saluto a tutti e vi invito a dare un'occhiata anche all'altro thared che ho creato nella sezione trading system se vi va di partecipare anche di la così concentriamo in unico thared tutte le formule che si trovano free su internet
e non diventiamo matti a cercarli nei vari forum ...
un saluto

Felicitazioni, da un nonno con 4 nipoti.

andgui
 

curfr@

Forumer storico
passo di corsa nel mio thared preferito e vedo che i lavori continuano alla grande bravi, io x un po' a malincuore non potrò intervenire xchè martedi sono diventato papà ed il tempo è tiranno...
un saluto a tutti e vi invito a dare un'occhiata anche all'altro thared che ho creato nella sezione trading system se vi va di partecipare anche di la così concentriamo in unico thared tutte le formule che si trovano free su internet
e non diventiamo matti a cercarli nei vari forum ...
un saluto

...felicitazioni!:)
 

solospread

Forumer storico
Metto il listato di DRIVER. Io lo uso come punto di riferimento , come ausilio nel trade per essere dalla parte giusta. Poi lo si può giostrare a piacere con qualsiasi altro indicatore. Buona serata a tutti e buon fine settimana.:up:
Codice:
Var:indzona1,valLong,valshort,miorsi,last;
Var:miaentryshort,miaentrylong,valentry;

miorsi = RSI(C,14,s);

///////////////////////////////////////////////////////////////////////////////////

if C[3] > C[10]+0.001 and L <= L[1] and L[1] <= L[2]  then
miaentrylong =1;
colorbar(fuchsia);
else
miaentrylong = 0;
endif;
if C[3] < C[10]-0.001 and H >= H[1] and H[1] >= H[2] then
miaentryshort=1;
colorbar(blue);
else
miaentryshort =0; endif;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
if miaentrylong[1] =1 and miaentrylong[2]= 0 and miaentrylong[3] = 0  then valLong = L[1]; endif;
if miaentrylong[1] =1 and miaentrylong[2] = 0 and miaentrylong[3] = 0 then valShort = H[1]; endif;
if miaentryshort[1] =1 and miaentryShort[2] = 0 and miaentryShort[3] = 0  then valShort = H[1]; endif;
if miaentryshort[1] =1 and miaentryShort[2] = 0 and miaentryShort[3] = 0  then valLong = L[1]; endif;
if vallong < vallong[1] then valentry = valshort; endif;
if valshort > valshort[1] then valentry = vallong; endif;
if H[1] >= valentry[1] and C < valentry and miorsi < 50 then last = 5 ;else last = 0 ; endif;
if L[1] <= valentry[1] and C > valentry and miorsi > 50 then last = 5 ;colorbar(yellow); else last = 0 ; endif;
///////////////////////////////////////////////////////////////////////////////////
plotchart(valentry,0,black,solid,2);
 

solospread

Forumer storico
Plottando DRIVER su frame giornaliero siamo lunghi sull'euro da 1,4215.
1304107761giornaliero.jpg
 

100pezzi

Nuovo forumer
MI SONO PERMESSO DI MODIFICARLO UN PO' SE QUALCUNO E' COSI' GENTILE DA TESTARLO E METTERE LE EQUITY COSI' CI FACCIAMO UN'IDEA DELLA VALIDITA' DEL TS GRAZIE - PENSO CHE IL TF MIGLIORE SIA SUI 15/30 MIN. A SECONDA DEL FUTURES
GRAZIE A TUTTI ED IN PARTICOLARE A SOLOSPREAD CHE CONDIVIDE SEMPRE CON TUTTI NOI LE SUE BRILLANTI IDEE

Codice:
Var:indzona1,valLong,valshort,miorsi,last;
Var:miaentryshort,miaentrylong,valentry;
var: go,cnt;

installstoploss(INTICK,20,"STOP",CHECKMax +EXITONLYIFCLOSEON);
installtrailingProfit(INTICK, 10, 5, "trailing",CHECKMax +EXITONLYIFCLOSEON);
installtakeProfit(INTICK, 20, "take",CHECKMax +EXITONLYIFCLOSEON);

miorsi = MOMENTUM(C,100,D);

///////////////////////////////////////////////////////////////////////////////////

if C[3] > C[10] and L < L[1] and L[1] < L[2]  then
miaentrylong =1;
colorbar(fuchsia);
else
miaentrylong = 0;
endif;
if C[3] < C[10] and H > H[1] and H[1] > H[2] then
miaentryshort=1;
colorbar(blue);
else
miaentryshort =0; endif;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

if miaentrylong[1] =1 and miaentrylong[2]= 0 and miaentrylong[3] = 0  then valLong = llv (l, 2); endif;
if miaentrylong[1] =1 and miaentrylong[2] = 0 and miaentrylong[3] = 0 then valShort = hhv (h, 2); endif;
if miaentryshort[1] =1 and miaentryShort[2] = 0 and miaentryShort[3] = 0  then valShort = hhv (h, 2); endif;
if miaentryshort[1] =1 and miaentryShort[2] = 0 and miaentryShort[3] = 0  then valLong = llv (l, 2); endif;
if vallong < vallong[1] then valentry = valshort; endif;
if valshort > valshort[1] then valentry = vallong; endif;

///////////////////////////////////////////////////////////////////////////////////
plotchart(valentry,0,black,solid,2);

IF LastOpIsStop = true THEN GO=1; ELSE GO=0;ENDIF;

CNT=CNT+1;

IF POSITIONDIR=0 AND CNT<=10 THEN
if H[1] >= valentry[1] and C < valentry and miorsi < 0 then ENTERSHORT (NEXTBAR, ATOPEN);endif;
if L[1] <= valentry[1] and C > valentry and miorsi > 0 then ENTERLONG (NEXTBAR, ATOPEN);endif;ENDIF;

if go = 1 and BarSince (positiondir=0)>3 then
if H[1] >= valentry[1] and C < valentry and miorsi < 0 then ENTERSHORT (NEXTBAR, ATOPEN);endif;
if L[1] <= valentry[1] and C > valentry and miorsi > 0 then ENTERLONG (NEXTBAR, ATOPEN);endif;
endif;

if go = 0 and BarSince (positiondir=0)>1 then
if H[1] >= valentry[1] and C < valentry and miorsi < 0 then ENTERSHORT (NEXTBAR, ATOPEN);endif;
if L[1] <= valentry[1] and C > valentry and miorsi > 0 then ENTERLONG (NEXTBAR, ATOPEN);endif;endif;

IF positiondir=1 and C < valentry and miorsi < 0 then exitlong(nextbar, atopen);endif;
IF positiondir=-1 and C > valentry and miorsi > 0 then exitshort(nextbar, atopen);endif;
 
Ultima modifica:

solospread

Forumer storico
Ho preso un vecchio TS dopato e l'ho filtrato con DRIVER per togliere l'effetto allucinogeno e ne è venuto fuori qualcosa di buono. Necessita di una verifica in real time per osservare se è stato tolto tutto lo stupefacente. Ad una prima verifica mi sembra non ci siano piu' tracce di effetti distorsori per l'intervento di valentry nella sezione entrate, ma dopo la prima ora di realtime si vede subito se si tratta si realtà o fantascienza. Il frame con piu' resa è il 10 minuti che in dieci giorni porta a casa 13000 punti.
1304250791prima.jpg
 

Allegati

  • seconda.JPG
    seconda.JPG
    78,4 KB · Visite: 531
  • eqqqquity.JPG
    eqqqquity.JPG
    104,6 KB · Visite: 525

solospread

Forumer storico
Questa sarebbe la resa e l'equity senza antidoping.
 

Allegati

  • resa ed equity.JPG
    resa ed equity.JPG
    246,9 KB · Visite: 189
  • senza antidoping.JPG
    senza antidoping.JPG
    103,1 KB · Visite: 812

solospread

Forumer storico
Rientrato adesso dal lavoro (era ora). Oggi non ho potuto provare il nuovo TS e lo stò testando ora sul S&P. Devo aspettare finchè cambia posizione , ora è short , per vedere se cambia in tempo reale o ritarda di 1 candela. Cosi ad occhio mi sembra che funzioni ( ho fatto una prova con frame 1 minuto ed ha cambiato giusto). Domani pomeriggio me lo studio per bene.:up:
 

Allegati

  • adesso.JPG
    adesso.JPG
    182,4 KB · Visite: 146

solospread

Forumer storico
Devo riuscire ad eliminare quelle entrate che durano due tre candele e chiudono in loss.
 

Allegati

  • AURI.JPG
    AURI.JPG
    158,8 KB · Visite: 145

Users who are viewing this thread

Alto