PureBytes Links
Trading Reference Links
|
Thanks Patrick,
I got it, you answered my question, you are right, it's just 'a
range' problem.
Thanks a lot!
Gary
--- In amibroker@xxxxxxxxxxxxxxx, "NW Trader" <47nwtrader@xxxx> wrote:
> Hi Gary,
>
> Sorry, didn't go back to your original post -- I see you did post
the code and I suspect it is a Range setting issue as I only get one
symbol for each instance of the filter being satisfied if run as an
explore. If run as a scan, different criteria are specified for the
buy or sell so I get different results, but again only one instance
of a symbol. This is when Range is selected for n last days n=1.
>
> Hope this helps, sorry I didn't read your original post again
before replying the second time. Too busy trading.
>
> Peace and Justice --- Patrick
> ----- Original Message -----
> From: Gary
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Tuesday, June 14, 2005 9:52 AM
> Subject: [amibroker] Re: AFL
>
>
> Thanks for the reply Patrick,
>
> But I still want to use the 'Explore' button to find stocks that
meet
> my 'buy/sell' criteria. I wanted to see all the stocks that meet
the
> criteria listed only once in the results pane.
>
> Thanks,
>
> Gary
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "NW Trader" <47nwtrader@xxxx>
wrote:
> > Hi Gary,
> >
> > If you just want to see the arrows on a chart, try inserting
the
> following in your chart code after the Buy-Sell conditions are
> defined. It will print arrows (green or red) on your price chart
> without need to run an explore. If you have multiple conditions
that
> can trigger a buy (or sell), you could assign a name for each and
> substitute that name for Buy and give the arrow a different color
> (e.g., if one buy is triggered by a MA cross over { x= cross(c,ma
> (c,5) } and another buy is triggered by a close higher than that
of 3
> prior periods { Y = c > ref(c,-3) }, each could generate their
own
> arrows or you could accumulate them for a single arrow).
> > PlotShapes( IIf( Buy, shapeDownArrow , shapeNone ),
colorGreen );
> >
> > PlotShapes( IIf( Sell, shapeDownArrow , shapeNone ),
colorRed );
> >
> > Hope this helps.
> >
> > Peace and Justice --- Patrick
> > ----- Original Message -----
> > From: ghost200_2000
> > To: amibroker@xxxxxxxxxxxxxxx
> > Sent: Tuesday, June 14, 2005 5:59 AM
> > Subject: [amibroker] AFL
> >
> >
> > I need someone to help me with this simple AFL formula.
> >
> > As buy and sell signals are triggerred by the Buy and Sell
> formulas,
> > when I clicked the 'Explore' button in the 'Automatic
Analysis'
> > window, I will get so many lines for each symbol.
> > If I only want to have the summary list, which is only 1
symbol
> per-
> > line in the results pane, how do I do this?
> > (I just want to see all the trades/arrow in the chart, not in
the
> > results pane).
> >
> > Thanks,
> >
> > Gary
> >
> >
> > Here is the AFL:
> > ----------------
> > Filter = C >= 15 AND MA(V, 20) >= 250000;
> >
> > Buy=Cross( MACD(), Signal() );
> > Sell=Cross( Signal(), MACD() );
> >
> > AddColumn(C, "Close");
> >
> >
> >
> >
> > 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
> >
> > 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.
>
>
>
>
> 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
>
> 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 --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|