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

[amibroker] Re: RT Market Direction Exploration Help



PureBytes Links

Trading Reference Links

Thanks Graham.
I guess I had a EOD database showing when I checked the periodicity a 
few minutes ago.
Now it works
Thanks for your patience
Rick
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> If you have the intraday database try exploring with AA hourly
> setting. This applies to all AA runs, including explore, scan,
> backtest, optimise
> 
> On 8/3/05, ricko8294_98 <ricko@xxxx> wrote:
> > Yes, of course I've done that.
> > The code plots the results, but the Exploration yields only zeros.
> > Rick
> > --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> 
wrote:
> > > to get intraday results you need a database setup for intraday 
data.
> > >
> > > On 8/3/05, ricko8294_98 <ricko@xxxx> wrote:
> > > > Actually it is set at Daily.  The choices are Daily, Weekly,
> > Monthly,
> > > > ahd I understand the Periodicity only applies to 
Backtesting.  I
> > am
> > > > trying to do an exploration - or have I missed something
> > > > Rick
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx>
> > wrote:
> > > > > what setting do you have in AA window settings for 
Periodicity
> > > > >
> > > > > On 8/2/05, ricko8294_98 <ricko@xxxx> wrote:
> > > > > > Hello
> > > > > > I have a RT Market Direction Indicator which plots in a 
real
> > time
> > > > > > window, but won't give me intra day results when I explore
> > using
> > > > AA.
> > > > > >
> > > > > > Here is my code:
> > > > > > *******************
> > > > > >
> > > > > > _SECTION_BEGIN("Market Direction Indicator");
> > > > > > EnableTextOutput(False);
> > > > > >
> > > > > > nuday = Day() != Ref(Day(),-1);
> > > > > >
> > > > > > nuopen = ValueWhen(nuday ,O);
> > > > > > nuclose = ValueWhen(nuday ,C);
> > > > > > DDF = (nuopen + nuclose)/2;
> > > > > > NoUpDays = Sum(Avg >= DDF, BarsSince(nuday));
> > > > > > NoDownDays = Sum(Avg < DDF, BarsSince(nuday))*-1;
> > > > > > netdays = NoUpDays + NoDownDays;
> > > > > > netcolor = IIf(netdays >= 0,colorWhite,colorYellow);
> > > > > >
> > > > > > Plot(netdays,"net",netcolor,1|styleThick);
> > > > > > Plot(NoDownDays,"Dn",colorRed,styleHistogram
> > > > > > |styleThick|styleNoLabel);
> > > > > > Plot
> > > > > >
> > > >
> > 
(NoUpDays,"Up",colorLightBlue,styleHistogram|styleThick|styleNoLabel);
> > > > > >
> > > > > > Title = "Market Direction Indicator  \\c05Up " + WriteVal
> > > > > > (NoUpDays,2.0) +
> > > > > >  " \\c04Dn "+WriteVal(NoDownDays,2.0) + " \\c42Net "+ 
WriteVal
> > > > > > (NoUpDays + NoDownDays,2.0);
> > > > > > Filter = 1;
> > > > > > AddColumn(netdays,"net MI",2.0);
> > > > > > _SECTION_END();
> > > > > >
> > > > > > *****************
> > > > > > Yet when I run an Exploration in AA, all of my stocks 
show up
> > in
> > > > the
> > > > > > list but all I get is zeros regardless of what I set
> > the "Range"
> > > > > > to.
> > > > > >
> > > > > > Is there a problem with the code for AA?
> > > > > > Is there some set-up I haven't done?
> > > > > > Rick
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > 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
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > 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
> > 
> > 
> > 
> > 
> > 
> > 
> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> -- 
> 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




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hr509um/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123042151/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

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/