Rupak Roy / Publications
Forum
illegal switch expression type - error
Hi, Could anybody please check the code - that return error : "illegal switch expression type" and "'0.01' - constant expression is not integral". the code was working in old version. double step = MarketInfo( Symbol (), MODE_LOTSTEP); switch (step) { case 0.01 : Lotdecimal = 2 ; break ;