♥ 0 |
How would you write this custom scanner? I need a scan that is based on two minute interval. I need the 20SMA above the 200SMA and the close above the 20SMA. Then I need pattern of Green, Red, Green or Green, Red, Red, Green. Could you help me with this please?
Marked as spam
|
Private answer
There is no need to write any custom code for the 20 period SMA above the 200 SMA. Nor is there any need to write custom code for the close being above the 20 period SMA. All of those elements from your specifications can be constructed with just a few clicks of the mouse using the Condition Wizard. Details here: https://www.hahn-tech.com/thinkorswim-condition-wizard/ Once you learn how to use the Condition Wizard you will realize there is very little need to write any custom code to create your scans. It is even possible to build a condition for candlestick patterns, such as green-red-green. But I will provide a custom code solution for your candlestick pattern. You can build a separate study filter using the Condition Wizard to cover the moving average elements of your specifications. Then add a second study filter to contain this custom code. Here is the code for your candlestick pattern filter:
Marked as spam
|
Please log in to post questions.