PureBytes Links
Trading Reference Links
|
Hi mates,I 've got a little question.I set my TS with siple rules.
I've got a SL - 2.15 % and TP 3%.
Condition1 = Open -0.48;
Buy = my formula;
BuyPrice = Condition1;
Buy=IIf((L < Condition1),Buy,0);
Condition2 = BuyPrice + 0.48 ;
sell = my formula;
sellprice = buyprice +0.50;
but when in the backtest I examine trades I see that in black candle
days(i.d. O 16.39 H 16.39 L 15.9 C 15.94)i'm buying at 15.91,and this
is ok,and i'm selling at 16.39 and that's not correct cause from open
the stock was going down.So I added Sell=IIf(C > O,Sell,0);but it
doesn't work.
Does anyone know how could i do?
Best regards
Nick
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|