The importable AIQ EDS file based on Markos Katsanos’ article in the March 2020 issue of Stocks & Commodities, “Using Relative Strength To Outperform The Market,” can be obtained on request via email to info@TradersEdgeSystems.com. The code is also available below.
I coded the indicator described by Katsanos in his article. Figure 5 shows the RSMK indicator with a 90-bar length on a chart of Fire Eye (FEYE). The trading system is also coded.
!USING RELATIVE STRENGTH TO OUTPERFORM THE MARKET !Author: Markos Katsanos, TASC March 2020 !coded by: Richard Denning, 01/13/2020 !www.TradersEdgeSystems.com !RSMK (Relative Strength) Indicator !Copyright Markos Katsanos 2020
C is [close].
RSBARS is 90.
SK is 3.
SEC2 is tickerudf("SPY",C).
!RSMK:
RSMK is expavg(ln(C/(SEC2))-ln(valresult(C/(SEC2),RSBARS)),3)*100.
!RSMK System:
Buy if RSMK > 0 and valrule(RSMK<0,1) and hasdatafor(200) >= 150.
Sell if {position days} >= 9*21.
FIGURE 5: AIQ. The RSMK indicator is shown on a chart of FEYE during 2018 and 2019.
—Richard Denning
info@TradersEdgeSystems.com
for AIQ Systems