PureBytes Links
Trading Reference Links
|
Graham and Chrisopher, thanks!
Now I know using flag control.
For my original issue, I have tried several way including
using Explore and Scan on different testing formula. It all failed.
I think the amibroker can not support using intraday data no
matter what kind of formula.
I am using Metastock plugin to access intraday data.
Eventhough I set it using 1 miniute interval in the plugin setting, it
always return me the last trade day on each day when I run the test.
I even tried using SetTimeFrame() function.
Maybe I need Real time version?
do you guy ever try it successfully? is it working in intraday
timeframe for you?
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> from the help screen for alertif
>
> 5. Flags control behaviour of AlertIF function. This field is a
> combination (sum) of the following values:
> ( 1 - display text in the output window, 2 - make a beep (via computer
> speaker), 4 - don't display repeated alerts having the same type, 8 -
> don't display repeated alerts having the same date/time) By default
> all these options are turned ON.
>
> The only way to test a signal is to break it down to each bit and run
> an exploration or chart (with plotshapes for signals) to see what is
> working and what is not.
>
> On Wed, 19 Jan 2005 23:32:04 -0000, jnz88 <jnz88@xxxx> wrote:
> >
> >
> > I am not able to find out how to turn on multiple alerts out.
> >
> > and I am still not able to make my short test script work
> > Looks like it is a bug of AB?
> > Anyone has the luck of success on that? I feel frustrated on it.
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
> > > generally you only need a single alertif output as it stays in the
> > alert window
> > > Check that you have not turned off multiple alerts output
> > >
> > >
> > > On Tue, 18 Jan 2005 20:26:14 -0000, jnz88 <jnz88@xxxx> wrote:
> > > >
> > > >
> > > > Graham,
> > > > You gave a very good suggestion. I did not think about
function cross
> > > > ().
> > > >
> > > > However, it is still not working. I have checked to make sure the
> > > > intraday data around that time period are there.
> > > >
> > > > And another issue I have is that I can only scan it once. If I
try it
> > > > again, there is no output to the Alert Output window.
> > > > I have to restart the whole amibroker.
> > > >
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx>
wrote:
> > > > > If you do not have data at exactly the time you specify then
chances
> > > > > are you will get no data. It is better to use cross for this
I have
> > > > > found
> > > > >
> > > > > CurValue = ValueWhen( DateNum()==1050114 AND Cross(TimeNum
> > > > (),142959,C,1);
> > > > >
> > > > > hope this helps
> > > > >
> > > > > On Tue, 18 Jan 2005 03:37:58 -0000, jnz88 <jnz88@xxxx> wrote:
> > > > > >
> > > > > >
> > > > > > I wrote the following simple script in AA to test the scan
> > > > feature on
> > > > > > 1 minute intraday data: ( I already download the intraday
data )
> > > > > >
> > > > > > ---------------------------------------------------
> > > > > > buy=0;
> > > > > > CurValue = ValueWhen( DateNum()==1050114 AND TimeNum()
> > > > ==143000,C,1);
> > > > > > AlertIf(1, "", NumToStr(CurValue));
> > > > > > ----------------------------------------------------
> > > > > >
> > > > > > It does not work!
> > > > > > it only return valid CurValue when TimeNum()==160000 which
is the
> > > > end
> > > > > > of day. It DO NOT work if it is other time like 143000
> > > > > >
> > > > > > Why? thanks?
> > > > > >
> > > > > >
> > > > > > Check AmiBroker web page at:
> > > > > > http://www.amibroker.com/
> > > > > >
> > > > > > Check group FAQ at:
> > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > > > > Yahoo! Groups Links
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Cheers
> > > > > Graham
> > > > > http://e-wire.net.au/~eb_kavan/
> > > >
> > > >
> > > >
> > > > Check AmiBroker web page at:
> > > > http://www.amibroker.com/
> > > >
> > > > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Cheers
> > > Graham
> > > http://e-wire.net.au/~eb_kavan/
> >
> > ------------------------ Yahoo! Groups Sponsor
--------------------~-->
> > Has someone you know been affected by illness or disease?
> > Network for Good is THE place to support health awareness efforts!
> > http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
> >
--------------------------------------------------------------------~->
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>
> --
> Cheers
> Graham
> http://e-wire.net.au/~eb_kavan/
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|