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

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: bdog who wrote (3036)5/12/1999 8:19:00 PM
From: Paul Beattie  Read Replies (1) of 4056
 
bdog,

I tried to generate a N/A and then insert it into an equation:
if(dayofweek()=1,ValueWhen(1,1<0,1),C)
Nothing came out in display of the indicator, for any bar.

Using 0 instead of N/A is a good strategy - but the occasional 0 shows up as a sawtooth effect if you use a "line" style to display your custom indicator. To avoid this, consider using 0, but use "dots" as display style. You can increase the weighting to make dots heavier. BTW this approach works nicely when plotting Parabolic SAR.

Regards, Paul
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext