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

[amibroker] how to make applystop works in Realtime trade?



PureBytes Links

Trading Reference Links

Hi All,

I would like to make the stop works for me realtime trade (not just in back test)
I have a function which take the Buy, Sell, Cover, Short as parameters and determine how to place the ibc.placeorder function.

if I apply trailing stop before proceeding to my logic for doing realtime trade,
ApplyStop(stopTypeTrailing, 2, 10, 2, True );

for 10% trailing profit stopping.

are those buy/sell array parameters actually changed by the applystop function so that I don't have to rest of the code?  It does not seems this way for now.  Thanks.

Rgds,
Jacky
__._,_.___

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

__,_._,___