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

Help with Bollanger Band on Open Equity



PureBytes Links

Trading Reference Links

To the list..
I am tryiing to get a BB on open Equity in TS2000i...Tried just putting in
I_Open Equity in the Bollanger Band Formula and that didnt work, then tried
the following code.  Please let me know where I am going wrong...
Thanks
Chris
****************************************************************************
**********************
Inputs: Length(75),StdDevUp(2), StdDevDn(-2);
Variables: BBTop(0), BBBot(0);

BBTop = BollingerBand(I_OpenEquity, Length, StdDevUp);
BBBot = BollingerBand(I_OpenEquity, Length, StdDevDn);

Plot1(I_OpenEquity, "OpenEquity");
If CurrentBar > Length then begin
Plot2(Average(Plot1, Length), "Avg");
Plot3(BBTop, "BollTop");
Plot4(BBBot, "BollBot");
end;