Not logged in
Viewing 3 posts - 1 through 3 (of 3 total)

Forums>AlgoWizard / EA Wizard>General Discussion>algowizard – closed P/L in pips function

  • #259193 |
    Participant
    5 Posts

    hi

    i am trying to use the ‘closed P/L in pips’ function – and it seems to be not working correctly. has anyone else had issue with this

    thanks

    #259229
    tomas262
    Administrator
    1827 Posts

    Hello,

    it works correctly. You need to refer to the value using a correct magic number. See the example attached

    Attachments:
    You must be logged in to view attached files.
    #268282
    Customer
    38 Posts

    Hello tomas,

     

    I already wrote a separate post about ‘closed P/L in pips’ but I didn’t receive answer yet; anyway, I converted in mq5 your example but it give errors during compilation (see capture attached).

    I want also ask you help regarding the use of this function: my intention is to open a second order long if the previous has been closed negative, I added a further condition:

    IF Market Position is Flat AND variable1 < 0, open Enter at Market

    Unfortunately it is not working as expected, find your example with my modifications in attachment.

    Coud you please help me to handle this function?

     

     

     

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.