AIQ is a part of Track Data Corporation (NASD symbol TRAC) www.trackdata.com


Simple Moving Averages



EDS


 

 

Back to Basic Indicator Strategies

 


 

Close is less than the LT MA and IT MA

! Close is less than the LT MA and IT MA

CloselessLTITMA if [close] < [LT MA] and [close] < [IT MA] and [close] > 10.

!!!Example stock AAPL on 08/07/2001

Return to Top of Page

Modified Moving Average

!Modified Moving Average

!MA2 Define N2 2.
MA2 is SimpleAvg([close],N2). S2 is (((N2 - 1)/2) * [close]) + (((N2 - 3)/2) * Val([close],1)).
ModMA2 is MA2 + ((6*S2)/((N2 + 1) * N2)).

!MA3 Define N3 3.
MA3 is SimpleAvg([close],N3).
S3 is (((N3 - 1)/2) * [close]) + (((N3 - 3)/2) * Val([close],1)) + (((N3 - 5)/2) * Val([close],2)).
ModMA3 is MA3 + ((6*S3)/((N3 + 1) * N3)).

!MA4 Define N4 4. MA4 is SimpleAvg([close],N4).
S4 is (((N4 - 1)/2) * [close]) + (((N4 - 3)/2) * Val([close],1)) + (((N4 - 5)/2) * Val([close],2)) + (((N4 - 7)/2) * Val([close],3)).
ModMA4 is MA4 + ((6*S4)/((N4 + 1) * N4)).

Return to Top of Page

Price cross downside IT MA

! Price cross downside IT MA

ITMApriceDN if VAL([close],1)>VAL([IT MA],1) and [close]<[IT MA].

!!!Example stock BUD on 08/07/2001

Return to Top of Page

Price cross downside LT MA

! Price cross downside LT MA

LTMApriceDN if VAL([close],1)>VAL([LT MA],1) and [close]<[LT MA].

!!!Example stock AWE on 08/07/2001


Return to Top of Page

Price cross downside ST MA

! Price cross downside ST MA

STMApriceDN if VAL([close],1)>VAL([ST MA],1) and [close]<[ST MA].

!!! Example Stock BMS 08/07/01


Return to Top of Page

Price cross up the IT MA

! Price cross up the IT MA

ITMApriceUP if val([close],1) < val([IT MA],1) and [close] > [IT MA].

!!!Example stock CAT on 08/07/2001


Return to Top of Page

Price cross up the ST MA

! Price cross up the ST MA

STMApriceUP if val([close],1) < val([ST MA],1) and [close]>[ST MA].

!!!Example stock USM on 08/07/2001


Return to Top of Page

Price cross upside LT MA

! Price cross upside LT MA

LTMApriceUP if val([close],1) < val([LT MA],1) and [close] > [LT MA].

!!!Example stock AIG 08/07/01


Return to Top of Page

ST MA crosses IT MA

! ST MA crosses IT MA

STMAcrossITMA if Val([ST MA], 1) < Val([IT MA], 1) and [ST MA] > [IT MA].

!!!Example stock CSCO on 08/08/2001


Return to Top of Page

ST MA crosses LT MA in last 5 days

! ST MA crosses LT MA in last 5 days

STMAcrossLTMA if Val([ST MA], 1) < Val([LT MA], 1) and [ST MA] > [LT MA].
FivedayCROSS if ScanAny(STMAcrossLTMA,5).

!!!Example stock CSCO on 08/08/2001


Return to Top of Page

ST MA crosses LT MA

! ST MA crosses LT MA

STMAcrossLTMA if Val([ST MA], 1) < Val([LT MA], 1) and [ST MA] > [LT MA].

!!!Example stocks ABS on 07/26/2001


Return to Top of Page

Triangle Moving Average

!Triangle Moving Average

define periods 9.
value is [close].
midpt is (floor(periods/2)+1).
weight is iff(days > midpt, midpt - (days - midpt), days).

! For RT Alerts uncomment this next line.
!days is ReportDate() - RuleDate() + 1.

! For EDS uncomment this line
days is OffsetToDate(Month(),Day(),Year()) + 1.
sumweights is sum(weight,periods). workval is weight * valresult(value,days-1).
sumval is sum(workval,periods).

TMA is sumval/sumweights.


 

Return to Top of Page