読み取り専用

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

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

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

ご参加ください Discord YouTube

When pending order becomes active…

2件の返信

Adedayojoy

登録者、bbp_participant、コミュニティ、5件の返信。.

プロフィールを表示

12年前 #112324

Hello everyone!

I am writing an EA that involves taking a particular action ONLY WHEN A PARTICULAR PENDING ORDER BECOMES ACTIVE. So far I haven’t been able to find a way to write that condition in EA Wizard. A help will be appreciated.

ありがとう。.

0

マーク・フリック

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

プロフィールを表示

12年前 #125211

こんにちは,

 

the only thing you can do to check if pending order is already active is to check:

 

IF (OrderPosition(your magic number) Flat

THEN…

 

This triggers when the order is active, for pending order it is Flat.

There’s no other way, there is no event in MT4 that would notify you when pending order becomes active.

 

If you need it to trigger just once then you ‘d have to use some variable that you’ll set to true once this is triggered and to false once you open new pending order.

マーク
StrategyQuantアーキテクト

0

Adedayojoy

登録者、bbp_participant、コミュニティ、5件の返信。.

プロフィールを表示

12年前 #125217

Owh! Thanks Mark. This should work.

 

Thanks again.

0

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