| 
 PureBytes Links 
Trading Reference Links 
 | 
I am attempting to back-test situations where when the market or 
stock is trending to trade the Parabolic SAR from that side only, 
i.e. long trades only in uptrending markets.  To test I used simply 
PDI>MDI as follows:
OK=IIf(PDI(14)>MDI(14),1,0);
Buy=IIf(OK,Buy=ApplyStop(2,2,SAR(14),1),0);
Sell=ApplyStop(2,2,SAR(14),1);
I have also tried buying Cross SAR,H and selling Cross SAR instead of 
applystop. I am receiving totally erroneous results, it often seems 
to buy one day and sell the next regardless of conditions.  I know I 
am missing something perhaps very simple.  Any ideas will be greatly 
appreciated.
Thanks
Bill
------------------------ 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
--------------------------------------------------------------------~-> 
Check AmiBroker web page at:
http://www.amibroker.com/
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/
 
 |