OPEN-SOURCE SCRIPT

Open = High or Open = Low

已更新
plain simple strategy of o=h or o=l generally if open is equal to high trend is bearish and if open is equal to low trend is bullish
發行說明
Explanation of Updates:
EMA Calculation:
The script calculates a 9-period Exponential Moving Average (emaValue).
Sell Condition:
openEqualsHigh is true.
emaValue is below the previous candle's low (prevLow).
Buy Condition:
openEqualsLow is true.
emaValue is above the previous candle's high (prevHigh).
Signal Plot:
A green upward label (Buy) is plotted for buy signals.
A red downward label (Sell) is plotted for sell signals.
EMA Plot:
The 9-period EMA is plotted on the chart for reference.
Steps to Use:
Paste this code into the Pine Editor in TradingView.
Click Add to Chart.
The script will display buy and sell signals along with the 9-period EMA.
Chart patternsTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明