PROTECTED SOURCE SCRIPT

ALGOME - SMA/EMA (2 in 1)_V22.14.0

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}}"

How To Access, Setup, Integrate & Execute Live Alerts?
algome.in/post/how-to-setup-strategy-create-alerts-on-tradingview

Disclaimer