Reply

How can I make this EA?

3 replies

arman360x

Subscriber, bbp_participant, community, 17 replies.

Visit profile

9 years ago #112603

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?
 

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #126409

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.

Mark
StrategyQuant architect

0

arman360x

Subscriber, bbp_participant, community, 17 replies.

Visit profile

9 years ago #126420

i cannot download this file

please help

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

9 years ago #126731

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

0

Viewing 3 replies - 1 through 3 (of 3 total)