SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Technical Analysis - Beginners -- Ignore unavailable to you. Want to Upgrade?


To: bdog who wrote (9299)2/14/1999 1:55:00 PM
From: big run  Read Replies (1) | Respond to of 12039
 
bdog.....you make it so damned complicated! I thought the Magic Code was simply

if close(0) > close (-5) then
buy at close(-5)
endif;



To: bdog who wrote (9299)2/14/1999 10:48:00 PM
From: Michael Watkins  Read Replies (1) | Respond to of 12039
 
bdog,

I *love* it! I ran this against every stock in the universe (and some outside this particular dimension) and found that I realised 101.32 percent profit with only .00243% maximum adverse excursion and with only a 2.423% transvecular sectum vector.

However, I think you could improve it by adding the following, just in front of all your code:

:loop
if Long (buy low, sell high);
if Short (sell high, buy low);
goto loop