SMA & EMA are two classical technical indicators. SMA calculates the average price data, while EMA gives more weight to current data. EMA gives a higher weighting to recent prices, while the SMA assigns an equal weighting to all values.
Directional Indication:
Enter LONG position when Short period MA crosses above Long period MA
Enter SHORT position when Short period MA crosses below Long period MA
Useful Parameters & Settings:
Set MA Type, Short & Long Periods, Source, Offset, Target, SL, Time Frame & many other values that best suits
To trade on the Real-time bar, Go to Strategy Settings >> Properties >> Recalculate and select the "On Every Tick" option.
Untick the "Signal Labels" option from Settings >> Style property window for a clean chart view.
Alert Message: Type in the alert message as "{{strategy.order.alert_message}}"
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.