Respuesta

SQTrueRange de SQ3.8.1

3 respuestas

eastpeace

Cliente, bbp_participante, comunidad, sq-último, 305 respuestas.

Visitar el perfil

hace 8 años #113875

Hola, Mark,

 

¿Podría facilitarnos el indicador personalizado, SQTrueRange?

 

No puedo encontrar esto incluso me re-ipmort archivo ELD a MC.

 

 

0

eastpeace

Cliente, bbp_participante, comunidad, sq-último, 305 respuestas.

Visitar el perfil

hace 8 años #131142

¿Nadie utiliza el indicador truerange?

 

Creo que TrueRange significa , MAX(MAX((ALTO-BAJO),ABS(REF(CIERRE,1)-ALTO)),ABS(REF(CIERRE,1)-BAJO)).

 

Pero, ¿qué significa SQTrueRange(86)?

0

Mark Fric

Administrador, sq-ultimate, 2 respuestas.

Visitar el perfil

hace 8 años #131146

lo siento, la función debería estar ahí. Aquí está la función SQTrueRange para Tradestation:

 

entradas: 
Periodo( numericsimple );
 
vars: periodBefore(0), first(0), second(0); 
 
periodoAntes = Periodo - 1;
 
if(High[periodBefore] > Close[Period]) then begin 
primero = Alto[periodoAntes];
end Else begin 
primero = Cerrar[Periodo];
fin;
 
if(Low[periodBefore] < Close[Period]) then begin
segundo = Bajo[periodAntes];
end Else begin
segundo = Cerrar[Periodo];
fin;
 
SQTrueRange = primero - segundo;

Mark
Arquitecto de StrategyQuant

0

eastpeace

Cliente, bbp_participante, comunidad, sq-último, 305 respuestas.

Visitar el perfil

hace 7 años #139731

SQTrueRange(86) = TrueRange[85]

0

Viendo 3 respuestas - de la 1 a la 3 (de un total de 3)