4Slopes. hecate
==============
Using 4 smoothed Slopes (not lagging) and checking when they start to decrease (entering the orange zone) we can either get a general idea (although quite chaotic) view or general tendency of all together .
OR
Use them trading the equity in 4 parts. one will be trading on faster movements (faster slope), second slightly slower and the other two slower and slower. Faster ones will be more profitable but more aggressive and risky than the slower ones.

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

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

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

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

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?
study("4S",overlay=false)
c=input(close)

p1=input(75,title="First Slope Period", type=integer, minval=2,maxval=600)
p2=input(150,title="Second Slope Period", type=integer, minval=2, maxval=600)
p3=input(300, title="Third Slope Period", type=integer, minval=2,maxval=600)
p4=input(375, title="Fourth Slope Period", type=integer, minval=2,maxval=600)

slope(a,b)=>(linreg(a,b,0)-linreg(a,b,0)[b])/b

s1 = slope(c,p1)
s2 = slope(c,p2)
s3 = slope(c,p3)
s4 = slope(c,p4)

plot(s1,color=s1>s1[1]?white:s1<s1[1]?orange:na,style=line,linewidth=1)
plot(s2,color=s2>s2[1]?white:s2<s2[1]?orange:na,style=line,linewidth=2)
plot(s3,color=s3>s3[1]?white:s3<s3[1]?orange:na,style=line,linewidth=3)
plot(s4,color=s4>s4[1]?white:s4<s4[1]?orange:na,style=line,linewidth=4)