[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: EMA/breakout signals composite indicator



PureBytes Links

Trading Reference Links

Thanks, it's fixed now.
I'll post the code soon.

jose '-)

--- In amibroker@xxxxxxxxxxxxxxx, "Wayne" <wfs@xxxx> wrote:
> Jose,
> Are you still using these lines of code? 
> ----------
> IIf(display=2,
> Plot(0,"",colorBlue,styleLine),
> Plot(Close,"",1,128));
> 
> IIf(display=2,
> Plot(signals,"EMA signals",colorRed,styleLine),
> Plot(EMA1,"EMA",colorRed,styleLine));
> ----------
> 
> I believe, from the HELP files for the IIF() function, you need to 
have IIF() return its value to some variable.  The following is from 
the HELP file for IIF:
> 
> "The following example shows one common error made with IIF 
function: IIF( condition, result = 7, result = 9 ); // THIS IS WRONG 
> 
> Correct usage is: result = IIF( condition, 7, 9 ); /* 7 or 9 is 
*returned* and assigned to a variable depending on condition */ "



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/