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

[amibroker] entry price coding assistance



PureBytes Links

Trading Reference Links

I was wondering if anybody would be so kind as to offer me assistance coding the following:
 
Once I get Buy signal, I'd like to take the trade only if the next bar High exceeds the Buy signal bar High. 
 
If the next bar Open is higher than the Buy bar High, then the entry price would be the Open. 
 
If the next bar Open is lower than the Buy bar High, then the entry price is .01 above the Buy bar High.
 
I can't imagine this is all that uncommon of an entry criteria.  Is there anybody that may have similar code that they would be willing to share?
 
Thank you in advance for any assistance.
Randy
__._,_.___

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




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

__,_._,___