ron22 255 posts msg #145189 - Ignore ron22 | 
11/4/2018 7:03:07 AM
  Dave,  I am sorry to bother you but I have some questions. 1. What thread is  the  filter (posted below) in? I can't find the thread.
 2. Do you prefer to use  SS(14,3) or SS(5,1) as a confirming signal when going long or do you require that both (SS(14,3) and SS(5,1) both be above  line 80 when going long?
 3. Are the ETF's in  this filters Symlist your favorite trending ETF's?
 4. Would you be kind enough to show me how to add "long positionSS" count for SS(14,3) above  line 80  to this filter?  Thank you very much for helping me. 
 Also, I thoroughly enjoyed reading your paraphrase of Ira Epstein's Rules For Trading.
 
 [apply to symlist(eev,tmf,midu,tqqq,upro,ziv,shy)
 draw Bollinger Bands(18,2)
  and draw Slow Stochastic(14,3) Fast %K line at 20.00 and draw Slow Stochastic(14,3) Fast %K line at 80.00 
  and draw Slow Stochastic(14,3) Fast %K line at 50.00 
  and draw Slow Stochastic(5,1) Fast %K line at 20.00 and draw Slow Stochastic(5,1) Fast %K line at 80.00 and draw Slow Stochastic(5,1) Fast %K line at 50.00 
  draw ma(18)
  draw ma(100)
  draw ma(200)
  set{E3,dma(8,-5),8)-cma(DMA(8,-5),8) }
  set{Longposition, count(E3 > 0,1)}
  set{Shortposition, count(E3 < 0,1)}
  SET{TRIGGER,0}
  draw Longposition on plot 
  draw Shortposition on plot 
  draw dma(8,-5),8) 
  draw cma(DMA(8,-5),8)
 
 set{E4, TSI(5,5,9) - Smoothed TSI(5,5,9)}
  set{TDLongposition, count(E3 > 0,1)}
  set{TDShortposition, count(E3 < 0,1)}
  SET{TDTRIGGER,0}
  draw TSI(5,5,9)
 
 set{E9, close above ma(18)}
  set{DLongposition, count(E9 > 0,1)}
  set{DShortposition, count(E9 < 0,1)}
  SET{DTRIGGER,0}
  set{vmult, atr(10) * 1.5}
  set{vstopu1a, low 5 day low + vmult}
  set{vstopu2a, close + vmult}
  set{vstop, min(vstopu1a 1 day ago,vstopu2a)}
 
 set{CRS1, rsi(4),1)}
  set{CRS2, rsi(9),1)}
  set{CRS3, rsi(30),1)}
  set{CCRS1, CRS1 + CRS2}
  set{CCRS2, CCRS1 + CRS3}
  set{CCRS3, CCRS2 /3}
 
 set{CRS4, weekly rsi(4),1)}
  set{CRS5, weekly rsi(9),1)}
  set{CRS6, weekly rsi(30),1)}
 
 set{WCRS1, CRS4 + CRS5}
  set{WCRS2, WCRS1 + CRS6}
  set{WCRS3, WCRS2 /3}
 
 set{CWRSI1, CCRS3 + WCRS3}
  set{C-RSI, CWRSI1 /2}
 
 set{RSI30, RSI(30) - 50} 
  set{CRSI_Bar, RSI30}
  draw CRSI_Bar
  PlotType{CRSI_Bar,zerobar} 
  set{RSI9, RSI(9) - 50} 
  set{RSI9_line, RSI9} 
  draw RSI9 on plot CRSI_Bar
  set{RSI4, RSI(4) - 50} 
  set{RSI4_line, RSI4} 
  draw RSI4 on plot CRSI_Bar
 
 set{drsilong1, count(rsi(30) above 5, 1)} 
  set{drsilong2, count(rsi(4) above rsi(30), 1)} 
  set{drsilong3, count(rsi(9) above rsi(30), 1)} 
  set{drsilong4, drsilong1 + drsilong2} 
  set{drsilong5, drsilong4 + drsilong3} 
  set{drsilong, count(drsilong5 equals 3, 1)}
  set{drsishort, count(drsilong5 less than 3, 1)}
  SET{DRSITRIGGER,0}
  draw drsilong on plot
  draw drsishort on plot 
  set{IFT_Bar,IFT(4,1)}
  draw IFT_Bar
  PlotType{IFT_Bar,zerobar}
  DRAW IFT(4,1) 
  DRAW IFT(4,1) LINE AT .50 
  DRAW IFT(4,1) LINE AT -.50 
  DRAW IFT(4,1) LINE AT 0 
 
 set{wrsi1, weekly rsi(4)}
  set{wrsi2, weekly rsi(30)}
  set{wrsi3, count(wrsi1 > wrsi2,1)}
 
 set{wrsilong, count(wrsi3 equals 1, 1)}
  set{wrsishort, count(wrsi3 less than 1, 1)}
 
 set{CRS21, ROC(21,1)}
  set{CRS63, ROC(63,1)}
  set{CRS126, ROC(126,1)}
  set{CR1, CRS21 + CRS63}
  set{C-RS, CR1 + CRS126}
 
 set{wsto, weekly Slow Stochastics(14,3)}
  set{dsto, Slow Stochastics(14,3)}
  set{wdsto, wsto + dsto}
  set{CSTO, wdsto / 2}
 
 set{TWRSI4, weekly RSI(4)}
  set{TWRSI9, weekly RSI(9)}
  set{TWRSI30, weekly RSI(30)}
  set{TWRSI1, TWRSI4 + TWRSI9}
  set{TWRSI2, TWRSI1 + TWRSI30}
  set{A-WRSI, TWRSI2 / 3}
 
 set{TDRSI4, RSI(4)}
  set{TDRSI9, RSI(9)}
  set{TDRSI30, RSI(30)}
  set{TDRSI1, TDRSI4 + TDRSI9}
  set{TDRSI2, TDRSI1 + TDRSI30}
  set{A-DRSI, TDRSI2 / 3}
 
 set{E10, close above Upper Bollinger Bands(18,2)}
  set{BBLongposition, count(E10 > 0,1)}
  set{BBShortposition, count(E10 < 0,1)}
  SET{BBTRIGGER,0}
 
 set{var,ind(^vix,close)}
  set{var1,ind(^vxv,close)}
  set{ratio,var/var1}
 
 add column separator
  add column vstop
  add column separator
  add column BBLongposition{BBSell}
  add column separator
  add column Longposition {DMA8}
  add column separator
  add column TDLongposition{DTSI}
  add column separator
  add column drsilong {DRSI}
  add column separator 
  add column DLongposition {MA18}
  add column separator
 
 add column wrsilong {WRSI}
  add column separator
  ADD COLUMN ROC(126,1) {6 mth %}
  add column separator 
  ADD COLUMN ROC(63,1) {3 mth %}
  add column separator 
  ADD COLUMN ROC(21,1) {1 mth %}
  add column separator 
  add column C-RS
  add column separator
  add column Upper Bollinger Bands(18.2) {Up-BB}
  add column separator 
  add column lower Bollinger Bands(18.2) {Low-BB} 
  ADD COLUMN SEPARATOR
  add column weekly Slow Stochastics(14,3){wSto}
  ADD COLUMN SEPARATOR
  add column Slow Stochastics(14,3){dSto}
  ADD COLUMN SEPARATOR
  add column csto
  ADD COLUMN SEPARATOR
  add column A-WRSI
  ADD COLUMN SEPARATOR
  add column A-DRSI
  ADD COLUMN SEPARATOR
  add column c-rsi
  ADD COLUMN SEPARATOR
  add column IFT(4,1) {dift}
  add column separator 
  add column weekly IFT(4,1) {wift}
  add column separator 
 
 add column rsi(4){drsi4}
  add column separator 
  add column rsi(9){drsi9}
  add column separator 
  add column rsi(30){drsi30}
  add column separator 
  add column RSI(2) 
  add column separator 
  add column ratio
  add column separator
  add column atr(21) {Atr}
  add column separator 
  add column average day range (21){ADR%}
 
 do not draw MACD(12,26)
  do not drawn line 0
  do not draw MA(250) 
  do not draw MA(50) 
  do not draw EMA(250)
  SORT COLUMN 22 DESCENDING 
  chart-time is 75 days]
   
 
  |