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

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



PureBytes Links

Trading Reference Links

Yes. It works. Thanks.

 

Clement

 

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Steve Dugas
Sent: Thursday, May 24, 2007 3:03 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Can't set Buy Price?

 

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

From: Clement Chin

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

 



__________ NOD32 2277 (20070518) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

__._,_.___

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

__,_._,___

JPEG image

JPEG image