読み取り専用

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

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

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

ご参加ください Discord YouTube

Sequence of rule execution

3件の返信

huangwh88

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

プロフィールを表示

9年前 #116400

こんにちは, 

 

Suppose we have a source code in the usual format:

 

Rule 1

—————–

Rule 2

—————-

Rule 3

 

When the EA is running in MT4, are the rules evaluated in this sequence?

 

For example, rule 1 is to enter a buy stop order, and rule 2 is to cancel the stop order. If both rules are true, is it possible for a buy stop to be created?

0

Tomas Matejka

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

プロフィールを表示

9年前 #141821

こんにちは,

 

in such case the stop order will be created and cancelled immediately. You need to add additional conditions to avoid that situation

0

huangwh88

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

プロフィールを表示

9年前 #141836

こんにちは,

 

in such case the stop order will be created and cancelled immediately. You need to add additional conditions to avoid that situation

 ありがとうございます、トマス。.

 

To clarify my understanding, when the EA is being read by MT4 from top to bottom, 

 

Is every true condition executed immediately after being read?

 

Or does MT4 finish reading the entire EA, then all the true conditions are executed in one go?

0

Tomas Matejka

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

プロフィールを表示

9年前 #141843

Yes, once you drop it on a chart all conditions are evaluated

0

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