Appendix | A
USEFUL FORMULAS FOR TRADESTATION

How to add two moving averages with Stochastics.
[LegacyColorValue = true];

Input: Length(17),PERIOD(13),PERIOD2(33);
plot1(FastK(Length),“FastK”);
plot2(FastD(Length),“FastD”);
plot3(Average(FastD(Length),PERIOD),“Plot3”);
plot4(Average(FastD(Length),PERIOD2),“Plot4”);

How to plot Connie Brown’s Derivative Oscillator. (An early formula described in the first edition. The chapter was removed because it has been replaced by the Composite Index. An alternate is to plot the derivative oscillator as a histogram in the same window as the Composite Index.

[LegacyColorValue = true];

Input: LENGTH(14),PERIOD(9),PERIOD2(33);

Plot1((XAverage(XAverage((RSI(Close,14)),5),3))-(Average (XAverage(XAverage((RSI(Close,14)),5),3),9)),“Plot”);

How to plot Connie Brown’s Composite Index in TradeStation.
Create two functions.
The function RSIMO9 is written:
RSIMO9 = MOMENTUM(RSI(Close,14),9)

The second function is written:
RSI3 = AVERAGE(RSI(CLOSE,3),3)

The formula is then written:
Plot1(RSIMO(+RSI3,“Plot1”):
Plot2(average((plot1),13),“Plot2”);
Plot3(average((plot1),33),“Plot3”);

Please contact TradeStation if you do not know how to enter these lines as a custom study.

How to plot Connie Brown’s Composite Index in MetaStock.

A:=RSI(14)-Ref(RSI(14),-9) + Mov(RSI(3),3,S);
Plot1:=Mov(A,13,S);
Plot2:=Mov(A,33,S);
A;Plot1;Plot2;

Please contact MetaStock if you do not know how to enter these lines as a custom study.

How to plot RSI with two Moving Averages in TradeStation.
All the examples in this book show you the Composite Index is positioned under the price data and the RSI with moving averages is positioned under the Composite Index.

[LegacyColorValue = true];
Input: LENGTH(14),PERIOD(13),PERIOD2(33);
Plot1(RSI(Close,LENGTH),“Plot1”);
Plot2(Average((RSI(Close,LENGTH)),PERIOD),“Plot2”);
Plot3(XAverage((RSI(Close,LENGTH)),PERIOD2),“Plot3”);

Manning Stoller’s STARC Volatility Bands for TradeStation.

[LegacyColorValue = true];

input:av(6), atrlen(15), factor1 (2), factor2 (3);
var:atr (0), mav (0), top1 (0), top2 (0), bot1 (0), bot2 (0);

atr=average(truerange,atrlen);
mav=average (c, av);
top1=mav+(factor1*atr);
top2=mav+(factor2*atr);
bot1=mav-(factor1*atr);
bot2=mav-(factor2*atr);

if top2>0 then plot1 (top2, “StollerHi”);
if top1>0 then plot2 (top1, “StollerHi2”);
if bot1>0 then plot3 (bot1, “StollerLo”);
if bot2>0 then plot4 (bot2, “StollerLo2”);

How to modify Manning Stoller Bands to Plot on RSI in TradeStation:

[LegacyColorValue = true];

Input: Coefdwn(2.1),Coefup(2.3);

Plot1((Average((RSI(Close,14)),6))+(Coefup*(Average(TrueRange Custom((RSI(Close,14)),(RSI(Close,14)),(RSI(Close,14))),15))), “Plot1”);
Plot2((Average((RSI(Close,14)),6))-(Coefdwn*(Average(TrueRange Custom((RSI(Close,14)),(RSI(Close,14)),(RSI(Close,14))),15))), “Plot2”);

Plot3((RSI(Close,14)),“Plot3”);

IF CheckAlert Then Begin

IF Plot1 Crosses Above Plot2 or Plot1 Crosses Below Plot2
or Plot1 Crosses Above Plot3 or Plot1 Crosses Below Plot3
or Plot2 Crosses Above Plot3 or Plot2 Crosses Below Plot3 Then Alert = TRUE;

End;

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.205.136