*I’s it possible to create a stock rating system using multiple indicators or other technical criteria? If so, how does it compare with analyst ratings? Investors around the world move billions of dollars every day on advice from Wall Street research analysts. Most retail investors do not have the time or can’t be bothered to read the full stock report and rely solely on the bottom line: the stock rating. They believe these ratings are reliable and base their investment decisions at least partly on the analyst buy/sell rating. But how reliable are those buy/sell ratings? In this article I will present a technical stock rating system based on five technical criteria and indicators, backtest it, and compare its performance to analyst ratings.*

!A TECHNICAL METHOD FOR RATING STOCKS !Author: Markos Katsanos, TASC June 2018 !Coded by: Richard Denning, 4/18/18 !www.TradersEdgeSystems.com !INPUTS: MAP is 63. STIFFMAX is 7. VFIPeriod is 130. MASPY is 100. MADL is 100. SCORECRIT is 5. W1 is 1. W2 is 1. W3 is 1. W4 is 1. W5 is 2. !VFI FORMULA: COEF is 0.2. VCOEF is 2.5. Avg is ([high]+[low]+[close])/3. inter is ln( Avg ) - ln( Valresult( Avg, 1 ) ). vinter is sqrt(variance(inter, 30 )). cutoff is Coef * Vinter * [Close]. vave is Valresult(simpleavg([volume], VFIPeriod ), 1 ). vmax is Vave * Vcoef. vc is Min( [volume], VMax ). mf is Avg - Valresult( Avg, 1 ). vcp is iff(MF > Cutoff,VC,iff(MF < -Cutoff,-VC,0)). vfitemp is Sum(VCP , VFIPeriod ) / Vave. vfi is expavg(VFItemp, 3 ). !STIFFNESS ma100 is Avg. CLMA if [close] < MA100. STIFFNESS is countof(CLMA,MAP). !CONDITIONS: ! MONEY FLOW: COND1 is iff(VFI>0,1,0). !SIMPLEAVG: SMA is simpleavg([close],MADL). COND2 is iff([close]>SMA,1,0). !SIMPLEAVG DIRECTION: COND3 is iff(SMA>valresult(SMA,4),1,0). !STIFFNESS: COND4 is iff(STIFFNESS<= STIFFMAX,1,0). !MARKET DIRECTION: SPY is TickerUDF("SPY",[close]). COND5 is iff(EXPAVG(SPY,MASPY)>= valresult(EXPAVG(SPY,MASPY),2),1,0). SCORE is W1*COND1+W2*COND2+W3*COND3+ W4*COND4+W5*COND5. buy if Score>=SCORECRIT and hasdatafor(300)>=268.