読み取り専用

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

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

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

ご参加ください Discord YouTube

Closing Order On PT hit

4件の返信

ジョニーウルフ

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

プロフィールを表示

13年前 #110917

I have two pending orders setup, when one is hit and then proceeds to the take profit I want to close the other pending order.

At the moment I have tried OrderPT(magic number)=TargetProfit

But it does'nt seem to be closing the other order.

何かアイデアはありますか?

Cheers,

ジェームズ

0

マーク・フリック

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

プロフィールを表示

13年前 #121008

I have two pending orders setup, when one is hit and then proceeds to the take profit I want to close the other pending order.

you can use this kind of condition:
OrderClosedThisBar(magic number) && Closed P/L(magic number) > 0

this will be triggered when order with given magic number just ended and ended in profit

マーク
StrategyQuantアーキテクト

0

ジョニーウルフ

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

プロフィールを表示

13年前 #121011

Ok fixed

0

ステアノ

カスタマー、bbp_participant、コミュニティ、379件の返信。.

プロフィールを表示

13年前 #121159

I have a stop order created at a price level.  How do I delete it if conditions are no longer favorable and the stop order was not hit?

 

Does EA automatically delete itself when the IF conditions are no longer valid or do I have to create a rule to delete this pending stop order?

 

If I have to delete, how do I do it because I found conditions saying existing pending order, but I could find in the THEN conditions how to close/delete the pending order.  Thanks.

 

ステアルノ

0

マーク・フリック

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

プロフィールを表示

13年前 #121195

こんにちは,

 

every stop/limit order can have expiration (Bars valid property) – you can specify how many bars it should be valid. After that it will be closed automatically.

 

You can also close any order manually by calling function Close position – this will close both open and pending orders.

 

よろしくお願いいたします。,

 

マーク

マーク
StrategyQuantアーキテクト

0

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