Forex



Go Back   Forex Trading > Downloads > Indicators - 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 02-05-2007, 03:31 PM
pawelsz's Avatar
Junior Member
 
Join Date: Feb 2007
Posts: 13
pawelsz is on a distinguished road
Smile Writing indicator value into external file

Hello.

I want to save current value of RSI and STOCHASTIC indicator into external file every 5 minutes. It is possible ?

I know that this should be easy for computer wizards.

I wish to have output like this:

2006-02-05 16:25 RSI: 50 Stochastic: 45, 32

etc..

Thank you for helping.
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 02-05-2007, 03:47 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 723
Kalenzo is on a distinguished road
Quote:
Originally Posted by pawelsz
Hello.

I want to save current value of RSI and STOCHASTIC indicator into external file every 5 minutes. It is possible ?

I know that this should be easy for computer wizards.

I wish to have output like this:

2006-02-05 16:25 RSI: 50 Stochastic: 45, 32

etc..

Thank you for helping.
HI !
One super easy solution for this is to write a script that will be using Print function and will be throwing those messages once per bar, and attach it to m5 chart. Then just take Log file and you have your answer

Of course the best way to get that kind of file is to use file functions implemented in metatrader.
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
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 02-05-2007, 03:55 PM
pawelsz's Avatar
Junior Member
 
Join Date: Feb 2007
Posts: 13
pawelsz is on a distinguished road
Quote:
Originally Posted by Kalenzo
HI !
One super easy solution for this is to write a script that will be using Print function and will be throwing those messages once per bar, and attach it to m5 chart. Then just take Log file and you have your answer

Of course the best way to get that kind of file is to use file functions implemented in metatrader.
I wish to have this in "script file". I only know how to make this 5 minute loop... But i dont know how to read value of Indicator and write it to the file... Im not a programmer

Can someone write that script for me?

Thank you for all 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
  #4 (permalink)  
Old 02-05-2007, 04:07 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Quote:
Originally Posted by pawelsz
I wish to have this in "script file". I only know how to make this 5 minute loop... But i dont know how to read value of Indicator and write it to the file... Im not a programmer

Can someone write that script for me?

Thank you for all help.
How do you make the 5 minutes loop??
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
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 02-05-2007, 04:54 PM
pawelsz's Avatar
Junior Member
 
Join Date: Feb 2007
Posts: 13
pawelsz is on a distinguished road
Quote:
Originally Posted by codersguru
How do you make the 5 minutes loop??
Code:
extern int timerr = 1;

while(timerr == 1)
{
Sleep(3500000);// Is that 5 minutes ? i dont know in 100%.

//script here
//...
//...

}
Lame but afik it works...

Last edited by pawelsz; 02-05-2007 at 04:58 PM.
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 02-09-2007, 04:01 AM
pawelsz's Avatar
Junior Member
 
Join Date: Feb 2007
Posts: 13
pawelsz is on a distinguished road
So, can anyone write that script for me ? Just show me how to write current value of RSI into external file.

Thank you.
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


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
How to tell if a file is Indicator or Expert? tickler General Discussion 1 07-27-2006 06:23 AM
Help with writing your own strategies hitman22 Metatrader 4 2 03-15-2006 11:22 AM
Writing stratergy tester results to file cardio Questions 20 11-30-2005 12:54 PM


All times are GMT. The time now is 11:15 PM.



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