def find_support_resistance(prices):
support = min(prices)
resistance = max(prices)
return support, resistance
prices = [100, 110, 105, 115, 120, 125, 130]
support_level, resistance_level = find_support_resistance(prices)
print ( support_level)
print(resistance_level)
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。