♥ 0 |
Has anybody come across the ThinkScript code plotting the Short / Intermediate / Long Term Swing points based on Larry Williams definition *see here: https://books.google.com/books?id=x…t intermediate long term swing points&f=false)? Thanks,
Marked as spam
|
Private answer
Patterns are the single most difficult item to write into code. The human eye and the part of the human brain that processes visual data is far more advanced than any computer so far in existence. So advanced that we can see "patterns" where none exist. Here is the Q&A forum we provide quick solutions that take under 15 minutes to solve. What you are trying to do will take many hours. For me, the simplest way to define swing highs and lows is using the method found in the code of the WilliamsFractal. That is a built in pattern that comes with Thinkorswim. Search the forum for WillamsFractal and you will find this has already been covered, more than once: https://www.hahn-tech.com/ans/displaying-values-for-swing-high-and-low-pivots/ https://www.hahn-tech.com/ans/williamsfractal-bars-ahead-with-williamsalligator/ Final note, the simplest way to derive intermediate and longer term structures in the chart is by referencing higher time frames. The markets are fractal, meaning the same patterns exist on all time frames. So if you want a short term swing pivot use a 5 min time frame. For intermediate, use a 1 hour time frame, then use a daily time frame for the long term swing pivots. Out of time, that's all I have to say on this topic. Marked as spam
|
Please log in to post questions.