void comment

 
hi all,

i seen some EA that can display a whole load of text with the comment function
but when i try, the max is only up 64

how did those EA do that?
 
D
Concatenation - gets more out of the 64 parameters by joining values together like:-
  strLotMsg0 = "  Pair  ----  Range --- PipCost  ---  Manual  (Target)  Auto LotSize"; 
  strLotMsg1 = Cross1 + "   " + DoubleToStr(Cross1.ATRpips, 2) + "      " + DoubleToStr(Cross1.PipCost, 4) + "       " + DoubleToStr(LotSize.Cross1, 2);
  strLotMsg2 = Cross2 + "   " + DoubleToStr(Cross2.ATRpips, 2) + "      " + DoubleToStr(Cross2.PipCost, 4) + "       " + DoubleToStr(LotSize.Cross2, 2) + "      (" + DoubleToStr(ReccLotSizeP2, 3) + ")   "+ DoubleToStr(Real.LotSize.Cross2, 3); 
  

Good Luck
-BB-
 
Related example by 7bit: https://www.mql5.com/en/forum/125480
 
thanks all,
i resolved the problem already
 
thanks all,
i resolved the problem already
Reason: