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!
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
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!!
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
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!!
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.