Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - 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 02-05-2007, 02: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!
Reply With Quote
  #2 (permalink)  
Old 02-05-2007, 02:47 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 693
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!
Reply With Quote
  #3 (permalink)  
Old 02-05-2007, 02: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!
Reply With Quote
  #4 (permalink)  
Old 02-05-2007, 03:07 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
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!
Reply With Quote
  #5 (permalink)  
Old 02-05-2007, 03: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 03:58 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-09-2007, 03: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!
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 On
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 05:23 AM
Help with writing your own strategies hitman22 Metatrader 4 2 03-15-2006 10:22 AM
Writing stratergy tester results to file cardio Questions 20 11-30-2005 11:54 AM


All times are GMT. The time now is 05:24 AM.



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