Un semplice TS usando medie. Che ne pensate? (1 Viewer)

f4f

翠鸟科
lo zigzag può essere usato ? dipende

supponiamo di avere uno zigzag settato a 10tick e che ci serva l'ultima "punta" rialzista disegnata in nero (punto 0) nella figura ad esempio per stabilire un livello di supporto.

Se il prezzo è nel punto 1, non possiamo usarlo, in quanto potrebbe ritracciare.
Se invece il prezzo è in posizione del punto 2, allora, possiamo, in quanto ha superato il livello dei 10 tick e da lì o prosegue sopra verso punto 3 o fa il picco e va al punto 4, ma la punta lì in basso ormai non si sposterà più


grazie :)
 

tetsuo

Guest
lo zigzag può essere usato ? dipende

supponiamo di avere uno zigzag settato a 10tick e che ci serva l'ultima "punta" rialzista disegnata in nero (punto 0) nella figura ad esempio per stabilire un livello di supporto.

Se il prezzo è nel punto 1, non possiamo usarlo, in quanto potrebbe ritracciare.
Se invece il prezzo è in posizione del punto 2, allora, possiamo, in quanto ha superato il livello dei 10 tick e da lì o prosegue sopra verso punto 3 o fa il picco e va al punto 4, ma la punta lì in basso ormai non si sposterà più


Bel post :up:

Oggi incuriosito da diversi post su questo indicatore ho provato a cercare un po' di spiegazioni sullo zigzag su google e devo dire che la migliore è questa tua Chantal

Ne ho tirato fuori un codicillo per PRT ..... magari qualcuno ci gioca un po' e gli trova un uso


La variazione viene calcolata in punti percentuale

Viene usato il close ..... Ci sarebbe una funzione per attivare la casella di scelta del prezzo ma mo' non mi ricordo......:D



//creare la variabile n
/////////////////////////////////////////////////
/////////////////// ZIGGY /////////////////////
////////////////////////////////////////////////

once ziggy=0

ampiezza=(ziggy/100*n)

once trend=1

if trend=1 then
if close>close[1] and close>ziggy[1] then
ziggy=close
elsif close>close[1] and close<ziggy[1] then
ziggy=ziggy[1]
elsif close<close[1] and (ziggy-ampiezza)<close then
ziggy=ziggy[1]
elsif close<close[1] and (ziggy-ampiezza)>close then
ziggy=close
trend=-1
endif
endif

if trend=-1 then
if close<close[1] and close<ziggy[1] then
ziggy=low
elsif close<close[1] and close>ziggy[1] then
ziggy=ziggy[1]
elsif close>close[1] and (ziggy+ampiezza)>close then
ziggy=ziggy[1]
elsif close>close[1] and (ziggy+ampiezza)<close then
ziggy=close
trend=1
endif
endif

if trend=1 and trend[1]=-1 then
supporto=ziggy[1]
elsif trend=-1 and trend[1]=-1 then
supporto=supporto[1]
endif

if trend=-1 and trend[1]=1 then
resistenza=ziggy[1]
elsif trend=1 and trend[1]=1 then
resistenza=resistenza[1]
endif

return ziggy coloured by trend as "ZIGGY", supporto as "SUPPORTO", resistenza as "RESISTENZA"

////////////////////// FINE ///////////////////////////



FIAT.png


Bye
 

rlltrading

01/09/2016
sALVE ,m`INTROMETTO ALLA VOSTRA DISCUSSIONE DI SVILUPPARE UN TS CON SOLO MEDIE MOBILI.

QUALCHE HANNO FA MI ERA VENUTA UN IDEA UN PO ASSURDA :OSSIA DI PRENDERE 2 MEDIE MOBILI E CREARE UN TS FALSO OSSIA CHE COMPRI AI MINIMI E VENDA AI MASSIMI .

UNA VOLTA SVILUOPPATO IL TS MI FUNZIONAVA OVVIAMENTE SU TUTTI GLI STRUMENTI FINANZIARI CON PERFORMANS SUPERIORI A +1200% ANNUALE.


DOPODICHE MI SON DETTO SE SOLO RIESCO A SEGUIRE IL TS PER IL 50% DEI MOVIMENTI ALLA FINE DELL`ANNO FACCIO UN +600%.


BHé L`IDEA NON é COSI POI ASSURDA,CAMBIANDO LO SHIFT ORIZZONTALE DELLE MEDIE APPUNTO SI PUO CREARE QUESTO TS.....FORMULA SEMPLICISSIMA.



COMUNQUE NON RIUSCIVO A PERFORMARE IL +600% ALLORA HO APPORTATO DELLE MODIFICHE OSSIA RENDERE IL TS VERITIERO ALMENO DEL 70%
QUINDI SU 10 TRADE SOLO 3 RISULTANO NEGATIVE E COSI HO FATTO

ATTUALMENTE CON 2 MEDIE ED UN FILTRO CHE MI PORTA LE TRADE REALI AL 70% MI DA DAI+200%300% ALL`ANNO

SEMPLICE NO.....CI SONO ARRIVATO SOLO DOPO 15 ANNI DI STUDI

IL SOLO PROBLEMA ERA RENDERE IL TS VERITIERO DEL 70% SENZA DIMINUIRE TROPPO LE PERFORMANS ........

SE I VECCHI POTESSERO ......SE I GIOVANI SAPESSERO.......

COMUNQUE HO FATTO DEI TEST CON CONTI REALI E NON é MALVAGIO COME SISTEMA,SI POTREBBE MIGLIORARE DI MOLTO


QUINDI ANCHE USARE SOLO 2 STUPIDE MEDIE MOBILI NON é POI COSI ..................................................................................................................................................


ciao biagio

il ts che ho costruito ha come base 2 medie mobili.
mi piacerebbe scambiare 4 chiacchere con te se possibile o con qualcun d'altro che usa questo tipo di metodo.

Luca
 

Hell75

Nuovo forumer
Bel post :up:

Oggi incuriosito da diversi post su questo indicatore ho provato a cercare un po' di spiegazioni sullo zigzag su google e devo dire che la migliore è questa tua Chantal

........
Bye

X chi chiedeva la traduzione x VT

Ho provato e mi è uscito questo... forse sarà da sistemare un pochino.
cmq x il poco tempo che ho avuto questo è il risultato.
Sicuramente c'è qualcosa che ho sbagliato, cmq le correzioni sono ben accette :up:

Codice:
{******************************************************************************
ZIGGY tradotto x VT( circa ) by Hell75
******************************************************************************}
Var: ziggy(0),ampiezza,trend(1),low(L),supporto,resistenza;   // Agggiungere qui le variabili che vi servono
INPUT: N(3);
ampiezza=(ziggy/100*n);
if trend=1 then
   if close>close[1] and close>ziggy[1] then ziggy=close;
   else
      if close>close[1] and close<ziggy[1] then ziggy=ziggy[1];
      else
         if close<close[1] and (ziggy-ampiezza)<close then ziggy=ziggy[1];
         else
             if close<close[1] and (ziggy-ampiezza)>close then ziggy=close; trend=-1;
             endif;
         endif;
      endif;
   endif;
endif;
if trend=-1 then
   if close<close[1] and close<ziggy[1] then ziggy=low;
   else
       if close<close[1] and close>ziggy[1] then ziggy=ziggy[1];
       else
           if close>close[1] and (ziggy+ampiezza)>close then ziggy=ziggy[1];
           else
               if close>close[1] and (ziggy+ampiezza)<close then ziggy=close; trend=1;
               endif;
           endif;
       endif;
   endif;
endif;
if trend=1  then      //and trend[1]=-1
supporto=ziggy[1];
else if trend=-1 then   //and trend[1]=-1
supporto=supporto[1];
endif;endif;
if trend=-1  then    //and trend[1]=1
resistenza=ziggy[1];
else if trend=1 then //and trend[1]=1
resistenza=resistenza[1];
endif;endif;
PlotChart(supporto,0,lime,solid,2);
PlotChart(resistenza,0,red,solid,2);
 

f4f

翠鸟科
X chi chiedeva la traduzione x VT

Ho provato e mi è uscito questo... forse sarà da sistemare un pochino.
cmq x il poco tempo che ho avuto questo è il risultato.
Sicuramente c'è qualcosa che ho sbagliato, cmq le correzioni sono ben accette :up:

Codice:
{******************************************************************************
ZIGGY tradotto x VT( circa ) by Hell75
******************************************************************************}
Var: ziggy(0),ampiezza,trend(1),low(L),supporto,resistenza;   // Agggiungere qui le variabili che vi servono
INPUT: N(3);
ampiezza=(ziggy/100*n);
if trend=1 then
   if close>close[1] and close>ziggy[1] then ziggy=close;
   else
      if close>close[1] and close<ziggy[1] then ziggy=ziggy[1];
      else
         if close<close[1] and (ziggy-ampiezza)<close then ziggy=ziggy[1];
         else
             if close<close[1] and (ziggy-ampiezza)>close then ziggy=close; trend=-1;
             endif;
         endif;
      endif;
   endif;
endif;
if trend=-1 then
   if close<close[1] and close<ziggy[1] then ziggy=low;
   else
       if close<close[1] and close>ziggy[1] then ziggy=ziggy[1];
       else
           if close>close[1] and (ziggy+ampiezza)>close then ziggy=ziggy[1];
           else
               if close>close[1] and (ziggy+ampiezza)<close then ziggy=close; trend=1;
               endif;
           endif;
       endif;
   endif;
endif;
if trend=1  then      //and trend[1]=-1
supporto=ziggy[1];
else if trend=-1 then   //and trend[1]=-1
supporto=supporto[1];
endif;endif;
if trend=-1  then    //and trend[1]=1
resistenza=ziggy[1];
else if trend=1 then //and trend[1]=1
resistenza=resistenza[1];
endif;endif;
PlotChart(supporto,0,lime,solid,2);
PlotChart(resistenza,0,red,solid,2);

:) :up:
 

Sasi

Nuovo forumer
scusate, come faccio a programmare il TS in modo che non operi nè long nè short in uno specifico arco temporale di candele?
 

Users who are viewing this thread

Alto