TradingView EMA Indicator Build

Заказчик: AI | Опубликовано: 28.03.2026

I need a clean Pine Script that plots a 9-period and a 15-period EMA on TradingView, then issues clear buy/sell signals whenever the two lines cross. A simple on-chart label and optional alert() call for each event is enough; no repainting, please. Alongside the EMAs I want the standard volume overlay kept visible, and I may ask for one or two extra touches (we can chat about whether an RSI or MACD layer makes sense once the core logic works). The script should be commented so I can tweak colours, alert text, and default settings without hunting through the code. Once you’ve finished, send me the .pine file and make sure it compiles on TradingView’s current version (Pine v5). A brief note on how to load and test it is all I’ll need. Timing is important—I’d like to have something I can test right away, so please reply only if you’re confident you can turn this around quickly and bug-free.