// // Disp_Balance.mq4 #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Blue // double balance[]; // int init() { IndicatorShortName("myBalance"); SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,balance); SetIndexLabel(0,"Balance"); } // int deinit() { return(0); } //----------------------------------------- int start() { //---- balance[0]=GlobalVariableGet("myBalance"); //---- return(0); } //-----------------------------------------