Chuck - I don't know what's happening on your end , but I just clipped lines of AFL as contained in your message, inserted them in the formula editor, and chose apply indicator and stepped through several tickers. Here's a PNG of INTC - Intel. The other consideration is the color of your screen background.
Hopes this helps. JOE ----- Original Message ----- From: "Charles J. Dudek" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, July 23, 2006 10:57 AM Subject: Re: Fw: [amibroker] Need Help > Joe, thanks for your help, but I'm still getting no arrows displaying > on the chart even though there are numerous buy/sell signals. I even > copied your code verbatim into its own pane and all I got was the > basic price line. > > Tomasz, is it possible that there is something corrupted in my > software that would indicate the need to re-install it? > > Chuck Dudek > > --- In [email protected], "Joe Landry" <[EMAIL PROTECTED]> wrote: >> >> >> ----- Original Message ----- >> From: "Joe Landry" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Saturday, July 22, 2006 5:41 AM >> Subject: Re: [amibroker] Need Help >> >> >> > Hi Charles - You have to remove the extra buy/sell signals by > using the >> > function >> > called EXREM .... see how this works. I added the two exrem and > one >> > plot statements. >> > >> > JOE >> > Buy=C>MA(C,10); >> > >> > Sell=C<MA(C,10); >> > >> > Short=Sell; >> > >> > Cover=Buy; >> > >> > Buy = ExRem(Buy,Sell); >> > >> > Sell = ExRem(Sell,Buy); >> > >> > shape = Buy * shapeUpArrow + Sell * shapeDownArrow; >> > >> > PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, > Low, >> > High ) ); >> > >> > Plot(C,"Close",colorBlack,styleLine|styleThick); >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > ----- Original Message ----- >> > From: "Charles J. Dudek" <[EMAIL PROTECTED]> >> > To: <[email protected]> >> > Sent: Friday, July 21, 2006 6:44 PM >> > Subject: [amibroker] Need Help >> > >> > >> >> I'm trying to get a report that will show me the average daily change >> >> in price broken into positive and negative changes. This runs, but >> >> I'm getting funny numbers that don't make sense. If I set the >> >> backtesting settings to "daily," will that produce results based on >> >> hourly data or will this analyze the base (minute) data? Is there an >> >> easier way to do this? TIA >> >> >> >> Chuck Dudek >> >> >> >> Filter=Close>0; >> >> NumColumns = 0; >> >> PosChange=NegChange=PosN=NegN=0; >> >> for( i = 1; i < BarCount; i++ ) >> >> { >> >> Change[i]=C[i]-C[i-1]; >> >> if ( Change[i]>0) >> >> { >> >> PosChange=PosChange+Change[i]; >> >> PosN=PosN+1; >> >> } >> >> if ( Change[i]<0) >> >> { >> >> NegChange=NegChange+Change[i]; >> >> NegN=NegN+1; >> >> } >> >> } >> >> AddColumn(PosChange/PosN,"APC"); >> >> AddColumn(NegChange/NegN,"ANC"); >> >> >> >> >> >> Also I can't figure out how to add buy/sell signals to my charts. I >> >> tried this code (right out of the manual) and it works as far as >> >> backtesting, but will not show the arrows. What am I doing wrong? >> >> >> >> Buy=C>MA(C,10); >> >> Sell=C<MA(C,10); >> >> Short=Sell; >> >> Cover=Buy; >> >> shape = Buy * shapeUpArrow + Sell * shapeDownArrow; >> >> PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, > Low, >> >> High ) ); >> >> >> >> >> >> >> >> >> >> >> >> >> >> 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 --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/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/
Sample_Buy_ Sell Arrows.png
Description: PNG image
