♥ 0 |
Hi Pete. In a previous post you created a watch list code which shows when a Hull Moving Average changes direction. Here is the previous post link : https://www.hahn-tech.com/ans/wl-for-hull-in-tos/ Can you assist me with setting up a scan that looks for stocks in which the shorter term HMA trend has recently changed and is now in line with a longer term trend. More specifically I am looking for:
Thank you!
Marked as spam
|
Private answer
You don't need any custom code solution for this request. You can build this in just a few clicks of the mouse using the Condition Wizard. Details in the following video: https://www.hahn-tech.com/thinkorswim-condition-wizard/ Screenshots below shows the individual steps. Notice there is no way to reference another time frame using the code in a Study Filter for a scan. You set the time frame at the Study Filter level, before adding your code. So in order to produce a scan that covers weekly and daily time frames you simply add two Study Filters and set each one to a different time frame. Then build your conditions. Marked as spam
|
Please log in to post questions.