Thanks for the clarification.
Ok i think i get this part from the last post-
"and will I need to add the PRICE_CLOSE and MODE_MAIN and MODE_SIGNAL and their values to this part of the code?"
CLOSE, MAIN and SIGNAL are the values so it doesn't refer to "// Indicator setting" for these values.?
So would it look something like this? --
if CurrMain0 = iMACD(NULL,0,Pfast,Pslow,Psignal,PRICE_CLOSE,MODE_ MAIN,0); > PrevMain1 = iMACD(NULL,0,Pfast,Pslow,Psignal,PRICE_CLOSE,MODE_ MAIN,1);
Or do both line's have to be there and if so how do I tell it to detect the fast, slow crosses and disregard signal crosses? Maybe if I keep staring I'll eventually figure it out.
You are on the right track and getting closer...
Your example for comparing CurrentMain0 with PrevMain1 is now correct...but you have an extra character that needs to be removed.
;is an "end of line" character (used only at the end of lines)
Just remove the "end of line" character between them and it should work perfectly...
And congratulations - You've invented a new coding technique - staring...lol!
Hope this helps,
Thanks so much again for your assistance Robert. You truly are a "Cosmic Life Form" !! That did the trick, although a1ra came in and fixed the original EA, which works great now by the way. Thank you a1ra for rockin it out !!!
As soon as I get a minute I'm going to start working on changing the current MACD to the IBFX traditional MACD that I normally would use. Not that it needs it, but I do prefer it and it will give me some more practice and help me perfect my "staring" technique. LOL
For anyone interested there is a link to the EA in a1ra's post above or go to post 10 of this thread. I haven't figured out how to post links yet . All credit for the EA goes to a1ra. Thanks so much to you and Robert. You 2 ROCK !!!