PROTECTED SOURCE SCRIPT
已更新 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.
發行說明
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.
發行說明
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.
發行說明
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.
發行說明
3 green candles draw a box for calculation TP an SL受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。