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

RE: [amibroker] Re: plotShape?



PureBytes Links

Trading Reference Links

I offset ypixels from the high or low instead of the close.
Here's an example.
Bob
------
ypixels = Param("Offset",-12,-50,0);
ActSig = MA(C,20);
Plot(C,"c",7,styleBar);
Plot(ActSig,"ma20",5);
PlotShapes(IIf(Cross(ActSig,C),shapeHollowUpArrow,shapeNone),colorBlue,0,L,
ypixels);
PlotShapes(IIf(Cross(C,ActSig),shapeHollowDownArrow,shapeNone),colorRed,0,H
,ypixels);
-------

-----Original Message-----
From: mmqp [mailto:mmqp@xxxxxxxxx]
Sent: Wednesday, July 16, 2003 11:45 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: plotShape?


Thanks Bob, Can you clarify a bit more; I can not relate the yOffset
which is in pixel units to the "H" or "L" which is price.  TIA

--- In amibroker@xxxxxxxxxxxxxxx, "Bob Jagow" <bjagow@xxxx> wrote:
> Two things, mm.
>
> -Offset is smart; -12 will move  downarrows up and uparrows down.
> -Instead of offsetting them from Price, you might want to offset
downarrows
> from H and  uparrows from L.
>
> Bob
>
> -----Original Message-----
> From: mmqp [mailto:mmqp@x...]
> Sent: Wednesday, July 16, 2003 5:34 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] plotShape?
>
>
> I am trying to understand the "offset" parameter.  When I use
> default value (-12); the shape hugs my graph0 (price in this case).
> I want to offset the shapeuparrow and shapedownarrow however the
> offset is relative to Y-axis position 0 pixel.  How do I know which
> pixel is today price lie at so I can putin the proper offset.  TIA
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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/



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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sOykFB/k9VGAA/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/