PureBytes Links
Trading Reference Links
|
Hi All,
I'm trying to construct a simple indicator that will plot a shape
when a condition is true and a different shape when the condition is
false.
I've tried the following without the correct result.
IIf(Close >= Ref(Close,-1),PlotShapes(shapeUpArrow,colorGreen,Layer
=6),PlotShapes(shapeDownArrow,colorRed,Layer =6));
I get a series of red arrows that appear on the first line of the
indicator and sometimes a series of red arrows that appear on the
bottom line.
Also, when using the conditional statement, IIf,then,else; how does
one code that the else should be do nothing.
Any help would be appreciated.
Regards
Tony
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/
|