Alberto Tugnoli / Publications
Forum
Help fixing an old version of a code
Hey, can someone please fix this error please. After compiling i got: 'iM' - Illegal switch expression type Thanks double iM = MarketInfo ( Symbol (), MODE_PROFITCALCMODE ); switch (iM) { case 0 :sMarket = "FOREX" ; break ; case 1 :sMarket = "CFD" ; break ; case 2 :sMarket = "Futures" ; break