What does
Pip Cop do?


Go Back   Home > Forums > General forums > Trading Programs

» Welcome to the Pip Cop - Forex Robot Reviews and forums.
PipCop reviews MetaTrader Forex robots (EA's) in real-time and posts detailed statements every 15 minutes.
We ONLY forward test on real accounts for the most accurate robot reviews!

Be smart! Read the Review FAQ or you WILL lose money!
If you enjoy the site, please let me know by registering or donating! Thanks! -- PipCop
P.S. This message is hidden if you register!
Trading Programs Trading software and tools to help you manage robots, run reports, etc.
Reply
 
LinkBack Thread Tools Display Modes
Old 2010-09-02, 12:45 PM   #11 (permalink)
Pip Detective
 
Trader for 8 - 12 years
Location: new york
Posts: 129

Default

Hi Rick

Thanks for the quick reply. I made the changes that you mentioned in your previous post. My constants.php file now looks like:

// system version ID
define('MT4A_VERSION', '.47.01-2010.08.06');
// is this system in production (live?)
define('IN_PRODUCTION', 0);
// should the databases be read-only?
define('DATABASE_RO', 0);
// known transaction types (and their id's)
define('MT4_TRANS_TYPE_BALANCE', 1);
define('MT4_TRANS_TYPE_CREDIT', 2);
define('MT4_TRANS_TYPE_BUY', 3);
define('MT4_TRANS_TYPE_SELL', 4);
define('MT4_TRANS_TYPE_BUY_STOP', 5);
define('MT4_TRANS_TYPE_SELL_STOP', 6);
define('MT4_TRANS_TYPE_BUY_LIMIT', 7);
define('MT4_TRANS_TYPE_SELL_LIMIT', 8);
// PDO database driver in use (I am using SQLite)
define('DATABASE_DRIVER', 'sqlite');
/* path to local (not production) trade database files (for SQLite), do
not end in path separator */
define('TRADE_PATH_LOCAL', '/wamp/www/mydb');
/* path to production trade database files (for SQLite), do not end with
a path separator */
define('TRADE_PATH_PRODUCTION', '/cgi-bin/db/trade');

I checked my wampserver - it is online. However, my config page still looks like the default: I still don't see the carl-demo.db file.





carlprad is offline   Reply With Quote
   
 
Old 2010-09-02, 01:32 PM   #12 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

Quote:
Originally Posted by carlprad View Post
Hi Rick

Thanks for the quick reply. I made the changes that you mentioned in your previous post. My constants.php file now looks like:

// system version ID
define('MT4A_VERSION', '.47.01-2010.08.06');
// is this system in production (live?)
define('IN_PRODUCTION', 0);
// should the databases be read-only?
define('DATABASE_RO', 0);
// known transaction types (and their id's)
define('MT4_TRANS_TYPE_BALANCE', 1);
define('MT4_TRANS_TYPE_CREDIT', 2);
define('MT4_TRANS_TYPE_BUY', 3);
define('MT4_TRANS_TYPE_SELL', 4);
define('MT4_TRANS_TYPE_BUY_STOP', 5);
define('MT4_TRANS_TYPE_SELL_STOP', 6);
define('MT4_TRANS_TYPE_BUY_LIMIT', 7);
define('MT4_TRANS_TYPE_SELL_LIMIT', 8);
// PDO database driver in use (I am using SQLite)
define('DATABASE_DRIVER', 'sqlite');
/* path to local (not production) trade database files (for SQLite), do
not end in path separator */
define('TRADE_PATH_LOCAL', '/wamp/www/mydb');
/* path to production trade database files (for SQLite), do not end with
a path separator */
define('TRADE_PATH_PRODUCTION', '/cgi-bin/db/trade');

I checked my wampserver - it is online. However, my config page still looks like the default: I still don't see the carl-demo.db file.
The browser you are using still has the address of the Future Lab online copy of Mt4Analysis. You need to talk to your copy of MT4Analysis running on your web server. Use the URL (browser address) of:
Code:
http://localhost
The above address assumes that MT4Analysis (and the WAMPServer package) is installed on the same PC as you are typing on.

Rick
__________________
MyFXBook Live Statement Mt4Analysis
rsmereka is offline   Reply With Quote
Old 2010-09-02, 02:59 PM   #13 (permalink)
Pip Detective
 
Trader for 8 - 12 years
Location: new york
Posts: 129

Default

Hi Rick

Thank you so much and sorry for being such an ignorant pest.

I made the changes and started localhost from the wampserver. However, I now see the warning message about datetime and no databases.

So I went ahead and changed the php.ini file to say date.timezone = America/New_York but that did not fix the problem.

Any suggestions?

Thanks
Carlos
carlprad is offline   Reply With Quote
Old 2010-09-02, 04:45 PM   #14 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

Quote:
Originally Posted by carlprad View Post
Hi Rick

Thank you so much and sorry for being such an ignorant pest.

I made the changes and started localhost from the wampserver. However, I now see the warning message about datetime and no databases.

So I went ahead and changed the php.ini file to say date.timezone = America/New_York but that did not fix the problem.

Any suggestions?

Thanks
Carlos
Carlos,

After you specified the correct time zone, you need to either re-start WampServer (if you know how to do that) or reboot the pc. That should make the time zone correct. The other issue with no databases is the same one that we discussed earlier. The trade path local is still wrong. I just noticed that:
Code:
define('TRADE_PATH_LOCAL', '/wamp/www/mydb');
is wrong. I should have noticed that before. For you, it should be:
Code:
define('TRADE_PATH_LOCAL', '/wamp/www/db/mydb');
Rick
__________________
MyFXBook Live Statement Mt4Analysis
rsmereka is offline   Reply With Quote
Old 2010-09-02, 05:18 PM   #15 (permalink)
Pip Detective
 
Trader for 8 - 12 years
Location: new york
Posts: 129

Default

Quote:
Originally Posted by rsmereka View Post
Carlos,

After you specified the correct time zone, you need to either re-start WampServer (if you know how to do that) or reboot the pc. That should make the time zone correct. The other issue with no databases is the same one that we discussed earlier. The trade path local is still wrong. I just noticed that:
Code:
define('TRADE_PATH_LOCAL', '/wamp/www/mydb');
is wrong. I should have noticed that before. For you, it should be:
Code:
define('TRADE_PATH_LOCAL', '/wamp/www/db/mydb');
Rick
Thanks Rick for the correction. That was a pretty dumb mistake.

I restarted the services with the wampserver and that fixed the datetime error.

However, on re-starting the localhost i still don't see my database. I even tried using c:/wamp/www/db/mydb but it did not work!
carlprad is offline   Reply With Quote
Old 2010-09-03, 08:40 AM   #16 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

Quote:
Originally Posted by carlprad View Post
Thanks Rick for the correction. That was a pretty dumb mistake.

I restarted the services with the wampserver and that fixed the datetime error.

However, on re-starting the localhost i still don't see my database. I even tried using c:/wamp/www/db/mydb but it did not work!
Can you please post a screen shot of your browser with the MT4Analysis main menu showing please. Can you also post your copy of constants.php.

Thanks,
Rick
__________________
MyFXBook Live Statement Mt4Analysis
rsmereka is offline   Reply With Quote
Old 2010-09-03, 09:41 AM   #17 (permalink)
Pip Detective
 
Trader for 8 - 12 years
Location: new york
Posts: 129

Default Mt4 Analysis Setup

Quote:
Originally Posted by rsmereka View Post
Can you please post a screen shot of your browser with the MT4Analysis main menu showing please. Can you also post your copy of constants.php.

Thanks,
Rick
Hi Rick

Thanks for the reply. The constants file is:

// system version ID
define('MT4A_VERSION', '.47.01-2010.08.06');

// is this system in production (live?)
define('IN_PRODUCTION', 0);

// should the databases be read-only?
define('DATABASE_RO', 0);

// known transaction types (and their id's)
define('MT4_TRANS_TYPE_BALANCE', 1);
define('MT4_TRANS_TYPE_CREDIT', 2);
define('MT4_TRANS_TYPE_BUY', 3);
define('MT4_TRANS_TYPE_SELL', 4);
define('MT4_TRANS_TYPE_BUY_STOP', 5);
define('MT4_TRANS_TYPE_SELL_STOP', 6);
define('MT4_TRANS_TYPE_BUY_LIMIT', 7);
define('MT4_TRANS_TYPE_SELL_LIMIT', 8);

// PDO database driver in use (I am using SQLite)
define('DATABASE_DRIVER', 'sqlite');

/* path to local (not production) trade database files (for SQLite), do
not end in path separator */
define('TRADE_PATH_LOCAL', '/wamp/www/db/mydb');

/* path to production trade database files (for SQLite), do not end with
a path separator */
define('TRADE_PATH_PRODUCTION', '/cgi-bin/db/trade');
?>

The main menu screen, directory structure and config pages are:

Thanks
Carlos





carlprad is offline   Reply With Quote
Old 2010-09-03, 10:09 AM   #18 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default

Quote:
Originally Posted by carlprad View Post
Hi Rick

Thanks for the reply. The constants file is:

// system version ID
define('MT4A_VERSION', '.47.01-2010.08.06');

// is this system in production (live?)
define('IN_PRODUCTION', 0);

// should the databases be read-only?
define('DATABASE_RO', 0);

// known transaction types (and their id's)
define('MT4_TRANS_TYPE_BALANCE', 1);
define('MT4_TRANS_TYPE_CREDIT', 2);
define('MT4_TRANS_TYPE_BUY', 3);
define('MT4_TRANS_TYPE_SELL', 4);
define('MT4_TRANS_TYPE_BUY_STOP', 5);
define('MT4_TRANS_TYPE_SELL_STOP', 6);
define('MT4_TRANS_TYPE_BUY_LIMIT', 7);
define('MT4_TRANS_TYPE_SELL_LIMIT', 8);

// PDO database driver in use (I am using SQLite)
define('DATABASE_DRIVER', 'sqlite');

/* path to local (not production) trade database files (for SQLite), do
not end in path separator */
define('TRADE_PATH_LOCAL', '/wamp/www/db/mydb');

/* path to production trade database files (for SQLite), do not end with
a path separator */
define('TRADE_PATH_PRODUCTION', '/cgi-bin/db/trade');
?>

The main menu screen, directory structure and config pages are:

Thanks
Carlos
Carlos,

See the PM I just sent you.

Rick
__________________
MyFXBook Live Statement Mt4Analysis
rsmereka is offline   Reply With Quote
Old 2010-09-03, 03:12 PM   #19 (permalink)
Pip Detective
 
Trader for 8 - 12 years
Location: new york
Posts: 129

Default

Quote:
Originally Posted by rsmereka View Post
Carlos,

See the PM I just sent you.

Rick
Hi Rick

I just sent you a PM.

Thanks
Carlos
carlprad is offline   Reply With Quote
Old 2010-10-01, 01:26 PM   #20 (permalink)
Site Supporter
 
rsmereka's Avatar
 
Trader for 8 - 12 years
Location: Southwestern Ontario, Canada
Posts: 1,777
My Trading Journal


Trading Live with:
Forex Hacked(Copier)
Default New Opening Screen

The opening MT4Analysis screen has changed. Instead of the main menu appearing, I have the new database statistics screen as the default opening screen.

I am not finished with this new database statistics screen but I wanted you to see it in the meantime.

The database statistics screen loads with saved defaults of the live database in this month of trading.

I will also be posting a new MT4Analysis install package on my Future Lab download site.

Enjoy,
Rick
__________________
MyFXBook Live Statement Mt4Analysis
rsmereka is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT -5. The time now is 05:37 AM.

Powered by vBulletin ®
Site content and design Copyright © 2010 PipCop, LLC.
Site designed, hosted, and maintained by One Web Ave
Template by vBSkinworks.
Content Relevant URLs by vBSEO 3.3.2