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 [email protected] <mailto:amibroker%40yahoogroups.com>,
> "noah.bender" <knowaben...@...>
> wrote:
> >
> >
> > Does anyone know how to show the trade price and quantity on the
> > chart?? Not just the arrows??
> >
> > thanks
> > noah
> >
> > --- In [email protected]
> <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 [email protected]
> <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
> > > >
> > >
> >
>
>