Strategies merged into one (Trading in parallel)
3 replies
huangwh88
1 year ago #281970
Hi all,
The ‘Merging strategies into one’ has been around for a few years, but is still experimental.
Seems to work as intended, as long as you attach it to a chart of your trading timeframe, and specify the correct market for each strategy.
Known limitations: Same trading options are applied to all the strategies.
So far, a forum search yields no results of successful implementation of this feature.
Has anyone found success with it? Are the devs confident enough to make it non-experimental?
tomas262
1 year ago #282018
Hi,
so far we have had only minor issues with this mostly caused be either merging very large amount of strategies or by setting up incorrect symbols for ‘subcharts’. We will consider removing the notice into future builds
huangwh88
1 year ago #282023
Hi, so far we have had only minor issues with this mostly caused be either merging very large amount of strategies or by setting up incorrect symbols for ‘subcharts’. We will consider removing the notice into future builds
Thanks Tomas.
When you say “very large” amount, roughly how many strategies are you referring to? And what sort of problems?
Christian Schranz
2 months ago #285249
Yes, but there are big issue in the coding results after generation. When you want to use the ATM functions from Ulitmate version like this:
the portfolio is not geenrated the code correct.
In the single strategy the coding is correct and open also corect 3 different trades in MT5
BUT when I use the generated coding in the portfolio, MT5 created only 2 order and one with no TP.
So some coding is missing here. When I compare the coding between the correct single strategy and the portfolio coding I found the different here
//MultipleOfOriginalSL exit
if(sizeRemaining > 0){
exitSize = MathMin(fixLotSize(“Current”, MathMax(NormalizeDouble(NormalizeDouble(mmLots * mmMultiplier / 100.0 * 25, 2), 2), 0.01)), sizeRemaining);
exitTicket = openPosition(
ORDER_TYPE_SELL_LIMIT, // Order type
“Current”, // Symbol
exitSize, //Size
sqFixMarketPrice(openPrice + (1.55 * (openPrice – sl)), “Current”), // Price
0, // Stop Loss
0, // Profit Target
correctSlippage(sqMaxEntrySlippage, “Current”), // Max deviation
“”, // Comment
MagicNumber, // MagicNumber
ExpirationTime, // Expiration time
true, // Replace existing order (if it exists)
false, // Allow duplicate trades
true
);
Viewing 3 replies - 1 through 3 (of 3 total)