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

[amibroker] Scale in and exit signal at the same bar


  • Date: Mon, 22 Feb 2010 09:56:29 -0000
  • From: "Pmxgs" <pmxgs@xxxxxxxxxx>
  • Subject: [amibroker] Scale in and exit signal at the same bar

PureBytes Links

Trading Reference Links

Hello,

 in the system I'm coding I have several scale in signals and it's working the way I expect, except at some bars which have both a scale in signal and the sell signal (profit target).
I ran the backtest in the detailed log mode and from my understanding AB first closes the position (based on the sell signal) and then opens a new one (based on that scale in signal), which is not what I want. 
I want to scale in first and after that close the position.

Anyone knows how to change the default behaviour of AB, so that it scales in first and only then, exit the position in these cases where we have both signals on the same bar ?

 thanks
  



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/