PureBytes Links
Trading Reference Links
|
Yuki,
You code is correct assuming that
1. You don't use time shift (File->Database Settings->Intraday Settings)
2. You mean that your ENTRY is limited to AM session
(the code cares only about Buy signal, it does not limit you from
exiting later in the PM session, you would need to write
condition for EXIT to close positions before 12 PM.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Yuki Taga" <yukitaga@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 08, 2007 5:13 AM
Subject: [amibroker] How stupid can I be???
> This program really makes me feel like an idiot sometimes. But this
> idiot mops up tens of millions of yen annually from the local equity
> market, so she can't be *that* stupid. Right?
>
> Nonetheless:
>
> I am trying to add what -- I (probably stupidly) think -- should be a
> simple qualifier to existing, known-good code.
>
> Simply, we have two sessions in Tokyo, AM & PM. Since *nothing* ever
> trades at exactly 12 PM (market is closed), I used that for the
> divider.
>
> Buy = (all my secret Rocky The Flying Squirrel stuff) AND Timenum()
> <= 120000;
>
> Backtesting with an interval setting of one minute *must* show *only*
> AM trades. Right? Wrong? Do I need neurosurgery? Do I need a whap
> on the head with a Whack-A-Mole mallet?
>
> (BTW, Whack-A-Mole is *extremely* popular in Tokyo, but we call it
> something else, of course. I'm trying to get it called
> "Whack-A-Politician" -- little Abe-san heads would pop up -- but I'm
> not having much success, despite his plummeting popularity.)
>
> Can anyone fix my personal, intra-cranial neural network? If anyone
> could help "girl genius" here, she'd be very appreciative.
>
> My best Bullwinkle The Moose voice: "This time for *sure*!"
>
> Yuki
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.30/674 - Release Date: 2/7/2007 3:33 PM
|