kenshiro
Forumer attivo
A chi interessa ho fatto una bozza utilizzare i cicli in visual trader
Funziona solo su visual trader versione precedente in quanto nell'ultima hanno tolto la possibilità di shitfare il grafico a sinistra.
L'ho fatto ieri , non ho conoscenze di visual trader quindi farà schifo.
Questo indicatore plotta il close indietro di 16 e 32 giorni con proiezione dell'ultimo close sui giorni mancanti.
Sopra ci possono facilmente costruire velocità e indicatori ciclici
E' solo l'inizio spero qualcuno lo migliori
Ciao
Var: mediacen32,indzona1; // Agggiungere qui le variabili che vi servono
Var: mediacen64,indzona2;
Var: mediacen16,indzona3;
mediacen16 = mov(c, 1, s,-8);
mediacen32 = mov(c, 1, s,-16);
mediacen64 = mov(c, 1, s,-32);
if (BarsRemaining = 7 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 6 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 5 ) then mediacen16 =ref(mediacen16,1);
else
if (BarsRemaining = 4 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 3 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 2 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 1 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 0 ) then mediacen16 = ref(mediacen16,1);
endif;endif;endif;endif;endif;endif;endi f;endif;
if (BarsRemaining = 15 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 14 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 13 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 12 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 11 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 10 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 9 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 8 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 7 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 6 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 5 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 4 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 3 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 2 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 1 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 0 ) then mediacen32 = ref(mediacen32,1);
endif;endif;endif;endif;endif;endif;endi f;endif;endif;endif;endif;endif;
endif;endif;endif;endif;
if (BarsRemaining = 31 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 30 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 29 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 28 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 27 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 26 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 25 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 24 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 23) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 22 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 21 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 20 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 19 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 18 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 17 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 16 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 15 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 14 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 13 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 12 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 11 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 10 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 9 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 8 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 7 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 6 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 5 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 4 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 3 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 2) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 1 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 0 ) then mediacen64 = ref(mediacen64,1);
endif;endif;endif;endif;endif;endif;endi f;endif;endif;endif;endif;endif;
endif;endif;endif;endif;endif;endif;endi f;endif;endif;endif;endif;endif;
endif;endif;endif;endif;endif;endif;endi f;endif;
indzona1 = CreateViewport(300, True, True); //Crea 1 zona sotto al grafico alta il 30% dello stesso
PlotChart(mediacen16 ,indzona1,white,Solid,2);
indzona2 = CreateViewport(300, True, True); //Crea 1 zona sotto al grafico alta il 30% dello stesso
PlotChart(mediacen32 ,indzona1,red,Solid,2);
indzona3 = CreateViewport(300, True, True); //Crea 1 zona sotto al grafico alta il 30% dello stesso
PlotChart(mediacen64 ,indzona1,RED,Solid,2);
Funziona solo su visual trader versione precedente in quanto nell'ultima hanno tolto la possibilità di shitfare il grafico a sinistra.
L'ho fatto ieri , non ho conoscenze di visual trader quindi farà schifo.
Questo indicatore plotta il close indietro di 16 e 32 giorni con proiezione dell'ultimo close sui giorni mancanti.
Sopra ci possono facilmente costruire velocità e indicatori ciclici
E' solo l'inizio spero qualcuno lo migliori
Ciao
Var: mediacen32,indzona1; // Agggiungere qui le variabili che vi servono
Var: mediacen64,indzona2;
Var: mediacen16,indzona3;
mediacen16 = mov(c, 1, s,-8);
mediacen32 = mov(c, 1, s,-16);
mediacen64 = mov(c, 1, s,-32);
if (BarsRemaining = 7 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 6 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 5 ) then mediacen16 =ref(mediacen16,1);
else
if (BarsRemaining = 4 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 3 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 2 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 1 ) then mediacen16 = ref(mediacen16,1);
else
if (BarsRemaining = 0 ) then mediacen16 = ref(mediacen16,1);
endif;endif;endif;endif;endif;endif;endi f;endif;
if (BarsRemaining = 15 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 14 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 13 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 12 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 11 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 10 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 9 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 8 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 7 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 6 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 5 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 4 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 3 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 2 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 1 ) then mediacen32 = ref(mediacen32,1);
else
if (BarsRemaining = 0 ) then mediacen32 = ref(mediacen32,1);
endif;endif;endif;endif;endif;endif;endi f;endif;endif;endif;endif;endif;
endif;endif;endif;endif;
if (BarsRemaining = 31 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 30 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 29 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 28 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 27 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 26 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 25 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 24 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 23) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 22 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 21 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 20 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 19 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 18 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 17 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 16 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 15 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 14 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 13 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 12 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 11 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 10 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 9 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 8 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 7 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 6 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 5 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 4 ) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 3 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 2) then mediacen64 = ref(mediacen64,1);
else
if (BarsRemaining = 1 ) then mediacen64 =ref(mediacen64,1);
else
if (BarsRemaining = 0 ) then mediacen64 = ref(mediacen64,1);
endif;endif;endif;endif;endif;endif;endi f;endif;endif;endif;endif;endif;
endif;endif;endif;endif;endif;endif;endi f;endif;endif;endif;endif;endif;
endif;endif;endif;endif;endif;endif;endi f;endif;
indzona1 = CreateViewport(300, True, True); //Crea 1 zona sotto al grafico alta il 30% dello stesso
PlotChart(mediacen16 ,indzona1,white,Solid,2);
indzona2 = CreateViewport(300, True, True); //Crea 1 zona sotto al grafico alta il 30% dello stesso
PlotChart(mediacen32 ,indzona1,red,Solid,2);
indzona3 = CreateViewport(300, True, True); //Crea 1 zona sotto al grafico alta il 30% dello stesso
PlotChart(mediacen64 ,indzona1,RED,Solid,2);