Home Page di InvestireOggi
Le ultime
NEWS
FINANZIARIE
Quotazioni e Grafici E.o.D. Real Time
FTSE Mib
13.057
-50.5

Rispondi
 
Strumenti discussione Cerca in questa discussione
Vecchio 08-10-2009, 08:34   #1 (permalink)
Utente Senior
 
Data registrazione: Mar 2008
Località: abruzzo
Messaggi: 241
Top TS

Ciao a tutti,
tempo fa ero riuscito a trovare in rete un famoso TS chiamato R-BREAKER...pare che sia un top ten trading system ..ma purtroppo per me è in linguaggio EL x tradestation.
Io mastico solo metastock e un pò di VT.....e quindi pongo a tutti una domanda:
non è che qualche volenteroso voglia tradurlo in visual trader ?????
Così vediamo se è bbono oppure ....è una ciofeca !!!!
Grazie

R-BREAKER TRADING SYSTEM (EASY LANGUAGE)
input: revers2(0.50) , exit2(0.40),begBARS(3), endbars(5), f1(.45), f2(0.1), f3(.25), TrueHL(true),
rangemin(0.01), xdiv(3),

typeStop(2), exit1(280),
typeRev(2), revers1(280),
hold(11), holdper(11) ;

vars: notbef(0), NotAft(0),
ATR3(0), Mystop(0), reverse(0),
DATEGO(TRUE),
ssetup(0),bsetup(0),senter(0),benter(0),bbreak(0), sbreak(0),
ltoday(0), htoday(9999), startnow(0), div(0),
rfilter(false),
S1(0),S2(0),S3(0),B1(99999),B2(99999),B3(99999);
VARS: Sellstop(0), buystop(0) ,
DayCl2(0), trueLo(0), TrueHi(0),
DayOp(0), DayLo(0), DayHi(0), DayCl(0),
OpToday(0), OpenLow(0), OpenHigh(0) ,
DayTRange(0), DayRange(0) ;

if D>D[1] then
begin
htoday=h;
ltoday=l;
end;
if h > htoday then htoday=h;
if l < ltoday then ltoday=l;

if t >= Sess1FirstBarTime and date > date[1] and C > 0 and L>0 and H > 0 then
begin
OpToday = open;
OpenLow = low;
OpenHigh = high ;
end;

if d > d[1] and t[1] = sess1endtime then
begin
DayCl = C[1]; DayOp = OpToday[1];
Dayhi = htoday[1]; DayLo = Ltoday[1];
end;

TrueLo = DayLo ;
TrueHi = Dayhi ;
dayTrange = TrueHi - TrueLo ; dayRange = DayHi - DayLo ;
DayCl2= CloseD(2) ;

If TrueHL then
begin
if DayCl2 < Daylo then
TrueLo = DayCL2 ;
if DayCl2 > Dayhi then
TrueHi = DayCl2 ;
end;

If typeStop = 1 then MyStop = exit1 ;
If typeStop = 2 then MyStop = exit2 * DayTrange ;

If typeRev = 1 then reverse = revers1 ;
If typeRev = 2 then Reverse = revers2 * DayTrange ;

if currentbar=1 then startnow=0;
div=maxlist(xdiv,1);

notbef = Sess1FirstBarTime + begBARS* BarInterval ;
notaft= Sess1EndTime - endbars * BarInterval ;

if D>D[1] then begin

startnow=startnow+1;

ssetup=htoday[1]+f1*(c[1]-ltoday[1]);
senter=((1+f2)/2)*(htoday[1]+c[1])-(f2)*ltoday[1];

benter=((1+f2)/2)*(ltoday[1]+c[1])-(f2)*htoday[1];
bsetup=ltoday[1]-f1*(htoday[1]-c[1]);

bbreak=ssetup+f3*(ssetup-bsetup) {(1.3625*htoday[1]+.45*c[1])-.8125*ltoday[1]};
sbreak=bsetup-f3*(ssetup-bsetup) {(1.3625*ltoday[1]+.45*c[1])-.8125*htoday[1]};


rfilter=htoday[1]-ltoday[1]>=rangemin * Close ; end;


S1=0;S2=0;S3=0;B1=99999;B2=99999;B3=99999;

PRINT (D,T , benter, bsetup, bbreak, S1,S2, S3, B1, B2, B3) ;

if t>=notbef and t<notaft and
startnow>=2 and
rfilter and
date>entrydate(1) then begin

if marketposition = - 1 then
B1=entryprice+reverse; {BUY("RbUP LE") entryprice+reverse stop;}
if ltoday<=bsetup and marketposition<1 then
B2=benter-(bsetup-ltoday)/div; {BUY("Rlev LE") benter-(bsetup-ltoday)/div stop;}

if marketposition=1 then
S1=entryprice-reverse; {SELL("RbDN SE") entryprice-reverse stop;}
if htoday>=ssetup and marketposition>-1 then
S2=senter+(htoday-ssetup)/div; {SELL("Rlev SE") senter+(htoday-ssetup)/div stop;}

if marketposition=0 then
B3=bbreak; {BUY("Break LE") bbreak stop;}
if marketposition =0 then
S3=sbreak; {SELL("Break SE") sbreak stop;}

end;

IF MAXLIST (S1,S2,S3) > 0 then begin
IF S1>=S2 AND S1>=S3 then begin
SELL ("RbDN SE") S1 stop;
end else begin
IF S2>=S3 then begin
SELL ("Rlev SE") S2 stop;
end else begin
SELL ("Break SE") S3 stop;
END;
END;
END;

IF MINLIST (B1,B2,B3) < 99999 then begin
IF B1 <= B2 AND B1<=B3 then begin
BUY ("RbUP LE") B1 stop;
end else begin
IF B2<=B3 THEN BEGIN
BUY ("Rlev LE") B2 stop;
end else begin
BUY ("Break LE") B3 stop;
END;
END;
END;

if t>=notaft and t<>sess1endtime then begin


if marketposition=-1 then
EXITSHORT("exit SX") entryprice+ MyStop stop;
if marketposition=1 then
EXITLONG("Exit LX") entryprice- MyStop stop;

EXITSHORT("Late SX") high + 0.05 stop;
EXITLONG("Late LX") low - 0.05 stop;
end;
gilato non è connesso   Rispondi citando
Avviso pubblicitario - i seguenti Banner Pubblicitari permettono al sito di offrirvi il consueto, alto standard qualitativo.
 
Vecchio 04-11-2009, 18:00   #2 (permalink)
In hoc signo vinces
 
L'avatar di picchio63
 
Data registrazione: Aug 2004
Messaggi: 3,037
Citazione:
Originalmente inviato da gilato Visualizza messaggio
Ciao a tutti,
tempo fa ero riuscito a trovare in rete un famoso TS chiamato R-BREAKER...pare che sia un top ten trading system ..ma purtroppo per me è in linguaggio EL x tradestation.
Io mastico solo metastock e un pò di VT.....e quindi pongo a tutti una domanda:
non è che qualche volenteroso voglia tradurlo in visual trader ?????
Così vediamo se è bbono oppure ....è una ciofeca !!!!
Grazie

R-BREAKER TRADING SYSTEM (EASY LANGUAGE)
input: revers2(0.50) , exit2(0.40),begBARS(3), endbars(5), f1(.45), f2(0.1), f3(.25), TrueHL(true),
rangemin(0.01), xdiv(3),

typeStop(2), exit1(280),
typeRev(2), revers1(280),
hold(11), holdper(11) ;

vars: notbef(0), NotAft(0),
ATR3(0), Mystop(0), reverse(0),
DATEGO(TRUE),
ssetup(0),bsetup(0),senter(0),benter(0),bbreak(0), sbreak(0),
ltoday(0), htoday(9999), startnow(0), div(0),
rfilter(false),
S1(0),S2(0),S3(0),B1(99999),B2(99999),B3(99999);
VARS: Sellstop(0), buystop(0) ,
DayCl2(0), trueLo(0), TrueHi(0),
DayOp(0), DayLo(0), DayHi(0), DayCl(0),
OpToday(0), OpenLow(0), OpenHigh(0) ,
DayTRange(0), DayRange(0) ;

if D>D[1] then
begin
htoday=h;
ltoday=l;
end;
if h > htoday then htoday=h;
if l < ltoday then ltoday=l;

if t >= Sess1FirstBarTime and date > date[1] and C > 0 and L>0 and H > 0 then
begin
OpToday = open;
OpenLow = low;
OpenHigh = high ;
end;

if d > d[1] and t[1] = sess1endtime then
begin
DayCl = C[1]; DayOp = OpToday[1];
Dayhi = htoday[1]; DayLo = Ltoday[1];
end;

TrueLo = DayLo ;
TrueHi = Dayhi ;
dayTrange = TrueHi - TrueLo ; dayRange = DayHi - DayLo ;
DayCl2= CloseD(2) ;

If TrueHL then
begin
if DayCl2 < Daylo then
TrueLo = DayCL2 ;
if DayCl2 > Dayhi then
TrueHi = DayCl2 ;
end;

If typeStop = 1 then MyStop = exit1 ;
If typeStop = 2 then MyStop = exit2 * DayTrange ;

If typeRev = 1 then reverse = revers1 ;
If typeRev = 2 then Reverse = revers2 * DayTrange ;

if currentbar=1 then startnow=0;
div=maxlist(xdiv,1);

notbef = Sess1FirstBarTime + begBARS* BarInterval ;
notaft= Sess1EndTime - endbars * BarInterval ;

if D>D[1] then begin

startnow=startnow+1;

ssetup=htoday[1]+f1*(c[1]-ltoday[1]);
senter=((1+f2)/2)*(htoday[1]+c[1])-(f2)*ltoday[1];

benter=((1+f2)/2)*(ltoday[1]+c[1])-(f2)*htoday[1];
bsetup=ltoday[1]-f1*(htoday[1]-c[1]);

bbreak=ssetup+f3*(ssetup-bsetup) {(1.3625*htoday[1]+.45*c[1])-.8125*ltoday[1]};
sbreak=bsetup-f3*(ssetup-bsetup) {(1.3625*ltoday[1]+.45*c[1])-.8125*htoday[1]};


rfilter=htoday[1]-ltoday[1]>=rangemin * Close ; end;


S1=0;S2=0;S3=0;B1=99999;B2=99999;B3=99999;

PRINT (D,T , benter, bsetup, bbreak, S1,S2, S3, B1, B2, B3) ;

if t>=notbef and t<notaft and
startnow>=2 and
rfilter and
date>entrydate(1) then begin

if marketposition = - 1 then
B1=entryprice+reverse; {BUY("RbUP LE") entryprice+reverse stop;}
if ltoday<=bsetup and marketposition<1 then
B2=benter-(bsetup-ltoday)/div; {BUY("Rlev LE") benter-(bsetup-ltoday)/div stop;}

if marketposition=1 then
S1=entryprice-reverse; {SELL("RbDN SE") entryprice-reverse stop;}
if htoday>=ssetup and marketposition>-1 then
S2=senter+(htoday-ssetup)/div; {SELL("Rlev SE") senter+(htoday-ssetup)/div stop;}

if marketposition=0 then
B3=bbreak; {BUY("Break LE") bbreak stop;}
if marketposition =0 then
S3=sbreak; {SELL("Break SE") sbreak stop;}

end;

IF MAXLIST (S1,S2,S3) > 0 then begin
IF S1>=S2 AND S1>=S3 then begin
SELL ("RbDN SE") S1 stop;
end else begin
IF S2>=S3 then begin
SELL ("Rlev SE") S2 stop;
end else begin
SELL ("Break SE") S3 stop;
END;
END;
END;

IF MINLIST (B1,B2,B3) < 99999 then begin
IF B1 <= B2 AND B1<=B3 then begin
BUY ("RbUP LE") B1 stop;
end else begin
IF B2<=B3 THEN BEGIN
BUY ("Rlev LE") B2 stop;
end else begin
BUY ("Break LE") B3 stop;
END;
END;
END;

if t>=notaft and t<>sess1endtime then begin


if marketposition=-1 then
EXITSHORT("exit SX") entryprice+ MyStop stop;
if marketposition=1 then
EXITLONG("Exit LX") entryprice- MyStop stop;

EXITSHORT("Late SX") high + 0.05 stop;
EXITLONG("Late LX") low - 0.05 stop;
end;

Ho messo i report sul mio 3d nella sezione piazza affari se ti interessa
__________________
"Onesto è colui che cambia il proprio pensiero per accordarlo alla verità. Disonesto è colui che cambia la verità per accordarla al proprio pensiero".
Elliott analisi ciclica e Fibonacci
picchio63 non è connesso   Rispondi citando
Vecchio 04-11-2009, 18:08   #3 (permalink)
__PROSUMER 3.0__
 
L'avatar di alvin_angel
 
Data registrazione: Feb 2009
Località: Torino
Messaggi: 2,297
Citazione:
Originalmente inviato da gilato Visualizza messaggio
Ciao a tutti,
tempo fa ero riuscito a trovare in rete un famoso TS chiamato R-BREAKER...pare che sia un top ten trading system ..ma purtroppo per me è in linguaggio EL x tradestation.
Io mastico solo metastock e un pò di VT.....e quindi pongo a tutti una domanda:
non è che qualche volenteroso voglia tradurlo in visual trader ?????
Così vediamo se è bbono oppure ....è una ciofeca !!!!
Grazie
non fai prima a passare a PakkoStation?!?!?

cia'!!!
__________________
SNSD-SOSHI-GIRLS'GENERATION FANS CLUB
TESSERA N° 1
la legenda dei grafici che posto si trova qui
IO VOTO
alvin_angel non è connesso   Rispondi citando
Vecchio 04-11-2009, 23:39   #4 (permalink)
46
 
L'avatar di inthemoney
 
Data registrazione: Aug 2002
Località: turin
Messaggi: 952
Citazione:
Originalmente inviato da alvin_angel Visualizza messaggio
non fai prima a passare a PakkoStation?!?!?

cia'!!!
ciaà Angelì... quando passi a trovarmi...!!!
dai ke mi dai una mano a buttarlo dentro a tradestation.. e lo facciamo girare..

ho due cosette da farti vedere su metatrader 5... una favola... ma sempre reverse dopo quei famosi pallini rossi... che avevi visto l'ultima volta...
orario.. con adx fuxia e verdino.. canaline di scolo comprese.. arcate e ponti
Anteprime immagini allegate
Top TS-2.jpg  

inthemoney non è connesso   Rispondi citando
Vecchio 05-11-2009, 08:28   #5 (permalink)
__PROSUMER 3.0__
 
L'avatar di alvin_angel
 
Data registrazione: Feb 2009
Località: Torino
Messaggi: 2,297
Citazione:
Originalmente inviato da inthemoney Visualizza messaggio
ciaà Angelì... quando passi a trovarmi...!!!
dai ke mi dai una mano a buttarlo dentro a tradestation.. e lo facciamo girare..

ho due cosette da farti vedere su metatrader 5... una favola... ma sempre reverse dopo quei famosi pallini rossi... che avevi visto l'ultima volta...
orario.. con adx fuxia e verdino.. canaline di scolo comprese.. arcate e ponti
Hola Pabletto!!!!!!

sul Pakkostation ho fatto un semplice copia&incolla e non mi ha dato errori...
pero' non mi sembra di ottenere le stesse prestazioni di quel discolaccio di Pikkio... anzi...

hai poi preso il portatile?!?!
dai... questa volta vieni da me che ti faccio vedere la mia pustasiun...

PS
sempre molto belli quei pallins...
le tue sono vere opere d'arte!!!
__________________
SNSD-SOSHI-GIRLS'GENERATION FANS CLUB
TESSERA N° 1
la legenda dei grafici che posto si trova qui
IO VOTO
alvin_angel non è connesso   Rispondi citando
Vecchio 06-11-2009, 09:38   #6 (permalink)
46
 
L'avatar di inthemoney
 
Data registrazione: Aug 2002
Località: turin
Messaggi: 952
Citazione:
Originalmente inviato da alvin_angel Visualizza messaggio
Hola Pabletto!!!!!!

sul Pakkostation ho fatto un semplice copia&incolla e non mi ha dato errori...
pero' non mi sembra di ottenere le stesse prestazioni di quel discolaccio di Pikkio... anzi...

hai poi preso il portatile?!?!
dai... questa volta vieni da me che ti faccio vedere la mia pustasiun...

PS
sempre molto belli quei pallins...
le tue sono vere opere d'arte!!!
ok dai... manda addressss..in mp
inthemoney non è connesso   Rispondi citando
Vecchio 07-11-2009, 18:28   #7 (permalink)
In hoc signo vinces
 
L'avatar di picchio63
 
Data registrazione: Aug 2004
Messaggi: 3,037
Citazione:
Originalmente inviato da alvin_angel Visualizza messaggio
Hola Pabletto!!!!!!

sul Pakkostation ho fatto un semplice copia&incolla e non mi ha dato errori...
pero' non mi sembra di ottenere le stesse prestazioni di quel discolaccio di Pikkio... anzi...

hai poi preso il portatile?!?!
dai... questa volta vieni da me che ti faccio vedere la mia pustasiun...

PS
sempre molto belli quei pallins...
le tue sono vere opere d'arte!!!

ma io ho ottimizzato
__________________
"Onesto è colui che cambia il proprio pensiero per accordarlo alla verità. Disonesto è colui che cambia la verità per accordarla al proprio pensiero".
Elliott analisi ciclica e Fibonacci
picchio63 non è connesso   Rispondi citando
Vecchio 08-11-2009, 11:43   #8 (permalink)
Nessuno è mai al sicuro
 
L'avatar di Damien
 
Data registrazione: Jan 2009
Messaggi: 433
Lo traduco in Visual Trader

......



quando ne ho il tempo
__________________
Fare o ... non fare. Non c'è provare. (Yoda - Star Wars)
_____________________________________________
Italia1 official 3d
http://www.investireoggi.it/forum/it...n-vt45642.html
Damien non è connesso   Rispondi citando
Vecchio 09-11-2009, 12:44   #9 (permalink)
Utente Senior
 
Data registrazione: Oct 2009
Messaggi: 306
Citazione:
Originalmente inviato da Damien Visualizza messaggio
Lo traduco in Visual Trader

......



quando ne ho il tempo

io ti ringrazio in anticipo, perchè ho provato ma non riesco proprio
riccardo69 non è connesso   Rispondi citando
Vecchio 09-11-2009, 18:25   #10 (permalink)
In hoc signo vinces
 
L'avatar di picchio63
 
Data registrazione: Aug 2004
Messaggi: 3,037
Citazione:
Originalmente inviato da riccardo69 Visualizza messaggio
io ti ringrazio in anticipo, perchè ho provato ma non riesco proprio
cmq

c'è differenza tra vt e ts


lo stesso ts si comporta in maniera diversa

almeno
__________________
"Onesto è colui che cambia il proprio pensiero per accordarlo alla verità. Disonesto è colui che cambia la verità per accordarla al proprio pensiero".
Elliott analisi ciclica e Fibonacci
picchio63 non è connesso   Rispondi citando
Rispondi

Segnalibri

« Discussione precedente | Nuova discussione »

Utenti attualmente attivi che stanno leggendo questa discussione: 1 (0 utenti e 1 ospiti)
 
Strumenti discussione Cerca in questa discussione
Cerca in questa discussione:

Ricerca avanzata

Regole messaggi
Tu non puoi inviare nuove discussioni
Tu non puoi replicare
Tu non puoi inviare allegati
Tu non puoi modificare i tuoi messaggi

Il codice BB è Attivato
Le faccine sono Attivato
Il codice [IMG] è Attivato
Il codice HTML è Disattivato
Trackbacks are Attivato
Pingbacks are Attivato
Refbacks are Disattivato



Tutti gli orari sono GMT +2. Adesso sono le 23:42.


vBulletin®
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
(C) Copyright InvestireOggi 2000-2010