Ea closes groups of hedges posistions at the same time

Avatar
  • updated
  • Answered

I'm trying to write a hedge setting

a robot that uses a moving average and a sma parabolic. trades open until there is a Brake even. risk on account is 2,0 first trade is 0,1 second 0,17 and so on. how can i get this logic so correct.

Image 4116

the first picture is the cp with its original settings. you can see that all transactions are now in profit. and would need to be closed..

here's a picture of the original strategy I'm trying to achieve

Image 4117

here is a picture of the currently open deals..

Image 4118

forward just as if already showing a good result. but trades are not opened on hedge

Image 4121


setfile 

Cp funded eu 1h test 2.set

How would you rate the customer service you received?

Satisfaction mark by Gulm Veriine 2 years ago

Add a comment about quality of support you received (optional):

Avatar
1
Andrey Khatimlianskyi
  • Answered

We don't have an option to alternate trades (buy-sell-buy-sell).

But you can allow both martin and anti-martin and set the same signal for all trades. And then close all by a Sum TakeProfit.

But, again, CP doesn't support such strategies. It works with series of orders (1 buy and 1 sell).

Avatar
0
Gulm Veriine

Here is cp oricinal set here ea opend buy buy buy, but ned to open sell next  and so on buy , sell   and till brake ewen close  

Image 4126

Avatar
0
Gulm Veriine
Quote from Ulises Cune

Does the hedge have to open after the second martingale with the lot of the first martingale?

I think it should be configured like this

Image 4123

ewen after this it wont open like on picture 

Image 4125

Avatar
0
Ulises Cune

Does the hedge have to open after the second martingale with the lot of the first martingale?

I think it should be configured like this

Image 4123