読み取り専用

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

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

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

ご参加ください Discord YouTube

How to add a comment & change the color for the

7件の返信

josecort_trader

購読者, bbp_participant, コミュニティ, sq-ultimate, 顧客, 20件の返信.

プロフィールを表示

9年前 #118016

こんにちは

 

On Metatrader when a trade is closed it is written a comment on at the comment column in Account tab. After my EAs made by the SQ wizard close a trade, on the comment it is just said, for example, [sl] if the trade was closed by reaching the stop loss. Is it possible to add more info: EA’s name, Magicnumber, etc.?

 

 

On the other hand, I would like to ask how could I change the color for the EA info that appears on the chart. By default is white.

 

 

ありがとう

ファイル 1.jpg1.jpg
ファイル 2.jpg2.jpg

0

Tomas Matejka

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

プロフィールを表示

9年前 #145313

こんにちは,

 

to add a text into MetaTrader4 journal use the Log to Journal function as show in the example attached

 

Also you can change label color as shown. Just doubleclick the label and use the right click to select label properties

 

You can also us WIzard to change the color for you by a custom action applied with code:

ObjectSet("line1", OBJPROP_COLOR, Red); // Sets EA name text color to red
ファイル addComment.sqw

0

josecort_trader

購読者, bbp_participant, コミュニティ, sq-ultimate, 顧客, 20件の返信.

プロフィールを表示

9年前 #145314

Many thanks tomas262!!!!!!

 

🙂  🙂  🙂

0

josecort_trader

購読者, bbp_participant, コミュニティ, sq-ultimate, 顧客, 20件の返信.

プロフィールを表示

9年前 #145315

Sorry tomas262

 

Where I have to add the custom action for setting a color by default? As it is shown on the attached picture?

 

ありがとう

 

 

 

 

ファイル Sin título.jpgSin título.jpg

0

Tomas Matejka

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

プロフィールを表示

9年前 #145316

こんにちは,

 

yes, correct, that should work. Just add the semicolon at the end ;

0

josecort_trader

購読者, bbp_participant, コミュニティ, sq-ultimate, 顧客, 20件の返信.

プロフィールを表示

9年前 #145328

Thanks!!!

 

試してみます。.

 

😀

0

Zoki

サブスクライバー、bpb_participant、コミュニティ、15件の返信。.

プロフィールを表示

8年前 #235835

About adding the comment, I’m lost watching this source code.

Can you tell how to program it inside EA Wizard?

For instance, I made few versions of EA just for closing trades and attached them to few charts. How can I know which one closed particular trade without comment? So I would just add comment when trade is closed, to know which EA closed what.

ありがとうございます!

 

Zoki

 

0

Tomas Matejka

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

プロフィールを表示

8年前 #235853

こんにちは,

you can add Log To Journal behind your closing function with parameter: “Trade close for: “+Symbol()

So you will see what symbol the EA closed a trade on

0

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