I was trying to compare some of the code in version 24h 2.8, and 24hr 2.6 and found that in 24hr 2.8 you had the following code:
void CalculateBasketTp()
{
//Calculates the basket take profit
GetStrongestPriceInBasket();
for (int cc = 0; cc < NoOfPairs; cc++)
{
double PairBid = MarketInfo(TradePair[cc], MODE_BID);
BasketTP+= BaseLot * (strongest / PairBid);
}//for (int cc = 0; cc < NoOfPairs; cc++)
BasketTP/= NoOfPairs;
BasketTP = NormalizeDouble(BasketTP * TpMultiplicationFactor,2);
}//End void CalculateBasketTp()
but the code is not present in 24hr 2.6?
The above code is also present in the proper version 1.2
void CalculateBasketTp()
{
//Calculates the basket take profit
GetStrongestPriceInBasket();
for (int cc = 0; cc < NoOfPairs; cc++)
{
double PairBid = MarketInfo(TradePair[cc], MODE_BID);
BasketTP+= BaseLot * (strongest / PairBid);
}//for (int cc = 0; cc < NoOfPairs; cc++)
BasketTP/= NoOfPairs;
BasketTP = NormalizeDouble(BasketTP * TpMultiplicationFactor,2);
}//End void CalculateBasketTp()
but the code is not present in 24hr 2.6?
The above code is also present in the proper version 1.2