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
