[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



PureBytes Links

Trading Reference Links

Tomacz,
could you give me precisions about parameters of applystop because 
the informations are not the same in the help file and in a message 
of the group.

stephane 
**************IF I WANT *******************

1/ if I want A stopLOSS in PERCENTAGE
type=0;/*0 - maximum loss stop*/
mode=1 OR 2;/*CONTRADICTION: 1 - amount in percent OR mode 2 (percent 
loss)*/
amount=optimize( "loss stop level", 10, 2, 30, 1 );
Exitatstop=1;

2/if I want a stopLOSS in POINT (ATR)
type=0
mode=1 or 2 /* CONTRADICTION: 2 - amount in points OR mode 1 (point 
loss)
*/
amount= factor*ATR(value);
Exitatstop=1;

3/if I want a profitTARGET in PERCENTAGE
type=1;/*1 - profit target stop*/
mode= 1 OR 3 /*CONTRADICTION: 1 - amount in percent OR 3 (percent of 
profit)*/
amount=optimize( "profit stop level", 10, 2, 30, 1 );
Exitatstop=1;

4/if I want a profitTARGET in POINT ( ATR)
type=1;
mode= 2 or WHAT /* 2 - amount in points*/
amount= factor*ATR(value);
Exitatstop=1;