読み取り専用

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

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

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

ご参加ください Discord YouTube

What is Close[0] (or Time[0])?

1件の返信

avys

購読者、bbp_participant、顧客、コミュニティ、sq-ultimate、10件の返信。.

プロフィールを表示

1年前 #288129

Hello. I am new to strategyquantX, so forgive me if the question is trivial.

On AlgoWizard, it says that every rule is triggered on bar open. So, what will be the value of close[0]? In general, is index 0 the last bar closed or the bar that was just open (and is yet incomplete)?

If index 0 is the index of the last completed bar, why all the default expressions in AlgoWozard refer to [1]?

ありがとう

Avy

0

Tomas Matejka

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

プロフィールを表示

1年前 #288142

Avy,

it depends on backtesting engine used. It is most commonly used with the TradeStation / Multicharts where it refer to the latest closed bar. Still, trading operation are being executed on next bar open (refering to last bar close – [0])

0

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