Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-11-2006, 06: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 11-11-2006, 07:20 PM
Senior Member
 
Join Date: Dec 2005
Location: In front of my trading desk
Posts: 348
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 11-13-2006, 03: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 11-13-2006, 04: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 12-28-2006, 08:29 PM
mart-hart's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 452
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 12-28-2006, 08:39 PM
Thruline's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 131
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 12-28-2006, 08:46 PM
Senior Member
 
Join Date: Mar 2006
Posts: 793
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 12-29-2006, 01:56 AM
Senior Member
 
Join Date: Dec 2005
Location: In front of my trading desk
Posts: 348
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 12-31-2006, 10:11 AM
mart-hart's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 452
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 12-31-2006, 11:24 AM
elihayun's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 396
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, 224 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
period converter, period converter script


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 07:42 PM
expire period ? dr_waleed Metatrader 4 4 06-13-2006 07:00 PM
2 Period ROC on Chart saslam Indicators - Metatrader 3 2 03-15-2006 10:38 PM


All times are GMT. The time now is 02:50 PM.



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