pete363

Average Pip Movement

Average Price Movement inidcator displays the high/low for the period over time. On top of that an 8 period exponential moving avergae is attached
to get average movement over time. It provides, for eg. on a Daily chart, gives a day range and this can be used to book profits or place stop loss.
It is very simple indicator to provide price range over time.

สคริปต์โอเพนซอร์ซ

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

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

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

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?
//@version=2

// Average Price Movement inidcator displays the high/low for the period over time. On top of that an 8 period exponential moving avergae is attached
// to get average movement over time. It provides, for eg. on a Daily chart, gives a day range and this can be used to book profits or place stop loss. 
// It is very simple indicator to provide price range over time.

study("Average Pip Movement")

highTimeFrame = input(title="Time Frame " , type=string,defval="D")
average = input(title="Average EMA", type=integer, defval=8)
data  = security(tickerid,highTimeFrame,high-low)
ema = ema(data,average)

plot(data,color=blue, linewidth=1)
plot(ema,color=red,linewidth=2)