| 
 Ray, 
  
It is not AmiBroker issue but your formula issue. You are 
using "last" price of incompleted bar 
and think that it works as close. It does not. It would work 
as close once bar is completed, 
so if you generate your signal using PREVIOUS bar close 
(ie. Ref( Close, -1 ) ) you will get consistent results. 
  
If you *really* *really* want to use incompleted bar "last" 
value that may and will change and in most cases will 
not remain the same when bar completes (so your signal may be 
invalidated), you can use static variables 
IN static variables you can store the date/time of your 
original entry as well as position size. 
 Best regards, Tomasz Janeczko amibroker.com 
  ----- Original Message -----  
  
  
  Sent: Thursday, May 04, 2006 5:26 
AM 
  Subject: [amibroker] Alert Output Arrows 
  Disappear on the chart 
  
  My Buy/Sell alerts happen in the first 15 to 45 seconds of a 
  minute,  based on momentum. They show on the Alert Output chart GREAT, BUT 
  they  dissappear from the chart if the alert condition does not HOLD for 
  the  FULL minute. This has been a problen for several people, who have 
   requested a solution. 
  Thomasz says TOO BAD as he says to go back a 
  minute in time., But this  is too late for my automatic trading software 
  which copies the  Buy/Sell to another program, then to Zeroline Trader as 
  the front end  to IB.
  Can this be solved by software that could 
  write the arrow on the chart  where it should be? I am sure Thomasz should 
  and could do it. With  this capability it would be used to check out each 
  buy/sell. Right now  it is hopless as it may involve more than 100 trades a 
  day. This is  real time backtesting using ER2.
  Does anybody have a 
  solution?
  Ray
 
 
 
  
  
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 
 
  
    
  
  
  
    SPONSORED LINKS
   
       
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
  |