double price = iMA(Symbol(),0,1,0,MODE_EMA,PRICE_CLOSE,0); if (price=>1.0000 && price< 1.0050) { sell order here }