| xarlor 619 posts
 msg #152472
 - Ignore xarlor
 | 6/4/2020 5:29:22 PM 
 nibor,
 
 "only count the pocket pivot if the stock closes in the upper 62% of the day's price range"
 
 My code:
 
 close > day position(0.62,1)
 
 was actually counting stocks that closed in the upper 38%.  Whoops!
 
 Also:
 
 The low on the day of the pivot must be within 1.4% of the 10-day SMA or the price must have moved up through the 10-day during that day
 
 Again, I didn't even realize what it was asking (within 1.4% on either side, not just below) until I saw your correction.  Also, I should have studied the ToS code which I didn't
 
 So glad you catch these things.  Besides keeping me honest, it highlights things I need to work on, i.e. word problem interpretation and reading all available information before submitting my response.
 
 :O
 
 A sincere thank you, nibor.
 
 
 |