#property copyright "OrderBalanceControl - by transcendreamer" // Indicator counts open positions and orders for currently selected instrument /////////////////////////////////////////////////////////////////////////// #property indicator_chart_window #property indicator_buffers 0 #property indicator_color1 Red extern int lot_multiplier=100; /////////////////////////////////////////////////////////////////////////// int init() { } /////////////////////////////////////////////////////////////////////////// int start() { double buy=0; double sell=0; double buystop=0; double sellstop=0; double buylimit=0; double selllimit=0; int total=OrdersTotal(); for(int i=0;i