読み取り専用

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

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

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

ご参加ください Discord YouTube

Bar and Time isMonthLastTradingDay doesn’t generate MT5 EA

3件の返信

ジュリアン・サンタス

サブスクライバー、bbp_participant、カスタマー、コミュニティ、sq-ultimate、5件の返信。.

プロフィールを表示

2年前 #287289

こんにちは、,

when creating an EA using isMonthLastTradingDay (SQX 137), MT5’s strategy code is missing the SQ.getMonth function.

This function is included in the MT4 when the strategy is generated for this platform. It’s possible to make it compile and be executed by adding some modified code lines to the EA.

int getMonth(datetime time) {
   MqlDateTime strTime;
   TimeToStruct(time, strTime);

   return strTime.mon;
}

Is there any way to make SQ to add these code lines by itself, as it does for MT4?

お礼申し上げます。

 

Julián S.

0

Tomas Matejka

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

プロフィールを表示

2年前 #287304

Can you please attach the SQX strategy file? I will test

0

ジュリアン・サンタス

サブスクライバー、bbp_participant、カスタマー、コミュニティ、sq-ultimate、5件の返信。.

プロフィールを表示

2年前 #287360

トーマスさん、こんにちは,

thank you for your answer. Here are the files: the sqx strategy and the mq5 file obtained from it that generates the compiling errors in the attached jpg file.

お礼申し上げます。

 

添付ファイル:
に違いない ログインしました 添付ファイルを表示するには.

0

Tomas Matejka

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

プロフィールを表示

2年前 #287500

The strategy code compiles correctly for me when exported from the version 140. Which SQX build do you run?

0

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