PureBytes Links
Trading Reference Links
|
No, you're both wrong. The indicator causing the problem is:
Inputs: price((h+l)/2);
plot1(value1);
See the problem? Value1 isn't being set to anything, so a bunch of
zeros are being potted. Change the plot to
plot(price);
and that will fix it.
>corection, change to L + (H-L)/2
That's mathematically the same as (H+L)/2, so why would that make a
difference?
-Alex
>----- Original Message -----
>From: "BobR" <bobrabcd@xxxxxxxxxxxxx>
>To: <omega-list@xxxxxxxxxx>
>Sent: Friday, August 15, 2003 9:06 AM
>Subject: Re: indicator
>
>
>> change it to L + (H+L)/2
>>
>> ----- Original Message -----
>> From: "john Davis" <buglywugly@xxxxxxxxxxx>
>> To: <omega-list@xxxxxxxxxx>
>> Sent: Friday, August 15, 2003 8:58 AM
>> Subject: indicator
>>
>>
>> > Below is a simple indicator that is supposed to plot a median price dot
>on
>> > each bar .
>> > could someone tell me why when set to same as symbol, it compresses
>price
>> to
>> > the top
>> > of the screen, and compresses the dots to the bottom of the screen? when
>> set
>> > to screen,
>> > the dots run across the middle of the screen.
>> > inputs: Price((h+l)/2);
>> >
>> > Plot1( Value1);
>> >
|