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 : Metastock 6.0 for Window -- Ignore unavailable to you. Want to Upgrade?


To: Chris G. who wrote (1640)2/25/1998 3:49:00 PM
From: Craig DeHaan  Read Replies (1) | Respond to of 4056
 
Chris, (dupli-post here)
On the LLV usage write something in the test like:

If(Stoch(x,x)>80, LLV(Stoch(x,x)<80,10),0)

That way if the stoch is above 80 today it must also have been below 80 at least once in that past 10 day period.

What David Smilay wrote could be set up as a binary indicator exactly as he posted it. What you'd do to incorporate it into a system test is to name that binary formula as a custom indicator ("Smilay Stoch Count", for example) whose value can range between 0 and 10. Then in a system test require the value of that indicator to be less than some value; i.e.

Fml("Smilay Stoch Count") < 10

looks for at least one day stoch value to be below 80 whether its above 80 today or not. Lowering the number would require more days that the stoch be below 80. I think you also need to incorporate a condition that it's currently above 80 today for it to be useful to you in a system test as:

If(Stoch(x,x)>80 AND Fml("Smilay Stoch Count") <= *, 1,0)

where * := max. number of days > 80 (in the past 10 days). You can adjust the variable value to whatever you think works best.

Helps or further confuses?



To: Chris G. who wrote (1640)2/25/1998 5:40:00 PM
From: Paul Beattie  Respond to of 4056
 
Hi Chris,

One last shot. If stoch can be > 80 today, but has not be >80 for past 10 days, then exclude today (and look at 10 days up to yesterday)

stoch(8,5)>20 and Ref(HHV(stoch(8,5),10)>80,-1)

The MSWIN manual is a good one. Read, investigate, look at the examples, and play. Create a custom indicator with the above formula, or another of your choice. Drag it onto your chart. It will show as 1 or 0 for each day. If signal isn't what you want, right click the indicator line, edit the formula and watch what happens with the changes you made. Play with this stuff. It will come. Good suggestions in this thread have given you several approaches to skin this cat.

Let us all know what you finally come up with.

Paul