PROTECTED SOURCE SCRIPT
Actualizado 3 Green Candles Strategy

The script will do the following:
Detect three consecutive green candles: The script checks if the current candle and the two preceding candles are bullish (green).
Draw white lines: Once this condition is met, two white horizontal lines will be drawn:
One line at the low of the first green candle in the sequence of three.
One line at the high of the third green candle in the sequence of three. These lines extend across the width of the three candles.
Draw a box (SL & TP): Starting from the closing price of the third green candle (the 'entry' or signal candle), a box is drawn that extends a configurable number of bars to the right:
Stop Loss (SL - red): The bottom of the red box is at the low of the first green candle (as you described). The top of the red box is the entry price.
Take Profit (TP - green): The top of the green box is calculated based on the entry price plus a configurable Risk-Reward Ratio relative to the SL. The bottom of the green box is the entry price. You can adjust the "Take Profit Ratio" and the number of "Box Extension Bars" in the indicator's settings.
Detect three consecutive green candles: The script checks if the current candle and the two preceding candles are bullish (green).
Draw white lines: Once this condition is met, two white horizontal lines will be drawn:
One line at the low of the first green candle in the sequence of three.
One line at the high of the third green candle in the sequence of three. These lines extend across the width of the three candles.
Draw a box (SL & TP): Starting from the closing price of the third green candle (the 'entry' or signal candle), a box is drawn that extends a configurable number of bars to the right:
Stop Loss (SL - red): The bottom of the red box is at the low of the first green candle (as you described). The top of the red box is the entry price.
Take Profit (TP - green): The top of the green box is calculated based on the entry price plus a configurable Risk-Reward Ratio relative to the SL. The bottom of the green box is the entry price. You can adjust the "Take Profit Ratio" and the number of "Box Extension Bars" in the indicator's settings.
Notas de prensa
The script will do the following:Detect three consecutive green candles: The script checks if the current candle and the two preceding candles are bullish (green).
Draw white lines: Once this condition is met, two white horizontal lines will be drawn:
One line at the low of the first green candle in the sequence of three.
One line at the high of the third green candle in the sequence of three. These lines extend across the width of the three candles.
Draw a box (SL & TP): Starting from the closing price of the third green candle (the 'entry' or signal candle), a box is drawn that extends a configurable number of bars to the right:
Stop Loss (SL - red): The bottom of the red box is at the low of the first green candle (as you described). The top of the red box is the entry price.
Take Profit (TP - green): The top of the green box is calculated based on the entry price plus a configurable Risk-Reward Ratio relative to the SL. The bottom of the green box is the entry price. You can adjust the "Take Profit Ratio" and the number of "Box Extension Bars" in the indicator's settings.
Notas de prensa
The script will do the following:Detect three consecutive green candles: The script checks if the current candle and the two preceding candles are bullish (green).
Draw white lines: Once this condition is met, two white horizontal lines will be drawn:
One line at the low of the first green candle in the sequence of three.
One line at the high of the third green candle in the sequence of three. These lines extend across the width of the three candles.
Draw a box (SL & TP): Starting from the closing price of the third green candle (the 'entry' or signal candle), a box is drawn that extends a configurable number of bars to the right:
Stop Loss (SL - red): The bottom of the red box is at the low of the first green candle (as you described). The top of the red box is the entry price.
Take Profit (TP - green): The top of the green box is calculated based on the entry price plus a configurable Risk-Reward Ratio relative to the SL. The bottom of the green box is the entry price. You can adjust the "Take Profit Ratio" and the number of "Box Extension Bars" in the indicator's settings.
Notas de prensa
The script will do the following:Detect three consecutive green candles: The script checks if the current candle and the two preceding candles are bullish (green).
Draw white lines: Once this condition is met, two white horizontal lines will be drawn:
One line at the low of the first green candle in the sequence of three.
One line at the high of the third green candle in the sequence of three. These lines extend across the width of the three candles.
Draw a box (SL & TP): Starting from the closing price of the third green candle (the 'entry' or signal candle), a box is drawn that extends a configurable number of bars to the right:
Stop Loss (SL - red): The bottom of the red box is at the low of the first green candle (as you described). The top of the red box is the entry price.
Take Profit (TP - green): The top of the green box is calculated based on the entry price plus a configurable Risk-Reward Ratio relative to the SL. TThe bottom of the green box is the entry price. You can adjust the "Take Profit Ratio" and the number of "Box Extension Bars" in the indicator's settings.
Notas de prensa
3 green candles draw a box for calculation TP an SLScript protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script protegido
Este script se publica como código cerrado. No obstante, puede utilizarlo libremente y sin ninguna limitación. Obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.