OPEN-SOURCE SCRIPT

EMA Distance Buy/Sell Signal

91
EMA Calculation:

3 EMAs calculate kiye jaate hain: Fast EMA (9), Medium EMA (21), aur Slow EMA (50).

Ye EMAs chart par plot kiye jaate hain.

Distance Calculation:

Har candle ka Fast EMA se distance calculate kiya jaata hai (percentage mein).

Agar ye distance aapke diye gaye threshold (default: 1.5%) se zyada hai, to signal generate hoga.

Buy/Sell Conditions:

Buy Signal: Jab candle Fast EMA se oopar hai aur uss point par sabhi 3 EMAs (Fast, Medium, Slow) se oopar hai.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.