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.
Hi all. I was recently experimenting with the highest function and the icci function. what i am intending to do is to find the highest point of the cci back about 6 bars, starting one bar back. it compiles perfectly, but the problem is that when i run it through the tester i get weird numbers, which should actually be in the hundreds. check it out!
2006.12.12 19:56:58 2004.01.12 11:06 Power Bit EA v1 EURUSD,Daily: CCI2 = 1.29
just so everyone knows, CCIPERIOD is an integer i assigned to 14 in my global variables.
__________________
"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
any coders out there have an answer to this problem???
__________________
"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
Value is fine. Description of iHighest http://docs.mql4.com/series/iHighest
'iHighest' returns highest BAR and 'High' its value.
iCCI has nothing to do with iHighest
if you want highest iCCI you need a loop, looping from starting bar util the end
Value is fine. Description of iHighest http://docs.mql4.com/series/iHighest
'iHighest' returns highest bar and 'High' its value.
iCCI has nothing to do with iHighest
ok. that's been one thorn of confusion in my side, with the whole, "Returns shift". which i've kinda guessed how to figure out.
do you happen to know a way i can return the highest point of a cci?
__________________
"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 believe you have to use iCCIOnArray as iHighest works on arrays.
Thanks for the reply. I appreciate your input everyone.
so your saying something like this?
PHP Code:
High[iCCI(NULL,0,CCIPERIOD,MODE_CLOSE,5)];
and that will give me the highEST point back 5 bars
__________________
"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 want highest iCCI you need a loop, looping from starting bar util the end
Thanks for the speedy replies everyone.
so in other words, i have to create a custom array?
boy oh boy. looks like no matter how hard i try, i have to use an array at least somewhere. (a friend of mine loves arrays but they take too long for me to program sometimes)
__________________
"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
//maxVal is your highest cci value at the end of loop.
wow! let me tell you. with so many people pointing me back to a "math" function like mathmod, mathmax, i think that should be my next area of study, lol.
Thanks for your assistance, it's nice to learn new functions like this. every once in a while, several problems wash away from one answer. I LOVE IT!
__________________
"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