OK, Thanks Graham, well at least I can do it the other way.
Regards,
Stef
--- In [email protected], Graham <[EMAIL PROTECTED]> wrote:
>
> If you ahve turned on show arrows in parameters for a chart running 
a
> scan will produce the trade arrows in the chart, or you can right
> click on the results list and select show arrows on any chart.
> These are not permanent arrows only appearing until you refresh, and
> they will only be visible on the actual buy/sell trade bars as 
defined
> in your system. You cannot then move these as they are only 
reflecting
> your trade system and not definable shpaes ike placing plotshapes 
into
> the system chart AFL, and it was the moving of the arrows to another
> bar that you wanted, so as far as I know this cannot be done
> 
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> 
> 
> 
> On 4/5/06, Fred <[EMAIL PROTECTED]> wrote:
> > As already stated by several people, Scan produces output in the 
AA
> > Results window ... If you are wanting from that to be able to 
click
> > on a line in the Results Window and have it show a chart with the
> > averages and or arrows then this is possible.  The coding for the
> > indicators would need to be defined as part of the chart or a 
layout
> > or template with the appropriate panes would need to be loaded.
> >
> > --- In [email protected], "thorstef2003" <thorstef2003@>
> > wrote:
> > >
> > > Fred, my original question was on how to do it from an AA scan. 
It
> > is
> > > possible.
> > > Thanks for your help.
> > >
> > > --- In [email protected], "Fred" <ftonetti@> wrote:
> > > >
> > > > Scan ? ... No, not likely you'll be getting anything other 
than
> > an
> > > > AA results window using Scan.
> > > >
> > > > --- In [email protected], "thorstef2003" 
<thorstef2003@>
> > > > wrote:
> > > > >
> > > > > Could you use your code in AA, and let me know what happens
> > when
> > > > you
> > > > > click the "Scan" button? Thats what I do
> > > > > These 3 MAs don't get plotted either
> > > > > Plot(EMA(C, 10), "EMA10", colorBlue);
> > > > > Plot(EMA(C, 20), "EMA20", colorYellow);
> > > > > Plot(EMA(C, 50), "EMA50", colorWhite);
> > > > > Regards,
> > > > > Stef
> > > > >
> > > > > --- In [email protected], "Fred" <ftonetti@> wrote:
> > > > > >
> > > > > > Works fine for me ...
> > > > > >
> > > > > > Are you plotting the indicator(s) as opposed to just 
hitting
> > the
> > > > > > backtest button ?
> > > > > >
> > > > > > --- In [email protected], "thorstef2003"
> > <thorstef2003@>
> > > > > > wrote:
> > > > > > >
> > > > > > > Hi Fred,
> > > > > > > It's on End of day data.
> > > > > > > Maybe I can put it this way
> > > > > > > If Buy condition is true, then plot arrow 2 days to the
> > left,
> > > > ie
> > > > > > > behind.
> > > > > > > The EMA cross was just a condition to see if the arrows
> > > > plotted.
> > > > > > Just
> > > > > > > tried your code, but no arrows.
> > > > > > >
> > > > > > > Buy =  EMA(C, 10) > EMA(C, 20) AND
> > > > > > >         EMA(C, 20) > EMA(C, 50);
> > > > > > > PlotShapes(shapeUpArrow * Ref(Buy, 2), colorBlack , C);
> > > > > > >
> > > > > > > Thanks for your help.
> > > > > > > Stef
> > > > > > >
> > > > > > > --- In [email protected], "Fred" <ftonetti@> 
wrote:
> > > > > > > >
> > > > > > > > I don't know what security or periodicity you are
> > looking at
> > > > but
> > > > > > the
> > > > > > > > code will of course only work for those bars where the
> > two
> > > > > > crosses
> > > > > > > > take place on the same bar ...
> > > > > > > >
> > > > > > > > Try what is below ... You did say you wanted to see 
the
> > > > arrows 2
> > > > > > > > bars BEFORE the occurence, right ? ... If that is
> > correct
> > > > then
> > > > > > keep
> > > > > > > > in mind that of course when using real time data the
> > next
> > > > arrow
> > > > > > will
> > > > > > > > show up on the bar which is two bars before the
> > condition
> > > > but
> > > > > not
> > > > > > > > until the condition occurs.
> > > > > > > >
> > > > > > > > Buy =  EMA(C, 10) > EMA(C, 20) AND
> > > > > > > >        EMA(C, 20) > EMA(C, 50);
> > > > > > > >
> > > > > > > > Sell = EMA(C, 20) > EMA(C, 10) AND
> > > > > > > >        EMA(C, 50) > EMA(C, 20);
> > > > > > > >
> > > > > > > > Buy  = ExRem(Buy, Sell);
> > > > > > > > Sell = ExRem(Sell, Buy);
> > > > > > > >
> > > > > > > > //Plot(C, "C", colorWhite);
> > > > > > > >
> > > > > > > > Plot(EMA(C, 10), "EMA10", colorBlue);
> > > > > > > > Plot(EMA(C, 20), "EMA20", colorYellow);
> > > > > > > > Plot(EMA(C, 50), "EMA50", colorWhite);
> > > > > > > >
> > > > > > > > PlotShapes(shapeUpArrow * Ref(Buy, 2),
> > colorBrightGreen , C
> > > );
> > > > > > > > PlotShapes(shapeDownArrow * Ref(Sell, 2), colorRed , 
C);
> > > > > > > >
> > > > > > > > --- In [email protected], "thorstef2003"
> > > > <thorstef2003@>
> > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > Graham, the code doesn't work. Please copy and paste
> > this
> > > > in
> > > > > > your
> > > > > > > > AA
> > > > > > > > > window
> > > > > > > > >
> > > > > > > > > Buy=Cross (EMA(Close, 10 ),EMA(Close, 20)) AND
> > > > > > > > > Cross (EMA(Close, 20 ),EMA(Close, 50));
> > > > > > > > > PlotShapes(shapeDownArrow*Ref(Buy,-2),colorRed,0,L,-
> > 10);
> > > > > > > > >
> > > > > > > > > No  arrow or error message either.
> > > > > > > > > Thanks.
> > > > > > > > > Stef
> > > > > > > > >
> > > > > > > > > --- In [email protected], Graham
> > <kavemanperth@>
> > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > If you have your system included in a plot then 
you
> > can
> > > > just
> > > > > > use
> > > > > > > > > > plotshpaes for the trade signal arrows and 
reference
> > the
> > > > > > signals
> > > > > > > > > with
> > > > > > > > > > ref
> > > > > > > > > > To shift the arrows 2 bars to the right use this
> > > > > > > > > > plotshapes(shapeuparrow*ref(buy,-2),colorgreen,0,
l,-
> > 10);
> > > > > > > > > >
> > > > > > > > > > you can also use param with the number of bars so
> > you
> > > > can
> > > > > > shift
> > > > > > > > them
> > > > > > > > > > back and forward
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Cheers
> > > > > > > > > > Graham
> > > > > > > > > > AB-Write >< Professional AFL Writing Service
> > > > > > > > > > Yes, I write AFL code to your requirements
> > > > > > > > > > http://e-wire.net.au/~eb_kavan/ab_write.htm
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On 4/2/06, thorstef2003 <thorstef2003@> wrote:
> > > > > > > > > > > Graham, how do I offset the arrows? Please 
include
> > the
> > > > > line
> > > > > > of
> > > > > > > > > code to
> > > > > > > > > > > do this.
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Stef
> > > > > > > > > > > --- In [email protected], Graham
> > > > <kavemanperth@>
> > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > inlcude the scan code into the chart and 
offset
> > the
> > > > > arrows
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Cheers
> > > > > > > > > > > > Graham
> > > > > > > > > > > > AB-Write >< Professional AFL Writing Service
> > > > > > > > > > > > Yes, I write AFL code to your requirements
> > > > > > > > > > > > http://e-wire.net.au/~eb_kavan/ab_write.htm
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On 4/1/06, thorstef2003 <thorstef2003@> wrote:
> > > > > > > > > > > > > Hi,
> > > > > > > > > > > > > Is it possible to use "plot" in AA to 
displace
> > the
> > > > > > arrows
> > > > > > > > > > > generated by
> > > > > > > > > > > > > a scan? Or is there some other way.
> > > > > > > > > > > > > I want to displace the arrow, to 2 bars
> > earlier.
> > > > > > > > > > > > > Thanks.
> > > > > > > > > > > > > Stef
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Please note that this group is for 
discussion
> > > > between
> > > > > > > > users
> > > > > > > > > only.
> > > > > > > > > > > > >
> > > > > > > > > > > > > To get support from AmiBroker please send an 
e-
> > > > mail
> > > > > > > > directly
> > > > > > > > > to
> > > > > > > > > > > > > SUPPORT {at} amibroker.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > For other support material please check 
also:
> > > > > > > > > > > > > http://www.amibroker.com/support.html
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Yahoo! Groups Links
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Please note that this group is for discussion
> > between
> > > > > users
> > > > > > > > only.
> > > > > > > > > > >
> > > > > > > > > > > To get support from AmiBroker please send an e-
> > mail
> > > > > > directly
> > > > > > > to
> > > > > > > > > > > SUPPORT {at} amibroker.com
> > > > > > > > > > >
> > > > > > > > > > > For other support material please check also:
> > > > > > > > > > > http://www.amibroker.com/support.html
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Yahoo! Groups Links
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to