OPEN-SOURCE SCRIPT

Long and Short Positions on EMA and Pivot Cross with Candle Size


This Pine Script indicator identifies long and short trading signals based on specific criteria involving candle body size, EMA, and pivot levels.

Long Position ("Buy" Signal): A "Buy" signal is triggered when a green candle (close > open) with a body size of at least 10 crosses above the 9 EMA and any of the daily pivot levels (R1, R2, R3, R4, R5, S1, S2, S3, S4, S5).

Short Position ("Sell" Signal): A "Sell" signal is triggered when a red candle (close < open) with a body size of at least 10 crosses below the 9 EMA and any of the pivot levels.

The script plots only the "Buy" and "Sell" signals on the chart, without displaying the EMA or pivot levels.
Candlestick analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明