TEXT   50

Vidya

Guest on 2nd June 2022 02:04:09 AM

  1. ---Fml( "{VM} 6 4 Bullish")---
  2. Buy:=Cross(C,Mov(Ref(H,-4),6,S));
  3. Sell:=Cross(Mov(Ref(L,-4),6,S),C);
  4. State:=If(BarsSince(Buy)>BarsSince(Sell),1,0);
  5. State=0
  6.  
  7.  
  8.  
  9. ---Fml( "{VM} Vidya Bullish")---
  10. Length:=21;
  11. Smooth:=5;
  12. AbsCMO:=(Abs(CMO(C,Length)))/100;
  13. SC:=2/(Smooth+1);
  14. VIDYA:=If(Cum(1)<=(Length+1),C,(SC*AbsCMO*CLOSE)+(1-(SC*AbsCMO))*PREV);
  15. C>(Vidya*1.01)
  16.  
  17.  
  18.  
  19. ---Fml( "{VM} PP+ TrendDirection")---
  20. ExtFml("PowerPivots.TrendDirection",1,1)
  21.  
  22.  
  23.  
  24. ---Filter---
  25. Exploration notes              
  26.                
  27. Col A: Close    C      
  28. Col B: Chaikin  CMF(21)
  29. Col C: MA Up    Mov(C,10,E)>Ref(Mov(C,10,E),-1)
  30. Col D: 64 Vidya  Fml( "{VM} 6 4 Bullish") AND  Fml( "{VM} Vidya
  31.         Bullish") AND  Fml( "{VM} PP+ TrendDirection") 
  32. Col E: V        a1:=Ref( Fml( "{VM} Vidya Bullish") ,-1);      
  33.         a2:=Ref( Fml( "{VM} 6 4 Bullish") ,-1);
  34.         a1+a2  
  35. Filter  C>10 AND Mov(V,20,S)>500 AND colB>.1 AND       
  36.         colC=1 AND colD=1 AND colE<2 {AND  Fml( "_Date 
  37.         Cutoff")=1}    
  38.                
  39. Filter enabled  Yes    
  40. Periodicity     Daily  
  41. Records required        1000

Raw Paste


Login or Register to edit or fork this paste. It's free.