Chapter 9  附錄:海龜通道系統完整程式碼

//@version=5

//@itradesoeasy.com

strategy("海龜通道策略()_TradeSoEasy", overlay=true)


// 輸入參數

channelLength = input(20, "通道長度")

EXITLENGTH = input(10, "出場通道長度")


// 計算進場價格

lentryPrice = ta.highest(high, channelLength)

sentryPrice = ta.lowest(low, channelLength)

sexitPrice = ta.highest(high, EXITLENGTH)

lexitPrice = ta.lowest(low, EXITLENGTH

About Us User AgreementPrivacy PolicyRisk DisclosurePartner Program AgreementCommunity Guidelines Help Center Feedback
App Store Android

Risk Disclosure

Trading in financial instruments involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Any opinions, chats, messages, news, research, analyses, prices, or other information contained on this Website are provided as general market information for educational and entertainment purposes only, and do not constitute investment advice. Opinions, market data, recommendations or any other content is subject to change at any time without notice. Trading.live shall not be liable for any loss or damage which may arise directly or indirectly from use of or reliance on such information.

© 2024 Tradinglive Limited. All Rights Reserved.