HayeTrading

MASelect Crossover Strat

Basic Crossover Strategy for backtesting purposes, to use with the study+alert script.

Use "Format" to change your settings. Both Moving Averages can be changed individually to swap between EMA (Exponential Moving Average), SMA (Simple Moving Average), WMA (Weighted Moving Average), DEMA (Double Exponential Moving Average) and VWMA (Volume Weighted Moving Average).

"Active Length" should be shorter than "Base Length". As usual with crossover strategies, candle resolution will affect results greatly. Longer=better.

Strategy options are "Long+Short" or "Long Only".

Entries/Exits are based on crossovers/crossunders only, but I encourage you to add further exit conditions and play around with the code.

I made this for beginners on Autoview discord to have something to play with, and added some unnecessary visual changes just to give code examples (changing things like background color, candle color, line color, plotting shapes, different plot styles).

Play around combining different types of Moving Averages of different lengths.

discord.gg/mFYvr2bGtu - FREE Trading Chat Rooms
สคริปต์โอเพนซอร์ซ

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

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

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

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