vishaljvora 5 posts msg #133276 - Ignore vishaljvora |
12/18/2016 3:50:37 PM
Can someone help write this scan and have a display/flag set on columns ?
It applies to daily charts.
1) Figure out highest and lowest close of previous month - lets call it PMHC (previous month high close) and PMLC (previous month low close)
2) did price close >= PMHC at any time this month ? if yes label stock as UT - uptrend
3) did price close <=PMLC at any time this month ? if yes label stock as DT - downtrend
|
SAFeTRADE 646 posts msg #133281 - Ignore SAFeTRADE |
12/19/2016 12:11:14 AM
Here is something for you to work with, sort on upt or dnt.
|
SAFeTRADE 646 posts msg #133282 - Ignore SAFeTRADE |
12/19/2016 12:29:54 AM
I like this, I added a few bells and whistles! Thank you for the idea! I will add this to my arsenal.
|
mahkoh 1,065 posts msg #133293 - Ignore mahkoh |
12/19/2016 3:33:56 PM
Every first of the month you'll need to adjust the days to look back in the first two lines according to the number of trading days in the previous month.
|
vishaljvora 5 posts msg #133340 - Ignore vishaljvora |
12/20/2016 11:34:05 PM
Thanks for your help.. I ll test it out and post here.
|