//+------------------------------------------------------------------+ //| +Market_Info.mq4 | //| Copyright © 2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Copyright © 2009, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" #property indicator_chart_window extern double lot=0.1; int to,tc;double mno=1;string val; //+------------------------------------------------------------------+ void deinit(){Comment(" ");return;} //+------------------------------------------------------------------+ void start(){ val=AccountCurrency(); if(Digits==3||Digits==5){mno=0.1;}else{mno=1;} for(int i=0;i<25;i++){if(Time[i]-Time[i+1]>Period()*60){to=Time[i];tc=Time[i+1];break;}} double profit; for(i=0;i