Martingale for hooks
complete
I
Irina
Please consider adding Martingale settings for one hook.
This will be useful when several TV signals are configured for one hook, but due to risk control, there is a limit on the number of simultaneous signals per hook.
Thus, it turns out that a newly generated TV signal, taking into account martingale, may not open due to this restriction, which is absolutely true, but the martingale system also fails.
In this case, this setting is needed on the terminal side, which, if the previous position is lost, will increase the position volume of the next past signal, which may arrive from TV even without martingale.
You also need to be able to set a limit on the number of consecutive losses at which the martingale is reset and starts counting again.
I saw a similar request, but I would also like to clarify that martingale is calculated not only on the basis of the position amount, but also on the risk, i.e. you need to be able to double the risk compared to the previous losing trade.
Thanks!
You're the best!!!
Finandy Exchange
marked this post as
complete
Implemented.
I
Irina
Finandy Exchange: Good afternoon, thank you for your promptness, but there is one question: the update says that martingale works within one pair, and the original idea was for martingale to work as part of a hook even on different pairs. Perhaps I didn't quite correctly formulate the request - when I wrote “several signals per hook”, I meant that different instruments fly to the same hook, and if you can make Martin one instrument on the TV side, then this task was needed on the hook side - when, after a losing position on instrument A, the next signal for instrument B comes, but under tool B, the signal is not Martin's.
Finandy Exchange
Merged in a post:
Order size calculation according to the PnL of the previous closed position
Finandy Exchange
Add a setting for calculating an opening order after a losing or profitable position.
You need to specify in the drop-down list:
* Opening multiplier after losing
* Opening multiplier after losing in the same pair
For example, you opened a $100 position and made a loss, double 200 dollars in the next position, if there was a loss again, enter 400, and so on.
That is, we need to count how many unprofitable positions there were starting from the last one and calculate the opening amount using the formula:
(Opening Amount) x (Multiplier) ^ (Number of Losses)
If the previous position was profitable, then we enter according to the entry settings.
Another option suggests itself: how far to look at the previous position, the time is set in minutes. This is necessary so that if the position has been around for a long time, then, in fact, multiply it by a multiplier. By default, you can set 24 hours.
If there is no previous pair or no unprofitable pair, then open a position according to the opening settings.
Finandy Exchange
Merged in a post:
Increase in the opening amount after a position loss (martingale)
Finandy Exchange
Add a setting for calculating an opening order after a losing position.
You need to specify in the select:
- Opening multiplier after a losing one
- Opening multiplier after losing in the same pair
For example, we entered $100 and made a loss, we enter the next position by doubling 200, if there was a loss again, we entered 400, and so on.
Finandy Exchange
marked this post as
planned