COSTRUZIONE INDICATORE PER ANALISI CICLICA CON VISUAL TRADER

fatti una immagine in jpeg e allegala
ho preso un titolo a caso in un momento a caso ma guarda i livelli e lo stop strttissimo poi puoi andare short con un minimo di stop
esempio.GIF
 
Codice:
Var: miavar(0),MioMOV1,MioCHTRENDS0;

MioCHTRENDS0 = CHTRENDS(c);
MioMOV1 = MOV(MioCHTRENDS0, 21, 0, 0, 0);



if (MioCHTRENDS0 = 10) and (MioCHTRENDS0[1] < 10) and t>902 and t<1700 and c>c[1] and c>c[2] Then
If PositionDir = -1 Then
ExitShort(nextBar, atOpen);Endif;
EnterLong(nextBar, atOpen); 

installstoploss (intick,15, "stopp");
installtakeprofit (intick,8, "profit");Endif;

If t>1701 then ExitShort(nextBar, atOpen); endif;


if (MioCHTRENDS0 = -10) and (MioCHTRENDS0[1] > -10) and t>902 and t<1700 and c<c[1] and c<c[2] Then
If PositionDir = 1 then
ExitLong(nextBar, atOpen); Endif;
EnterShort(nextBar, atOpen);

installstoploss (intick,15, "stopp");
installtakeprofit (intick,8, "profit");Endif;

If t>1701 then ExitLong(nextBar, atOpen); endif;

così va?
 

Users who are viewing this thread

Back
Alto