PureBytes Links
Trading Reference Links
|
hello,
as said jayson code is OK
Buy = Cross( Close, BBandTop(Close,40,1.2) );
Sell = Cross( BBandBot(Close,40,1.2), Close );
Plot(C,"",1,64);
PlotShapes(IIf(Buy,
shapeUpArrow,shapeNone),colorGreen,0,L,-20);
PlotShapes(IIf(Sell,
shapeDownArrow,shapeNone),colorRed,0,H,-20);
>
> I am lost.... Sell arrows are above the price bar red and pointing
down.
> Where are the green Arrows? I just plotted your code and it worked
for me..I
> guess.. Are you saying that the arrows are missing or plotted in
the wrong
> place?
>
>
> Plot(C,"",4,64);
> Plot(BBandTop(Close,40,1.2),"Top",colorYellow,1);
> Plot(BBandBot(Close,40,1.2),"Bott",colorYellow,1);
>
> plot the custom indicator and see if the crosses line up with what
you are
> coding in the guru.
>
> More to the point....do you really want to buy when the price is
extended
> above the top BB?
>
>
> Regards,
> Jayson
> -----Original Message-----
> From: eagle64rock [mailto:eagle64rock@x...]
> Sent: Wednesday, March 24, 2004 9:35 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Guru Chart: Why different plots of buy/sell
arrows?
>
>
> Hello AB Dudes/Dudesses!
>
> My first go at question asking so please bear/grin/cry with me, ok?
>
> - Build 4.50.11 Feb 24, 2004
> - QP commodities data
> - Main chart is Bar with preferences set with:
> BB(40,1.2) and shortTerm simple MA(40) and EOD timescale
>
> On guru formula window if I do:
> Buy = Cross( Close, BBandTop(Close,40,1.2) );
> Sell = Cross( BBandBot(Close,40,1.2), Close );
>
> The sell/red arrows are above bar and pointing down.
>
> The buy/green arrows are:
> - very rarely under bar
> - not under/over bar, on own
> - generally bars missing 'after' these 'in space' arrows (not just
> at wkends)
> - if View->Line then both green/red are plotted under/over as
> expected
>
> Preferences are basically the install defs - still in learn curve...
>
> Any comments as to why plotted buy/sell arrow descrepencies
> appreciated!
>
> Best Regards
> Tim
> (England)
>
>
>
>
>
> 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
>
>
>
> --------------------------------------------------------------------
--------
> ----
> Yahoo! Groups Links
>
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>
> b.. To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
------------------------ 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/mOAaAA/3exGAA/qnsNAA/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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|