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

RE: [amibroker] HOW DO I DO IMMEDIATE PROFIT STOP



PureBytes Links

Trading Reference Links

You could try this simplified approach. Obe thing to be cautious is if you
get subsequent buy signals before a sell signal it will reset the buyprice
to that new buy signal. Use Exrem to remove the excess signals. Another is
your sell settings, make sure you have set zero trade delays and the exit
immediately at sell price ticked

ProfitTarget = buyPrice*(100+x)/100; //Sell when Close crosses x% above buy
price.
Sell = YourSellCondition OR Cross(C,ProfitTarget);

Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: emptyhead_77 [mailto:gms_clan@xxxxxxxxxxx] 
Sent: Friday, 5 December 2003 1:38 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] HOW DO I DO IMMEDIATE PROFIT STOP


i asked before and someone told me why program wasnt working but not 
how to make it work:
the problem is simple: 
stop once the stock has gone x% above buyprice else exit on sell 
stratedgy
ive tried setting the profit target in the settings window but it 
still goes past target sometimes
so how is it done - it would be good to be optimizeable
any help?


------------------------ 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/mOAaAA/3exGAA/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/ 


------------------------ 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/mOAaAA/3exGAA/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/