| 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 |
|
|||
|
How to get High[1] on 2 diff charts at the same time
Hello all,
I need to know how is it possible to get for example the highest price on the current closed candle of let say the 1 min and 5 min chart at the sametime. I知 using Interbank Fx and I the way I知 running my program is by attaching it to the either 1 min or 5 min chart. Is this the correct way? So I have High[1], it will give me the high of the chart I知 running the program against. Is there anyway I can get both High[1] of 1 min and 5 min chart? Thanks Kam |
|
||||
|
Quote:
This is iHigh explanation: iHigh: Syntax: PHP Code:
Description: The iHigh function returns the High price for the given bar (the shift parameter is the bar number) of the given symbol and timeframe. The function returns 0 if the history data not loaded. Note: If you want to get the High price (of a bar) of the current chart (symbol and timeframe) use High[int shift] function. Parameters: string symbol: The symbol (currency pair) of the chart you want to get its bars number. Use NULL if you want to use current symbol. int timeframe: The timeframe (in integers, ex: 1,5,30,60 etc) of the chart you want to get its bars number. Use 0 if you want to use current timeframe. int shift: The index of the bar you want to get its High price. Example: PHP Code:
|
|
||||
|
Quote:
Thanks Babar |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Batch Change - Time Frame Of Charts | hagadol | Metatrader 4 | 1 | 08-10-2007 10:45 AM |
| Martingale and other high risk high reward systems | TraderGeek | General Discussion | 15 | 05-03-2007 05:59 AM |
| High-High/Low-Low indicator | trevman | Indicators - Metatrader 4 | 5 | 01-07-2007 04:39 AM |
| How to find the time of the High and Low ??????? | multa | Setup Questions | 3 | 04-07-2006 11:18 PM |