Scan to Capture Candle based on Custom Study


Category:
0
0

Hi Pete, Please see the scan screenshot attached below.

I need to add a filter in scan, in which I can assign the range to the candle which crosses above the custom study’s T3 Moving Average.  For the range, I intend to apply a fixed value that defines the range and then it checks if the range of the candle crosses above T3 is greater than or equal to a fixed value assigned.

Files are attached. I had asked this earlier but the file was not attached in the text format.

Thank you for your help,

Shaishav

 

 

Attachments:
Marked as spam
Posted by (Questions: 49, Answers: 62)
Asked on December 4, 2020 5:02 pm
96 views
0
Private answer

Please make sure you are aware of what this code is doing before you try to use it for trading. The T3 line is constructed by nesting multiple exponential moving averages. This is a abomination of a chart study. Pure garbage. Whoever created this monstrosity should be banned from creating chart studies. However this is no governing body so the responsibility to warn the general public falls to me.

I will try to explain the issue in detail:

The T3 line is computed as the 10 period exponential moving average, of the 10 period exponential moving average, of the 10 period exponential moving average, of the difference between two other 10 period exponential moving averages.

Does that sound like utter madness? Yes it does. And just in case it does not, check the following article that explains the problems with exponential moving averages.

https://www.hahn-tech.com/moving-averages-exponential-problems/

In the interest of protecting the rest of our viewers from this sort of chart study I will not be providing a solution to your request. Nothing personal. This is just a matter of doing what is in the best interest of the rest of our viewers.

Throw this chart study in the trash and be more careful about where you go to pick up free trading tools.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on December 4, 2020 7:53 pm
0
Thank you for opening eyes. I will be posting a new question for the PPS scan I have in which if you can help me on adding a filter for daily range and candle range which can eliminate unnecessary stocks from the scan results.
( at December 5, 2020 11:22 am)