[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need some answers on TS2000i



PureBytes Links

Trading Reference Links

About space to the right...

I don't know if this will work (correctly), but I got
it off Omega, and it seems to be OK when I put it on
any chart.   This is going to be one of my weekend
projects, hope I'll have time to look into it...
 
{**********************************}
Input: Price(close), Length(10), BarsToRight(10);
Vars: AvgNetChange(0), Acceleration(0), counter(0);
Vars: tPlotValue(0), tAvgNtCh(0);

Plot1(Average(Price, Length), "Plot1");

AvgNetChange = Average(Plot1-Plot1[1], 10);
Acceleration = Average(AvgNetChange-AvgNetChange[1],
5);

If LastBarOnChart then Begin
	tAvgNtCh = AvgNetChange;
	tPlotValue = Plot1 + tAvgNtCh;
	for counter = -1 downto -BarsToRight Begin
		Plot1[counter](tPlotValue, "Plot1");
		tPlotValue = tPlotValue + tAvgNtCh;
		tAvgNtCh = tAvgNtCh + Acceleration;
	end;
end;





--- Jwtrader@xxxxxxx wrote:
>     Can anyone tell me if it can plot beyond the
last
> bar.  I would like to
> plot some values out beyond- "a projection of future
> prices"- not the current
> "spotlight" smear !
> How about an example or direct me where to get such
a
> add on ?
>      * Also, do you know if it could do multiple dim
> array ?
>      * When I delete some datas, are those disk
> spaces recovered - files
> shrinks ?
>      *  What are q_last , etc ?  Where could I get
> these functions ?
> 
> Thanks for your time and response.
> 
> 
> " EDUCATION, key to the TRUTH "
> 
> Regards,
>     Jim
> 
>