Page 2 of 3

Re: HA_Strategy

PostPosted: Sun Jun 21, 2020 4:13 am
by Apprentice
Your request is added to the development list.
Development reference 1526.

Re: HA_Strategy

PostPosted: Wed Jun 24, 2020 5:40 am
by Apprentice
HA Strategy v2.lua
(137.37 KiB) Downloaded 332 times

Try this version.

Re: HA_Strategy

PostPosted: Sat Jul 04, 2020 7:21 am
by Protrader
Hello Apprentice,

Is it possible to add a Martingale at the first version of HA_Strategy ?

Thank you,

Re: HA_Strategy

PostPosted: Sun Jul 05, 2020 1:20 pm
by Apprentice
Your request is added to the development list.
Development reference 1635.

Re: HA_Strategy

PostPosted: Mon Jul 06, 2020 11:40 am
by Apprentice
It opens two positions. One position could be closed with a loss and the second with profit.đ
Or both could be closed in a loss.

It's unclear what logic of martingale should be in all these cases.

Re: HA_Strategy

PostPosted: Tue Jul 14, 2020 1:14 pm
by Protrader
The logic of the strategy with martingale is :

Just one position could be opened at a time.

When a position loses, the next position is opened with a coefficient of X (let the choice to the owner of the strategy).
Let the choice also up to a maximum coefficient

If the position is winning, do not change the position size.
If the position loses and then wins with a coefficient, the next position falls back to the starting size.

Thank you,

Re: HA_Strategy

PostPosted: Thu Jul 16, 2020 5:54 am
by Apprentice
HA_Strategy_with_martingale.lua added.

Re: HA_Strategy

PostPosted: Thu Jul 16, 2020 12:34 pm
by Protrader
Thank you for rapidity,

I have a problem, the strategy doesn't fall back to the starting lot size when the last position with the coefficient had won.

Thank you if you can modify this,

Regards,

Re: HA_Strategy

PostPosted: Fri Jul 17, 2020 4:34 am
by Apprentice
Your request is added to the development list.
Development reference 1716.

Re: HA_Strategy

PostPosted: Fri Jul 17, 2020 5:17 am
by Apprentice
I don't have such an issue. But I've found and another bug.