OrionAlgo

cowen risk index

OrionAlgo ที่อัปเดต:   
This is my attempt at remaking the cowen risk index. It's definitely not correct, but should give a rough estimate of where his indicator is at. I am taking the price divided by the 400sma to get an oscillator, then we need to account for diminishing returns so I just made an exponentially increasing variable and mutliplying that by the oscillator value. Then I normalized the data as best as I could. Not sure exactly how to do that so if anyone has any suggestions, please let me know.

This only works on the daily and weekly timeframe. You will need to edit the code if you want to have it work for other timeframes.
เอกสารเผยแพร่:
Added some custom bools for normalizing and adjust the exponential factor.
เอกสารเผยแพร่:
small adjustments to the default factors
เอกสารเผยแพร่:
Figured out how to automatically draw risk levels. No more normalize needed. Simplified the code quite a bit.
สคริปต์โอเพนซอร์ซ

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

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

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

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