Sirdiamond21

Didi Index

Indicator developed by Brazilian and analyst Odir Aguiar (Didi), consists of "Moving Averages", known for the famous needles Didi, which allows the visualization of reversal points.

The concept is very simple, when you insert 3 Moving Averages on display, one of three periods, an 8 and the other 20, there appears the formation of the indicator which works on an axis or center line 0. The needles occur when the intersection of averages comes closest to the line 0.
สคริปต์โอเพนซอร์ซ

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

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

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

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?
//Begin
study("Didi Index")
short = 3, mid = 8, long = 20
DidiLonga = sma(close, long) - sma(close, mid)
DidiCurta = sma(close, short) - sma(close, mid)

plot(DidiLonga, color=#ff0000)
plot(DidiCurta, color=#009900)
plot(0)
//End