Not logged in

Forums

Viewing 6 posts - 1 through 6 (of 6 total)

Forums>EA Wizard>General Discussion>How to add a comment & change the color for the

  • #118016 |
    Participant
    21 Posts

    Hello

     

    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.

     

     

    THANKS

    Attachments in this forum are visible only for registered users.
    Attachments in this forum are visible only for registered users.
    #145313
    Moderator
    2349 Posts

    Hello,

     

    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
    Attachments in this forum are visible only for registered users.
    Attachments in this forum are visible only for registered users.
    #145314
    Participant
    21 Posts

    Many thanks tomas262!!!!!!

     

    🙂  🙂  🙂

    #145315
    Participant
    21 Posts

    Sorry tomas262

     

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

     

    THANKS

     

     

     

     

    Attachments in this forum are visible only for registered users.
    #145316
    Moderator
    2349 Posts

    Hello,

     

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

    #145328
    Participant
    21 Posts

    Thanks!!!

     

    I will try it.

     

    😀

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.