♥ 0 |
Hello Peter, 1.On TOS scan I see only patters, classic pattern (triangle, rectangle, had and shoulder..) scan but on no candlestick pattern (doji, hammer…). Is there any way I can add these 2 candlestick: Hamari, ThreeInsideUp, ThreeOutsideUp in a weekly scan on TOS? 2. Can I scan OBV and AccDist studies when they all reach 10 percent or less?
Marked as spam
|
Private answer
When you get to the section of the platform where you can add candlestick patterns to a chart you will find that you can open the code editor and view the source code. Copy the source code and you should be able to paste that into a new Study Filter to build a scan for the selected candlestick pattern. Case in point, the code that runs the Hamari candlestick pattern. Here is the code I copied from that pattern. I have removed the style statements and converted the existing plot statements to def. I then added two plot statements you should be able to use for scans:
I have not tested this. So I have not confirmed that this actually works. But this is the best we can do. if it does not work there is nothing we can do about it. For the OnBalanceVolume and AccDist indicators. You can build this using the Condition Wizard: https://www.hahn-tech.com/thinkorswim-condition-wizard/ The problem is these studies use a function named "TotalSum()". This function computes the sum for every bar on the chart. When you change the amount of data on the chart you change it's values. These sort of chart studies are mostly useless, if not downright harmful. Because folks will spend a great deal of time trying to build a strategy based on these studies not realizing the values will change depending how much data you have loaded on the chart. So these studies are only useful when evaluating which direction they are moving. But the actual values themselves are completely meaningless. Any scan you construct using these indicators will never match the results you get on the charts. Because the amount of historical data used in the scan can never be replicated on the chart. Marked as spam
|
Please log in to post questions.