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

[amibroker] Re: profit target help?



PureBytes Links

Trading Reference Links

thx for your help - i was aiming for a profit target(as an experiment 
torwards more complex things) of 10% for the entire trade - i set my 
delays to 1 as per thomaz - i can see where your coming from as the 
formula says iif close > but i thought that would mean current close 
and therefore would continue if close is not greater than 10 and so 
only when a bar closed above 10% of initial buyprice or the macd 
fliped would it exit and then it would exit at 10% above buyprice or 
macd flip = whatever came first - any ideas

--- In amibroker@xxxxxxxxxxxxxxx, "Chuck Rademacher" 
<chuck_rademacher@x> wrote:
> If you are testing for a 10% profit today and exiting tomorrow, the 
profit
> (or loss) could be anything.   You are simply experiencing timing 
issues.
> It all depends on what settings you have to trade prices and trade 
delays
> and what kind of stops you are using.
>   -----Original Message-----
>   From: emptyhead_77 [mailto:gms_clan@x...]
>   Sent: Sunday, November 23, 2003 3:13 PM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] profit target help?
> 
> 
>   im trying to do a simple profit target = sell if trade reaches 10%
>   else sell on a macd flip
>   Sell = IIf(Close > BuyPrice*1.1,BuyPrice*1.1,Cross(Signal
>   (10,24,8),MACD(10,24)));
>   this produces results that are higher than 10% at times and when i
>   set the settings for stop target i also get higher results and the
>   chart looks weird
>   also system apears on chart to stop out at weird times - less than
>   10% even though should go to at least 10% at times
> 
> 
>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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 the Yahoo! Terms of 
Service.


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