//+------------------------------------------------------------------+ //| PipDollarValue.mq4 | //| Copyright © 2009, Investatech Inc. | //| http://www.investatech.com | //+------------------------------------------------------------------+ #property copyright "Copyright © 2009, Investatech Inc." #property link "http://www.investatech.com" //---- input parameters extern int Pips=1; extern double Lots=1; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //---- double pipvalue=Lots*Pips*MarketInfo(Symbol(),MODE_TICKVALUE); Comment(Pips, " pips = ",pipvalue, " ",AccountCurrency(), " if you trade ",Lots," lots".); //---- return(0); } //+------------------------------------------------------------------+ //| expert deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { //---- double pipvalue=Pips*MarketInfo(Symbol(),MODE_TICKVALUE); Comment(Pips, " pips = ",pipvalue, " ",AccountCurrency(), " if you trade ",Lots," lots".); //---- return(0); } //+------------------------------------------------------------------+