PureBytes Links
Trading Reference Links
|
Michael,
Yes! This is how I implemented the useage. With graphic bars,
it makes the close more noticeable to the eye, with graphic
candlesticks, it often dissappears.
There are manual changes needed however:
1. The line style has to be changed to being a dotted line.
2. The line weight has to changed to being thicker than the
default.
3. The line color has to be changed to match the color of the
price bar.
To test how this works, try the following indicator that puts
a dot above an Inside Day Bar:
If((Inside()=1),H*1.015,C)
Hope this helps ............ John
----- Original Message -----
From: "michael" <mslist@xxxxxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Monday, January 29, 2001 8:51 AM
Subject: RE: use IF statement, return nul value
> If your formula permits, you can use the closing price as the null value.
> This doesn't throw off the scaling like a zero value does.
>
> example: if( expr, true, close);
>
> Hope this helps.
> Michael
>
> -----Original Message-----
> From: owner-metastock@xxxxxxxxxxxxx
> [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of neo
> Sent: Friday, January 26, 2001 3:20 PM
> To: metastock@xxxxxxxxxxxxx
> Subject: RE: use IF statement, return nul value
>
>
> Bob
>
> I tried everything on this a little while ago and called MS support. It is
> not possible. What I has to do what make up a null indicator that is 0. I
> then plot this as the last indicator with a gray line and this covers up
the
> 0 points.
>
> neo
>
>
> -----Original Message-----
> From: owner-metastock@xxxxxxxxxxxxx
> [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Bob Webb
> Sent: Thursday, January 25, 2001 9:29 AM
> To: metastock@xxxxxxxxxxxxx
> Subject: use IF statement, return nul value
>
>
> I want to use an IF Statement in an indicator.
>
> But I want the "else" part of the statement to return nothing... a nul
> value, and not a 0 (zero) nor anything else.
>
> Reason: What I want to plot is a point over the bar when a condition is
> met, and to plot nothing when the condition is not met. If you put a 0
> (zero) as the "else" part of the statement, then the indicator plots a
zero
> at the bottom of the graph; I don't want this.
>
> Can you help?
>
> Bob.
>
>
> ==============+==============
> Robert L. Webb
> Webb.Bob@xxxxxxxx
> ===============+=============
>
>
>
|