| 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 |
|
|||
|
get high price in specific times
hello
I want to get the highest and lowest price in the first 10 candels in the 30 min chart(00:00 - 4:30). can someone please post a code? i messed up with Highest() and Lowest() Thanks in advance ![]() |
|
||||
|
if you have other related questions after this, the best place to make sure you get an answer is in the navigator search of metaeditor, but here's the answer to your current question.
the funticons that allows you to find the high or low are the "iHigh" or "iLow". here's how to set them up. PHP Code:
"NULL" and the "0", just mean current pair/timeframe, if you insist on making it the 30 minute timeframe, change "0" to 20 the "1" makes it start it's info at the first completed bar back, i ALWAYS have this as at least 1 because the current high changes too frequently, it messes up your data.
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk ![]() ![]() REMEMBER, "Genius is nothing but a greater aptitude for patience." –Benjamin Franklin ![]() ![]() ____________________________________ Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!! http://sufx.core.t3-ism.net/ExpertAdvisorBuilder |
|
||||
|
Quote:
, when you open the window, normally there's an example at the bottom, that's what i usually look at, not the format on the top![]() .
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk ![]() ![]() REMEMBER, "Genius is nothing but a greater aptitude for patience." –Benjamin Franklin ![]() ![]() ____________________________________ Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!! http://sufx.core.t3-ism.net/ExpertAdvisorBuilder |
|
|||
|
Hello again
i have this code : PHP Code:
Code:
2006.10.12 17:52:46 2006.10.06 19:59 2pip EURUSD,M30: 1.2713 2006.10.12 17:52:46 2006.10.06 19:55 2pip EURUSD,M30: 1.2713 2006.10.12 17:52:46 2006.10.06 19:52 2pip EURUSD,M30: 1.2713 2006.10.12 17:52:46 2006.10.06 19:47 2pip EURUSD,M30: 1.2713 2006.10.12 17:52:46 2006.10.06 19:44 2pip EURUSD,M30: 1.2713 2006.10.12 17:52:46 2006.10.06 19:40 2pip EURUSD,M30: 1.2713 |
|
||||
|
from the looks of things, you have your code set to look back "30" bars, try changing that to "10"
,(second to last number)
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk ![]() ![]() REMEMBER, "Genius is nothing but a greater aptitude for patience." –Benjamin Franklin ![]() ![]() ____________________________________ Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!! http://sufx.core.t3-ism.net/ExpertAdvisorBuilder |
|
||||
|
Quote:
![]()
__________________
"One's ability to accomplish his or her goals is limited only by the ingenuity of how one uses what he or she already knows."- Eaglehawk ![]() ![]() REMEMBER, "Genius is nothing but a greater aptitude for patience." –Benjamin Franklin ![]() ![]() ____________________________________ Have a simple ea you just can't figure out how to code??? Odds are you can make it here. Just remember to push complete when you're done, NOT SAVE!!! http://sufx.core.t3-ism.net/ExpertAdvisorBuilder |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help: How to write simple EA to buy and sell at a specific time? | jack2 | Expert Advisors - Metatrader 4 | 59 | 09-22-2008 04:17 AM |
| Martingale and other high risk high reward systems | TraderGeek | General Discussion | 15 | 05-03-2007 06:59 AM |
| Detecting price trend independent of a specific time frame | gee | Metatrader 4 | 4 | 02-24-2007 05:53 PM |
| Script that waits for a specific price? | nog | General Discussion | 2 | 04-12-2006 01:37 AM |