Hi Everyone, brand new to the forum and my coding experience pretty much non existent. I did a search and may have missed it, but @BenTen any tips on how I can take this code and make it into a watchlist column to alert me right when the yellow/white arrows are triggered? I have it in a column now but it is just showing a NaN in the column. I am assuming it is not formatted correctly.
From a blank Scan > Add a study filter > Edit > Delete the default Study > go to thinkScript editor and add the below:
NameofStudy()."Up4" is true within 2 bars or NameofStudy()."Up5" is true within 3 bars
Press OK > Associate a watch list and or Run the scan > Save
You can change the number of bars to look back from 3 to your choosing. Remember to adjust the aggregate day within the study if you need a different one as the default is set to 1 day.