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

Re: [amibroker] HoldMinBars



PureBytes Links

Trading Reference Links

Hello,
 
If you get exits at the same bar as entry it means that somewhere
you must have enabled "allow same bar exit".
 
Please go to AA settings and make sure that "Allow same bar exit (single bar trade)" is OFF.
Also make sure that you don't use
SetOption("AllowSameBarExit", True );
anywhere in your formula.
 
Once this option is off, you won't be getting single bar trades and there will be no
need to even use HoldMinBars.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
To: AB-Main
Sent: Wednesday, October 15, 2008 8:20 PM
Subject: [amibroker] HoldMinBars

I tried to use

SetOption("HoldMinBars", 1 ); 

to prevent exit on same bar as the buy signal, but and getting a message

"You can not use HoldMinBars together with Allow Same Bar exit"

Problem is, I am not using "Allow Same Bar exit".

Would there be something else that has the same effect?

 

Ara

__._,_.___

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

*********************
TO GET TECHNICAL 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

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___