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

Re: [amibroker] Can't set Buy Price?



PureBytes Links

Trading Reference Links

Hi - I believe AB checks the price range and will adjust your buy/sell prices if you try to buy/sell higher than the actual high or lower than the actual low. You can turn this range checking off by adding this to your code.
 
SetOption( "PriceBoundChecking", False )
 
Steve
----- Original Message -----
Sent: Wednesday, May 23, 2007 2:30 PM
Subject: [amibroker] Can't set Buy Price?

 

Hi,

 

I would like to set the buy price to current bar?s High plus an offset. I write the following codes:

 

BuyPrice          =          H+10;

SellPrice          =          C-10;

 

Buy                  =          Cond01 AND Cond02 AND Cond03;

//         Selling only by stop.

Sell                  =          0;

 

 

Unfortunately, the entry price is shown as High with no offset. The Sell Price is shown correctly. What can I do?

 

TIA.

 

Clement

 

__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

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

__,_._,___