OPEN-SOURCE SCRIPT

EMA of ATR

109
I want to identify whether the market is currently in a sideway or trending condition. To achieve this, I use the ATR (Average True Range) as an indicator. However, ATR alone does not clearly define the market condition.

To improve accuracy, I calculate an EMA (Exponential Moving Average) of ATR as a reference.

If ATR is above the EMA → The market is in a trend.
If ATR is below the EMA → The market is in a sideway phase.

This is my definition of market conditions.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน