Does anyone see anything obviously wrong?
Code: Select all
Bimap(StringConcatenate(TradePair[i],"scor1"), CORNER_RIGHT_UPPER, (adW-204), (adH- 0)+((i+0)*42), 83, 39, colourFon, ModColor(colourFon), totalAPLUS>MathAbs(totalMINUS)?clrLime:255, false,
ALIGN_CENTER, " ", 24, "Harabara", totalAPLUS>MathAbs(totalMINUS) ? DoubleToStr(totalAPLUS/(MathAbs(totalMINUS)!=0?MathAbs(totalMINUS):1),1) /* +" : 1 " */
: DoubleToStr(MathAbs(totalMINUS)/(totalAPLUS!=0?totalAPLUS:1),1) /* +" : 1" */, "RATIO");
These are the code lines that are problematic:
Code: Select all
totalAPLUS>MathAbs(totalMINUS)?clrLime:255, false,
ALIGN_CENTER, " ", 24, "Harabara", totalAPLUS>MathAbs(totalMINUS) ? DoubleToStr(totalAPLUS/(MathAbs(totalMINUS)!=0?MathAbs(totalMINUS):1),1) /* +" : 1 " */
: DoubleToStr(MathAbs(totalMINUS)/(totalAPLUS!=0?totalAPLUS:1),1)
Does ? substitute as "if" and ":" is then?