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

RE: [amibroker] Help with Sell array values



PureBytes Links

Trading Reference Links










To Tony:

 

You might try the following:

 

PlotShapes<font
size=2 face=Arial>(<font
color=blue>IIf(<span
>Sell==1,shapeDownArrow,<span
>shapeNone),colorRed,0,High);

or

PlotShapes<font
size=2 face=Arial>(<font
color=blue>IIf(<span
>Sell==2,shapeDownArrow,<span
>shapeNone),colorRed,0,High);

etc,
changing the shape plotted for each type of Sell condition.

 

Ken

 

 

-----Original Message-----
From: Jayson
[mailto:jcasavant@xxxxxxxxxxxx] 
Sent: Monday, May 12, 2003 11:16
AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Help with
Sell array values

 



Tony,





with out code it is hard to say but if
addcolumn shows only 0 values then plotshape will not plot as it requires a
"1" value. Perhaps the problem is in your sell criteria. 





 





Regards, 





Jayson 



<span
>-----Original Message-----
From: Tony/Dianne
[mailto:awenos@xxxxxxxxx]
Sent: Monday, May 12, 2003 11:03
AM
To: Amibroker Group
Subject: [amibroker] Help with
Sell array values



Hi All,





 





I am using the ApplyStop function in my code.  It has been my
understanding that a value, from 1 to 4,





is placed in the Sell array when the ApplyStop is executed.





 





When I use the following code, it does not plot the shape.





PlotShapes<font
size=2 face=Arial>(<font
color=blue>IIf(<span
>Sell,shapeDownArrow,<span
>shapeNone),colorRed,0,High);





When I use the AddColumn function, it shows a value of
0 for the date corresponding
to a sell.





 





Any explanation will be appreciated.





 





Regards,





 





Tony





 





 





 





Send
BUG REPORTS to bugs@xxxxxxxxxxxxx<font size=2
face="Courier New">
Send 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 Yahoo!
Terms of Service. 




<font size=2
face="Courier New">Send BUG REPORTS to
bugs@xxxxxxxxxxxxx<span
>
Send 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 Yahoo!
Terms of Service. 










Yahoo! Groups Sponsor












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.