| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
I had the same problem with some indicator's that wouldn't let me read data with iCustom.
There's a way to access all data from anywhere, that is if you are able to locate the variable(s) in the indicator that provide the data. I've been using this method for several months now, and I never missed any data with it. It sounds like a cludge and of course it is, but at least for testing purposes it works. By then you could decide if it's worth while to code a more robust solution. Simply write te value of the indicator to a file. Then read it with the other indicator or expert. There's an example of this in the standard samples. Name the file with a combination of the indicators name with the timeframe and the symbol to keep them apart. Maybe this helps (a bit). |
|
||||
|
thanks... that should come in handy for something in the future, I'm sure.
I think I found the answer to my Q. just now. http://www.metaquotes.net/forum/1290/ I tried this earlier but my mind was tied up in a knot and I realize now the mistake I made. I was using Open[shift] instead of Time[shift] for the open time parameter in iBarShift. My brain was kind of on autopilot and in a nosedive :-) So I'll read the article, try it again and hopefully should work. Last edited by ycomp; 02-17-2006 at 07:23 AM. Reason: sp |
|
||||
|
Take a look at the code in the Price Channel Stop indicator that Igorad made. It should help you with what you are trying to accomplish.
http://www.forex-tsd.com/suggestions...p_v1-help.html |
|
|||
|
Quote:
extern int period = PERIOD_H1; |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Alternative Time Frame in MT4 -Please ! | highway3000 | Indicators - Metatrader 4 | 3 | 09-05-2007 07:03 AM |
| Best Time Frame | zamans98 | Brain Systems | 3 | 12-15-2006 06:05 PM |
| How to get an indicator value for another time frame ? | yaniv_av | Expert Advisors - Metatrader 4 | 2 | 10-31-2006 06:05 PM |
| Multiple Time frame Indicator | rbowles | Metatrader 4 | 9 | 06-22-2006 03:09 AM |
| 2 EA in Same Pair at different time frame?? Could it possible? | surya4trade | General Discussion | 5 | 06-15-2006 10:26 AM |