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

[amibroker] profit target question



PureBytes Links

Trading Reference Links

I use this code for profit target:

ApplyStop( 1, 1, Optimize( "Profit Target", 1, 1, 15, 0.5 ), True, 
False ); 

The problem is that when the price reaches the profit target level 
it exits the trade, but I would also want to enter a opposite trade 
at the same time, so if I were long ,I want to go short. Can I 
modify this line in some way to make this work? Thanks


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/