読み取り専用

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

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

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

ご参加ください Discord YouTube

EMA shift

2件の返信

huangwh88

カスタマー、bbp_participant、コミュニティ、sq-ultimate、107件の返信。.

プロフィールを表示

9年前 #116172

こんにちは, 

 

I just did the EMA cross example in the EA wizard guide and would like to clarify the following:

 

With these EMA settings,

 

Period:10

Apply to: Close

Shift:1

 

Does shift =1 mean that the lookback period starts from the previous candle? So the lookback period is from close[1] to close[10]?

 

If I set shift=0, does this mean the current price = close price?

 

ありがとうございます!

0

Tomas Matejka

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

プロフィールを表示

9年前 #140977

こんにちは,

 

yes, you are right. With shift = 1, the situation is evaluated at that bar so lookback is 10 bars back from it.

Shift = 0 references the very last “unfinished only” bar. You can work with Shift = 0 only when using “every tick” testing precision in MetaTrader backtester. It won’t work properly with “open prices” backtesting mode

0

huangwh88

カスタマー、bbp_participant、コミュニティ、sq-ultimate、107件の返信。.

プロフィールを表示

9年前 #140996

こんにちは,

 

yes, you are right. With shift = 1, the situation is evaluated at that bar so lookback is 10 bars back from it.

Shift = 0 references the very last “unfinished only” bar. You can work with Shift = 0 only when using “every tick” testing precision in MetaTrader backtester. It won’t work properly with “open prices” backtesting mode

Thanks Tomas!

0

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