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

RE: [amibroker] Help needed



PureBytes Links

Trading Reference Links




<SPAN 
class=138441516-05032003>Tony,
<SPAN 
class=138441516-05032003> 
to 
plot the blank shape use "shapenone" You also need to plot the arrows around an 
indicator. here is an example....
<SPAN 
class=138441516-05032003> 
<FONT 
color=#282828> 
test=Close >= 
Ref(Close,-1)<FONT 
color=#0000ff face=Arial>;
 <FONT 
size=2>
Plot(<FONT 
color=#000000>C<FONT 
color=#282828>,""<FONT 
color=#282828>,<FONT 
color=#000000>colorGreen<FONT 
face=Arial>,<FONT 
color=#000000>styleCandle<FONT color=#282828 face=Arial 
size=2>);
PlotShapes(<FONT 
color=#0000ff>IIf(test,<FONT 
color=#000000>shapeUpArrow<FONT 
face=Arial>,<FONT 
color=#000000>shapeNone<FONT 
face=Arial>),<FONT 
color=#000000>colorGreen<FONT 
face=Arial size=2>);<FONT 
color=#0000ff>
PlotShapes(<FONT 
color=#0000ff>IIf(test==<FONT 
color=#ff00ff>0,<FONT 
color=#000000>shapeDownArrow,<FONT 
color=#000000>shapeNone<FONT 
face=Arial>),<FONT 
color=#000000>colorRed<FONT color=#282828 face=Arial 
size=2>);
 
 
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: aew_o 
[mailto:awenos@xxxxxxxxx]Sent: Wednesday, March 05, 2003 10:59 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Help 
neededHi 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.RegardsTonySend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT  









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 the Yahoo! Terms of Service.