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

Re: [amibroker] Re: strategy on chart



PureBytes Links

Trading Reference Links

I don't know the author, here is a way to add a dated order/message to a 
log file (function)

Best regards

Make sure you create a "c:\stock" folder first

function ws_writeOrder( as_order)
{

ls_date =  WriteVal( Now( 3) , 7.0, False) ;
ls_filename =  "c:\\stock\\log" + ls_date + ".csv" ;

fh =  fopen( ls_filename, "a") ;
if(  fh )
{
   fputs(  Now( 0) +", "+as_order+"\n", fh ) ;
   fclose( fh) ;
}
else
{
   printf( "Error opening file") ;
}
return fh ;
}




Mike a écrit :
>
> You can use PlotText.
>
> http://www.amibroker.com/guide/afl/afl_view.php?id=309 
> <http://www.amibroker.com/guide/afl/afl_view.php?id=309>
>
> Mike
>
> --- In amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com>, 
> "noah.bender" <knowabender@xxx>
> wrote:
> >
> >
> > Does anyone know how to show the trade price and quantity on the
> > chart?? Not just the arrows??
> >
> > thanks
> > noah
> >
> > --- In amibroker@xxxxxxxxxxxxxxx 
> <mailto:amibroker%40yahoogroups.com>, "Mike" <sfclimbers@> wrote:
> > >
> > > Write your script, run it through a backtest, then show current
> > trade
> > > arrows via the context menu:
> > >
> > > http://www.amibroker.com/guide/m_aaresult.html 
> <http://www.amibroker.com/guide/m_aaresult.html>
> > >
> > > Mike
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx 
> <mailto:amibroker%40yahoogroups.com>, Noah Bender <knowabender@>
> wrote:
> > > >
> > > > Hello all,
> > > > I am new to amibroker. Acutally still in the trial version. I am
> > > hoping
> > > > someone can help me with this newbie question. Is there a way to
> > > see a
> > > > strategy on the chart with all the buy, sell, shorts, and
> > > shortcovering???
> > > >
> > > >
> > > > thanks
> > > > noah
> > > >
> > >
> >
>
> 




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/