PureBytes Links
Trading Reference Links
|
<SPAN
class=237424605-27102002>Ron,
when
you say "the scale is way off" are you trying to plot this indicator on a price
chart as an overlay? If so you can plot the indicator in an empty window
then drag it into your price window. When prompted choose "no scale". this will
produce the hist lines while preserving your price scale
<SPAN
class=237424605-27102002>
If
what you want is more of a stairstep type indicator you could try something
like
<SPAN
class=237424605-27102002>
<FONT
color=#282828>
x=If(<SPAN
class=237424605-27102002>condition),<SPAN
class=237424605-27102002>value,<FONT
color=#ff00ff>0<FONT face=Arial
size=2>);
y=If(x><FONT
color=#ff00ff>0,x,<FONT
color=#0000ff>ValueWhen(<SPAN
class=237424605-27102002>condition<FONT
color=#282828>),<SPAN
class=237424605-27102002>value<FONT
face=Arial>,1<FONT
color=#282828>);<FONT
face=Arial>
<FONT color=#0000ff
face=Arial size=2>y;
<FONT color=#0000ff
face=Arial size=2>
<FONT color=#0000ff
face=Arial size=2>the syntax may be off as I
checked it on amibroker instead of MS but you get the idea.
<FONT color=#0000ff
face=Arial size=2>
<FONT color=#0000ff
face=Arial size=2>I see no way to duplicate the
scatter plot found in excel as IIF requires 2 values and "" is a null string not
a value
<FONT color=#0000ff
face=Arial size=2>
<FONT color=#0000ff
face=Arial size=2><SPAN
class=237424605-27102002> Jayson -Thanks.
That gets me part way
there.Plotme:=if(MyIndicatorTest,1,0);PlotMe;Does get me
points where they should
be.Plotme:=if(MyIndicatorTest,IndicatorValue,0);PlotMe;Gives
me the values, but by using 0, the scale is way off.Replacing 0 by
IndicatorValue - SomeConstant helps to identify the desired points and
maintain a reasonable scale.I would like the equivalent of
Excel's:If(TruthTest,SomeValue,"")So I could get values as a scatter
plot.TIARonJayson wrote:> ron,>
make it a binary (true/false) then plot as histogram....>
>> Jayson>> -----Original Message-----> From:
Ron [mailto:ronber@xxxxxxxxxxxxx]> Sent: Saturday, October 26, 2002 10:47
PM> To: Metastockusers@xxxxxxxxxxxxxxx> Subject: [Metastockusers]
Plotting an indicator as discrete points>> Hi all
->> I have an indicator that should return discrete points.
However, when I> plot it, the plot stays on the last value until it
changes. How can I> get the plot to be just each point with nothing in
between?>> TIA> Ron>>>> To
unsubscribe from this group, send an email to:>
Metastockusers-unsubscribe@xxxxxxxxxxx>>>> Your use
of Yahoo! Groups is subject to the Yahoo! Terms of Service > <<A
href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/>.>>
Yahoo! Groups Sponsor> ADVERTISEMENT> <<A
href="http://rd.yahoo.com/M=219695.2310151.3725769.1980433/D=egroupweb/S=1705001779:HM/A=1226184/R=0/*http://ad.doubleclick.net/jump/N879.ameritrade.yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1035688418?">http://rd.yahoo.com/M=219695.2310151.3725769.1980433/D=egroupweb/S=1705001779:HM/A=1226184/R=0/*http://ad.doubleclick.net/jump/N879.ameritrade.yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1035688418?>
>>>> To unsubscribe from this group, send an email
to:>
Metastockusers-unsubscribe@xxxxxxxxxxx>>>> Your use
of Yahoo! Groups is subject to the Yahoo! Terms of Service > <<A
href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/>.To
unsubscribe from this group, send an email
to:Metastockusers-unsubscribe@xxxxxxxxxxxYour use
of Yahoo! Groups is subject to the <A
href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
<font face=arial
size=-2>ADVERTISEMENT<img src="http://ad.doubleclick.net/ad/N879.ameritrade.yahoo/B1054521.11;sz=300x250;adc=ZHS;ord=1035699615?" alt="" width="300" height="250"
border="0">
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|