Forum

OrderSend not sending order

Hello, I am trying to send an order with this function: OrderSend (currencies[i], OP_BUY, 0.1 , MarketInfo(currencies[i],MODE_ASK), 10 , MarketInfo(currencies[i],MODE_ASK)- 0.0005 , MarketInfo(currencies[i],MODE_ASK)+ 0.001 , "Sell" , Peru); For this one I am trying to set a stop loss of 5 pips and

Ordersend error 130

Hello, I've been trying to get my ordersend function to work but I keep getting error 130. The function is as follows: currentOrder = OrderSend (currencies[i], OP_SELL, 0.1 , Bid, 3 , Bid+(MarketInfo(currencies[i], MODE_STOPLEVEL) + MarketInfo(currencies[i], MODE_SPREAD))* 0.0001

Making an EA that can view portions of charts as we can see them

Hey guys, I want to make an EA that can view area on charts and recognize different color changes within my indicators, without using code from my indicators. Is this possible