Time: 2016-02-24 | Download file:Сетка_BUY_И_SELL_STOPS.mq4
//+------------------------------------------------------------------+ //| Grid.mq4 | //| Yuriy Tokman | //| yuriytokman@gmail.com | //+------------------------------------------------------------------+ #property copyright "Yuriy Tokman" #property link "yuriytokman@gmail.com" #property show_inputs extern double volume = 0.01; extern int price = 50; extern int slippage = 30; extern int stoploss = 5000; extern int takeprofit = 5000; extern int steps = 70; extern int count_orders = 10; //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start() { //---- double buy_price = Ask+price*Point; double sell_price = Bid-price*Point; int ticket; for(int i = 0;i