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: Ron Russell who wrote (2395)10/30/1998 9:10:00 AM
From: Vic  Read Replies (1) | Respond to of 4056
 
My metastock 6.5 will not accept this formula as it is written,can someone figure out whats wrong with it?
1998 September TASC Trader's Tip - Simple Moving Average with Resistance and
Support



In this issue, Dennis L.Tilley uses support and resistance to confirm price and SMA crossover signals in his article "Simple Moving Average
with Resistance and Support".

In MetaStock for Windows, you can easily recreate the SMARS Indicators discussed in Tilley's article. First, choose Indicator Builder from the
Tools menu in MetaStock 6.5. Next, choose New and enter the following formulas:

Resistance and Support

LookBack := Input("Look Back Periods",1,1000,10);

Resistance :=ValueWhen (1,Cross(Mov(C, LookBack, S),C),HHV(H, LookBack));

Support :=ValueWhen (1,Cross(C,Mov(C, LookBack, S)),LLV(L, LookBack));

Resistance;

Support;

Resistance and Support * F

PrCnt:=Input("Percentage",0,100,10);

LookBack:= Input("Look Back Periods",1,1000,10);

Resistance:=ValueWhen(1,Cross(Mov(C,LookBack,S),C),HHV(H,LookBack));

Support:=ValueWhen(1,Cross(C,Mov(C,LookBack,S)),LLV(L,LookBack));

Resistance * ((100-prcnt)/100);

Support * ((prcnt/100)+1);

Note* It is much easier to see the difference between the actual "Resistance and Support" lines and the "Resistance and Support * F " lines if
you change the color and/or style of one of them. *

To Display the Indicators in MetaStock 6.5 Drag the "Moving Average" indicator from the Indicator QuickList into the price window. Choose
Simple as the method, enter the time periods and then click OK.

Now, drag the "Resistance and Support" indicator from the QuickList into the price window. You will be prompted to enter the "Look Back"
periods. You should select the same time periods you used with the "Moving Average".

Finally, drag the "Resistance and Support * F" indicator into the price window. You will be prompted to enter the "Percentage" and the "Look
Back" periods. If you would like the indicator to be a 10% difference from the "Resistance and Support" line, you would enter 10. You should
select the same time periods you used with the "Moving Average".

Allan McNichol

Equis International



To: Ron Russell who wrote (2395)10/31/1998 8:33:00 AM
From: Ron Russell  Respond to of 4056
 
In fairness to MS Support, they did respond with the same answer. It just took them an extra day to do so.