Variation 1:

Instead of a 1-way martingale, we will martingale in both directions. If in the original, the first order we only place 1 Buy order (say Buy 1 lot) with the expectation that the price will go up, this time we will place another Sell order 1 lot with the same price, at the same time. with the expectation that the price will go down. The stuffing is similar to the original, but this time there will be 2 red and blue martingale lines as shown below.

Comment:
• This way we will still be profitable when the price is sideways (unlike the original).
• Because the order is stuffed in both directions, the capital must be large enough (if you do not want to break the burden in the middle of the road).
Variation 2:
1. Let's say that the first order is Buy 0.1 lot with 30 pip bonds and 29 pips SL.
2. At the same time, place another Sell Stop order of 0.2 lots just below the Buy order 30 pips and a TP of 30 pips, an SL of 29 pips.
3. If the price hits the SL of the first Buy order and activates a Sell order of 0.2 lots, continue to place the Buy Stop order at the same price as the first Buy and have a TP of 30 pips, an SL of 29 pips.
4. Continue like that for the next position with lots of 0.4, 0.8, 1.6 ...
5. If the price touches SL but does not trigger a new order due to the reversal, place another stop order with the same volume, so now we have 2 stop orders with the same number of lots.
Comment:
• There can only be a maximum of 1 command running at a time, so the margin doesn't have to be too large.
• For the original, the stuffing volume is 0.1, 0.3, 0.6, 1.2 ... For this variation, the stuffing volume is 0.1, 0.2, 0.4, 0.8 ...
• If the price sideways continuously, it may hit SL many times, but on the contrary, if the TP is hit, it will make more pips.