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

Re: indicator on a spread



PureBytes Links

Trading Reference Links

In a message dated 5/29/00 4:47:04 AM Eastern Daylight Time, 
Shawn@xxxxxxxxxxxxxxxx writes:
<< > I have figured out a way to put an indicator on a spread and will
 > probably post something on it soon. I was wonder what indicators you are
 > interested in placing on a spread. I would like to see if they work with
 > my method before I post it.
 > wayne
 Great! Would be happy to learn how this can be done. I normally would use
 moving averages, MACD and stochastics - 14 day.
 Regards
 Shawn >>


Something like, where the *1 is for unequal spreads such as FC/LC or SM/BO:

Inputs: Wavg(9),Xavg(20),Avg(40), CD1(Close of data1*1),CD2(Close of 
Data2*1), Input1(Close of data1),Input2(Close of data2);

Plot1 (WAverage((CD1-CD2),Wavg),"WAvg");
Plot2 (XAverage((CD1-CD2),Xavg),"XAvg");
Plot3 (Averager((CD1-CD2),Avg),"Avg");
Plot4(Input1 - Input2,"SpreadDiff");
IF CheckAlert and False { This indicator currently has no alert condition } 
Then Alert = TRUE;