読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

SQ custom indicators refresh

1件の返信

kleung88

Customer, bbp_participant, community, 32 replies.

プロフィールを表示

9年前 #117310

Hello, I am having a compiling error in TradeStation because it cannot recognize a function named SQTrueRange.  I had installed the .ELD file from SQ to TS before, and the file time stamp suggested that it was a 2014 version.  I am wondering if there’s a refresh of this .ELD file, and if it does, where may I find the download link under the Client portal or somewhere please ?

0

Tomas Matejka

管理者、sq-ultimate、2件の返信.

プロフィールを表示

9年前 #143996

こんにちは,

 

here is the SQTrueRange function for Tradestation:

inputs: 
Period( numericsimple );


vars: periodBefore(0), first(0), second(0); 


periodBefore = Period - 1;


if(High[periodBefore] > Close[Period]) then begin 
first = High[periodBefore];
end Else begin 
first = Close[Period];
end;


if(Low[periodBefore] < Close[Period]) then begin
second = Low[periodBefore];
end Else begin
second = Close[Period];
end;


SQTrueRange = first - second;

0

1件の返信を表示中 - 1 - 1件目 (全1件中)