| 
 PureBytes Links 
Trading Reference Links 
 | 
Anthony and Dingo:
Thanks but it does not work.
Here is complete code comparing two signals
PlotShapes(IIf(Cross(Acc,0),shapeSmallUpTriangle,shapeNone),2);
PlotShapes(IIf(Cross(0,Acc),shapeSmallDownTriangle,shapeNone),2);
ActSig=Foreign("TR018","C");
PlotShapes(IIf(Cross(ActSig,0),shapeHollowUpArrow,shapeNone),5);
PlotShapes(IIf(Cross(0,ActSig),shapeHollowDownArrow,shapeNone),5);
In this I can see a small arrow on top of a triangle (my objective is to
tell if signals from an external source are matching ones I generate in
AFL).
When I added a "-300" or "-any value", -- anywhere -- the symbol
disappeared.
As in 
PlotShapes(IIf(Cross(ActSig,0),shapeHollowUpArrow,shapeNone),5,-300);
PlotShapes(IIf(Cross(0,ActSig),shapeHollowDownArrow,shapeNone),5,-300);
Even with "-5", the symbol disappeared.  Remove the added parameter and
the symbol reappeared.  Also, the help file says a positive value shifts
the symbol up, but I found I got a syntax error when inputting "+300".
So other than pixel dimensional issues, what else do you think is going
wrong with my application attempt??
Thanks,
Ken
-----Original Message-----
From: Anthony Faragasso [mailto:ajf1111@xxxxxxxx] 
Sent: Thursday, April 03, 2003 11:12 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Displace in PlotShape
Ken,
 
Dingo had the right answer....
 
Try the following: Insert your own cross condition.
 
PlotShapes(IIf(Cross(y,0),shapeUpArrow,shapeNone),colorGreen,0,-300);
 
 Anthony
-------Original Message-------
 
From: amibroker@xxxxxxxxxxxxxxx
Date: Thursday, April 03, 2003 09:54:38
To: AmiBroker List
Subject: [amibroker] Displace in PlotShape
 
Hi:
 
In using the following statement to plot an arrow, I find that I can not
move its placement up and down as stated in the help syntax
 
Help file says:
SYNTAX  PlotShapes( shape, color, layer = 0, yposition = graph0, 
   offset = -12 );  
 
My command:
 
PlotShapes(IIf(Cross(Acc,0),shapeSmallUpTriangle,shapeNone),2);
 
If I put in:
 
PlotShapes(IIf(Cross(Acc,0),shapeSmallUpTriangle,shapeNone),2,-x);
  For any value of x
 
Nothing happens....the shape is plotted in the same place.
 
Any ideas or suggestions?
 
Ken
 
 
 
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. 
 
 
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/ 
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/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/ 
 |