Thread: Inzider EA
View Single Post
  #54 (permalink)  
Old 05-02-2008, 06:56 AM
FerruFx FerruFx is offline
Senior Member
 
Join Date: Feb 2007
Posts: 855
FerruFx is on a distinguished road
Quote:
Originally Posted by inzider View Post
ShowInfo - is not referenced ..... but i got the code at the end:

void ShowInfo()
{
Comment("...::: Inzider EA FULL :::...\n",
"Copyright © 2008 Inzider\n",
"Currency Pair: ", Symbol(),"\n",
"Price: ",NormalizeDouble(Bid,4),"\n",
"Date: ",Month(),"-",Day(),"-",Year()," Server Time: ",Hour(),":",Minute(),":",Seconds(),"\n",
"Minimum Lot Size: ",MarketInfo(Symbol(),MODE_MINLOT));
return(0);
}

So i don't understand why i get these error.
You have the "ShowInfo()" yes but if the rest of your code doesn't call it, it will be flag as "not referenced".

You must call it:

int start()
{
if(your condition == true) ShowInfo();
}

FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Reply With Quote