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 04-23-2007, 03:44 AM
Member
 
Join Date: Mar 2007
Posts: 41
flourishing is on a distinguished road
how to ? same indicator different timefame, used in same time

i have a question , that ea is only used for one chart , example 5m charts or 15m charts , can't hook to two charts 5m and 15m.
here is a simple ea

Code:
//+------------------------------------------------------------------+
//|                                                          aaa.mq4 |
//|                       Copyright ?2007, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright ?2007, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
  Comment(iStochastic(NULL,15,5,3,3,MODE_SMA,0,MODE_MAIN,0) );
//----
   return(0);
  }
//+------------------------------------------------------------------+
this can display value of 15m timeframe kdj, but if you hook it to 5m charts ,always display 0, if you hook it to 5m charts ,display normal value;

and if you change it to use 5m timeframe kdj, then you hook it to 5m display normal value ,but if you hook it to 15m charts ,display 0 always.



so here is the question:

how to use those two timeframe 5m and 15m kdj value in same time ?

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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Indicator traderdavid Indicators - Metatrader 4 4 03-20-2007 09:54 AM
How to get an indicator value for another time frame ? yaniv_av Expert Advisors - Metatrader 4 2 10-31-2006 06:05 PM
Time Period Indicator AlanD Indicators - Metatrader 4 3 07-18-2006 09:59 PM


All times are GMT. The time now is 10:48 PM.



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