Not logged in
Viewing 4 posts - 1 through 4 (of 4 total)
  • #112603 |
    Participant
    8 Posts

    I have purchased EA Wizard last week,it is awesome but I havent yet written any successful EA.

    I want to write a simple EA.

    Conditions are as follows:

    1. Close Profit 50% when when profit in short position or long position reaches 15 pips.
    2. Close Profit 30% when when profit in short position or long position reaches 25 pips.
    3.Close Profit 20%(the rest) when when profit in short position or long position reaches 25 pips.

    Positions will be opened manually.
    I have tried it several times but my EA is not running.
    Can you please help me?
     

    #126409
    Mark Fric
    Administrator
    1182 Posts

    it is little bit tricky, but I’m attaching a sample that should work.

     

    It expects that your initial open position size is 1.

    It has to check for position size in each rule to make sure it doesn’t close part of position more than once.

    Attachments in this forum are visible only for registered users.

    Mark
    StrategyQuant architect

    #126420
    Participant
    8 Posts

    i cannot download this file

    please help

    #126731
    Mark Fric
    Administrator
    1182 Posts

    the problem was that you started this topic in StrategyQaunt part of the forum. I moved it to EA Wizard, you should have rights to download it here.

    Mark
    StrategyQuant architect

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

You must be logged in to reply to this topic.