Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
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()
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.
"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
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.
"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.
excuse me, i forgot to specify where in the navigator, 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
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
i only want the high of the first 10 bars on each day and the i get the output every 5 min' ,why is that?
output of every five minutes, this leads me to believe you are looking at a five minute chart, and a new candle is formed every five minutes. that simple. as long as you make sure that the ihigh function is only looking at the last ten bars, there should be no reason to worry.
__________________
"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