| SAFeTRADE 656 posts
 msg #161988
 - Ignore SAFeTRADE
 | 10/8/2025 10:49:21 AM 
 buy when high reaches a new 13 day high and
 has an increasing ma(45) and
 8 day low at least 1 step higher preferably 2
 
 coding looks like :
 
 set{13hi,count(high reached a new 13 day high,1)}
 set{incm45,count(ma(45) > ma(45) 4 days ago,1)}
 
 how to code 8 day low 1 or 2 steps higher?
 
 Look at NVDA below to see stair step of 8 day low
 
 
 
 
 
 | 
| SAFeTRADE 656 posts
 msg #161989
 - Ignore SAFeTRADE
 | 10/8/2025 11:07:20 AM 
 This my first attempt :
 
 
 
 
 
 
 | 
| SAFeTRADE 656 posts
 msg #161990
 - Ignore SAFeTRADE
 | 10/8/2025 11:55:04 AM 
 Attempt 2:
 
 
 
 
 
 | 
| SAFeTRADE 656 posts
 msg #161991
 - Ignore SAFeTRADE
 | 10/8/2025 2:51:51 PM 
 While I have you attentiin, have any of you used AI to build a python filter as an example a Weinstein
 filter?
 
 
 | 
| xarlor 619 posts
 msg #161992
 - Ignore xarlor
 | 10/8/2025 3:40:35 PM 
 Try this.  Increase the days to count to fit your preference and make the last line your preference - 1.
 
 
 set{lowstepper1,low 8-day low}
set{lowstepper2,low 8-day low 1 day ago}
 set{lowstepper,count(lowstepper1 >= lowstepper2,8)}
 lowstepper > 7
 
 
 
 
 | 
| SAFeTRADE 656 posts
 msg #161993
 - Ignore SAFeTRADE
 | 10/8/2025 5:20:52 PM 
 Thanks xarlor your code gave me an idea.  This is a much cleaner chart  with the signals clearly visible.
 This stepper idea comes from Mark Minervini, he also uses VCP which I am attempting to code in
 stockfetcher..  Stepper signaling 1  means itis a stepper from on e to infinity (well not infinity only until
 it is not a stepper).  I also added dn_step to show when the run potentially ends.
 
 
 
 
 
 
 
 |