REV0LUTI0N

Momentum Long Strategy

REV0LUTI0N ที่อัปเดต:   
This is a momentum indicator strategy that plots 2 lines on the momentum indicator and if both cross above zero a long entry is generated and if both cross below zero a long exit is generated. It also has code to check and make sure the condition is still true when launching the official alert, which helps back testing and live results line up, however be sure to enter commission and slippage into the properties to accurately reflect profits. There's also an optional "percent" option and selecting the MOM1 option in the "MOM Choice" field as it uses a slightly different calculation and may provide better results than the standard momentum calculation. The zero line plotted on the indicator so you can clearly see when lines are crossing above or below zero. Also I'd like to thank @felipecms14 for his open source momentum code. I added back testing date ranges to this so you can easily pull up and see back tested results for a certain date range. I also added a buy and sell message field in the properties so you can launch alerts that will work with automated trading services. Simply enter your buy message and sell message into those fields in the properties and then when you create an alert enter {{strategy.order.alert_message}} into the alert body and it will dynamically pull in your buy and sell messages when it fires alerts.
เอกสารเผยแพร่:
Made it so the exit signal says MomExit instead of MomSE so it accurately reflects this being long only.
สคริปต์โอเพนซอร์ซ

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

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

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

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