Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-11-2006, 05:11 PM
Member
 
Join Date: Sep 2006
Posts: 68
ra300z is on a distinguished road
Period Converter script

Is anyone else having problems with the period_converter script? I run it, but it runs infintely and consumes 100% CPU.

I've been stopping it after 30 minutes and running the next interval I want to convert. All the data looks populated. But when I run my tester with Every tick and Recalculate, I don't get 90%. About 87-89%. Though my concern is more about why period_converter never ends.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-11-2006, 06:20 PM
Senior Member
 
Join Date: Dec 2005
Location: In front of my trading desk
Posts: 344
Devil2000 is on a distinguished road
Quote:
Originally Posted by ra300z
Is anyone else having problems with the period_converter script? I run it, but it runs infintely and consumes 100% CPU.

I've been stopping it after 30 minutes and running the next interval I want to convert. All the data looks populated. But when I run my tester with Every tick and Recalculate, I don't get 90%. About 87-89%. Though my concern is more about why period_converter never ends.
Hi ra300z, try this one http://codebase.mql4.com/277
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-13-2006, 02:55 AM
Member
 
Join Date: Sep 2006
Posts: 68
ra300z is on a distinguished road
Ok, I didn't run the previous link.

But here's a good way to ensure the period_converter script is done. Open up your history folder within the Metatrader programs folder. In there, sort the list (using detailed view) by date changed with the most recent at the top. Now run your period_converter script. Switch over to your Explorer view of the history folder. You should see a new file created with the pair and period. Keep pressing F5 until the file size of the file stops increasing. All done! Now run the next period and so forth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-13-2006, 03:29 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Updating to build 199 (see announcements thread) gives a history autodownload feature and automatic period conversion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-28-2006, 07:29 PM
mart-hart's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 413
mart-hart is on a distinguished road
I am on build 200 and the period converter still eats CPU.

With only 2 charts open ( I want 10 mins) the CPU is at about 90%

With only Met 4 open

Is there a way to fix it ?


Mart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-28-2006, 07:39 PM
Thruline's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 123
Thruline is on a distinguished road
Does MT4 have any plans to permit user defined time periods or tick charts? Anyone heard anything about this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-28-2006, 07:46 PM
Senior Member
 
Join Date: Mar 2006
Posts: 787
Maji is on a distinguished road
There is a modified version of the time convertor on the mql4 website. Do a search there and you can find it out. This version is more resource friendly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-29-2006, 12:56 AM
Senior Member
 
Join Date: Dec 2005
Location: In front of my trading desk
Posts: 344
Devil2000 is on a distinguished road
Quote:
Originally Posted by mart-hart
I am on build 200 and the period converter still eats CPU.

With only 2 charts open ( I want 10 mins) the CPU is at about 90%

With only Met 4 open

Is there a way to fix it ?


Mart
Hi mart-hart, have you try my link above? it's period_converter_opt. Use it as an indicator. Hope this help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-31-2006, 09:11 AM
mart-hart's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 413
mart-hart is on a distinguished road
Thanks peeps that works great.

10 min charts are looking good for 50/14/woodies CCI.


Mart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12-31-2006, 10:24 AM
elihayun's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 350
elihayun is on a distinguished road
I modified the original script to convert 1min data into all of the regular timeframe. When it finished, it remove itself from the chart, so it wont run forever. Hope this help
Attached Files
File Type: mq4 period_converter All.mq4 (6.5 KB, 135 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the Period Converter Script cardio Setup Questions 17 09-14-2008 06:42 PM
expire period ? dr_waleed Metatrader 4 4 06-13-2006 06:00 PM
2 Period ROC on Chart saslam Indicators - Metatrader 3 2 03-15-2006 09:38 PM


All times are GMT. The time now is 07:53 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.