[blackcat] L3 Tom Demark Sequential MACD

Level: 3


Magic Nine Turns formerly known as Tom Demark Sequential ( TDS ) is a soft built-in technical indicator for many stocks software, but before using it, you must understand its market meaning and confirm whether it is suitable for your own trading style. TDS adopts the left-hand trading concept of "buy when the market is fearful and sell when the market is greedy". The premise of making profits lies in the grasp of the reversal point. Because DeMark believes that the market will make a sound when it is about to reverse, and what we have to do is listen carefully. But that's not necessarily the case. First of all, grasp the essence of the reversal is to buy the bottom and escape the top, that is, to earn the 20% of the money that is the hardest to earn in the world. Let’s not talk about whether it can be accurate or not. Buying the bottom and escaping from the top is just one of many positions opening modes. Taking a partial generalization will lead to a statistically shortened time for this mode to be effective in the market. Secondly, the market is a fusion of human nature and natural laws. When human nature is extreme, "the market does not necessarily play cards according to the rules, that is, it may not make a sound when it is about to reverse." In contrast, the strategy of taking advantage of the trend lags behind the Magic Nine Turns of Demark , but its core is "follow up after the market does sound a reversal". "Irregular" market movements.


Only by understanding its principle can it be transformed. The magic nine turns strategy can be divided into three parts: structure, crossover, and counting. structure means
1. Buying structure: For 9 consecutive days or more, the closing price of each day is lower than the closing price of the previous 4th trading day. The Demark buying structure is established. If the counting is interrupted, the counting needs to be reset.
2. Selling structure: For 9 consecutive days or more, the closing price of each day is higher than the closing price of the previous 4th trading day. The Demark sell structure is established. If the count is interrupted, the count needs to be reset.

Crossover requires that the high price on the 8th or 9th day in the Demark structure must be higher than or equal to the previous low price on the 3rd to 7th days. It can also occur on any subsequent day, whether or not the day is structurally consecutive. There are two situations in which a Demark structure can be cancelled: the first is to recycle, and the second is to cancel if the closing price on a day is higher than the highest price in the buy structure before the structure is completed and the trading signal is not generated. The structure starts over. After the structure is complete, start counting. Starting at 0, the count is incremented by 1 each time a day's close is below the low of the second prior trading day. When the count reaches 9 or 13, a buy signal is issued. The number of days in the count phase does not need to be consecutive. Two cancellation cases for counting:

1. Before the structure is completed and the transaction signal is not generated, if a reverse structure occurs, the original structure is invalid, and the structure is restarted;
2. Counting recycling: After the structure is completed, if the same direction structure is found, the original structure is replaced.

The above is the basic structure of Magic Nine Turns, and there are 2 problems in use:
1. A high-low 9 or a high-low 13 cannot be produced at all tops and bottoms because the market trend does not conform to the Demark structure.
2. Because the market structure is nested, some Demark structures that reach high-low 9 or high-low 13 are just relays, not reversals of the trend.

MACD is the most popular trend indicator. What if I fuse TDS and MACD? I found that no one in the TradingView community has posted a similar script yet. I can't post this interesting experiment: MACD indicator combined with TDS! I'm sure someone will like it!

Only numbers other than 9 and 13 use normal fonts, red represents low digits, and green represents high digits;
The numbers 9 and 13 are highlighted with red and green labels, red means low 9 low 13, green means high 9 high 13, note that these labels are all unconfirmed buy and sell signals;
Feedbacks are appreciated.

Donate TRC20 USDT to below address, 5USDT per monthly sub, 50USDT per yearly sub: TNz84MjJTWUUUyQFpPNjaAU7J2SwhJJ7j9
Note: USDT_TRC20 deposits sent from decentralized exchanges are not yet supported.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Rumah. Anda boleh menyukainya untuk menggunakannya pada carta.


Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?