読み取り専用

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

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

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

ご参加ください Discord YouTube

ONE通貨ペアのすべてのオープン注文を閉じる

5件の返信

チュオン・カオ・ズアン

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

プロフィールを表示

7年前 #238327

Can someone please help me with a custome function to do that:

IF: Total TP in money of all OPEN orders for ONE currency pairs > 0

THEN: Close all OPEN order for that currency pairs

 

ありがとうございます!

 

 

0

コエンシオ

顧客、bbp_participant、コミュニティ、104件の返信。.

プロフィールを表示

7年前 #238328

Are you behind some firewall without access to google.com ? 🙂

Just make two loops through your open orders and then:

In loop1() function:

if(OrderSymbol()==Symbol())
TotalSymbolProfit=OrderProfit()+OrderSwap()+OrderCommission();

After first loop1() check if total profit is >0 then call loop2().

if(TotalSymbolProfit>0) loop2();

in loop2() function:

if(OrderSymbol()==Symbol())
OrderClose(OrderTicket(),OrderLots(),etc…);

 

Gr

クリス

 

 

 

これは虚偽の発言です。.

0

Tomas Matejka

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

プロフィールを表示

7年前 #238343

こんにちは,

also the built-in Open P/L function can be used to obtain P/L for all order in a specific currency. Just set magic = 0

Let us know if you need some more help with the custom function

0

チュオン・カオ・ズアン

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

プロフィールを表示

7年前 #239188

クリス


@Chris
: Because I am not coder to write proram. Thanks you

 

0

チュオン・カオ・ズアン

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

プロフィールを表示

7年前 #239189

Hello, also the built-in Open P/L function can be used to obtain P/L for all order in a specific currency. Just set magic = 0 Let us know if you need some more help with the custom function

So, I often open trading with 2 -3 currency pair at same time

Open P/L function If set magic =0 it will return sum of open P/L for all active orders NOT FOR ONE CURRENCY PAIR.

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

0

Tomas Matejka

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

プロフィールを表示

7年前 #239199

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