*When you see a red Close, you can close a Long/Buy position or open a Short position. *When you see a blue Close, you can open a Long/Buy position or close a Short position. 15 minutes and above makes a clearer, less noisy notification. My recommendation is 30 minutes, everyone can use a time interval suitable for their own strategy. At the same time, 50SMA and 10SMA are there for extra confirmation. 50SMA is purple, for extra confirmation, you can evaluate buying above 50, selling below and selling when 10sma cuts 50sma down, buying when up is certain. This code in an uptrend; 1) there should be at least 3 green candles at the end (last green candle) after closing, 2) if a red first candle is formed that is larger than 50% of its body length And this red candle (Moving Average 10) is a value below this value, it gives a warning and shows a red "Close" label on the chart. While creating this code, I want you to check and take as a condition that the new first red candle is 50% larger by taking the last 3 green uptrend candles and the last closed green candle as basis and item 1) and item 2) should meet the conditions at the same time, accordingly, red close
In a downtrend within the same code sequence, this code; 3) there should be at least 3 red candles at the end (last red candle) after closing, 4) if a green first candle is formed that is larger than 50% of its body length And this green candle (Moving Average 10) is a value above this value, it gives a warning and shows a blue "Close" label on the chart It shows a label. When creating this code, I want you to check and take as a condition that the first new green candle is 50% larger, based on the last 3 red bearish candles and the last closed red candle, and item 3) and item 4) must meet the conditions at the same time, accordingly, blue close
Script de código aberto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.