OPEN-SOURCE SCRIPT
MTF_Stochastic_Signal

This script sets up signals based on Multi-timeframe (MTF) stochastics. Alerts can easily be created to inform users of aggressive and conservative potential BUY and SELL opportunities. Overbought and oversold levels do not matter when it comes to signalling, but each trader can set their own limits.
DEFAULT CRITERION
Conservative BUY criteria is when both stochastic timeframes cross upward at the same time the closing price is above the simple moving average.
Conservative SELL criteria is when both stochastic timeframes cross downward at the same time the closing price is below the simple moving average.
Aggressive BUY criteria is when both stochastic timeframes cross upward at the same time.
Aggressive SELL criteria is when both stochastic timeframes cross downward at the same time.
TO SET UP ALERTS
1. In the "Create Alert" menu, select the "MTF_Stochastic_Signal" as the Condition.
2. To the right of the condition select one of the options that has "greater than 1" at the end of it.
3. Instead of the word crossing in the dropdown below, select "Greater Than"
4. For the value, input 1. (My TRUE values are set to 50 in the event you want to turn the plot on, however, this is not neccessary as it is redundant)
5. Select the remaining options that suit your needs and click "Create". You have now set up alerts. I suggest setting all four options fo reach symbol you monitor.
Please feel free to ask questions and provide comments. I am always looking for ways to improve my scripts.
Enjoy!
DEFAULT CRITERION
Conservative BUY criteria is when both stochastic timeframes cross upward at the same time the closing price is above the simple moving average.
Conservative SELL criteria is when both stochastic timeframes cross downward at the same time the closing price is below the simple moving average.
Aggressive BUY criteria is when both stochastic timeframes cross upward at the same time.
Aggressive SELL criteria is when both stochastic timeframes cross downward at the same time.
TO SET UP ALERTS
1. In the "Create Alert" menu, select the "MTF_Stochastic_Signal" as the Condition.
2. To the right of the condition select one of the options that has "greater than 1" at the end of it.
3. Instead of the word crossing in the dropdown below, select "Greater Than"
4. For the value, input 1. (My TRUE values are set to 50 in the event you want to turn the plot on, however, this is not neccessary as it is redundant)
5. Select the remaining options that suit your needs and click "Create". You have now set up alerts. I suggest setting all four options fo reach symbol you monitor.
Please feel free to ask questions and provide comments. I am always looking for ways to improve my scripts.
Enjoy!
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
All forecasts are based on analysis of past behavior. Prior movements are not always indicative of future movement. Develop the theory, test the theory. Do your own research. Nothing in this analysis constitutes advice. YouTube For More. Good luck!!
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
All forecasts are based on analysis of past behavior. Prior movements are not always indicative of future movement. Develop the theory, test the theory. Do your own research. Nothing in this analysis constitutes advice. YouTube For More. Good luck!!
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.