Support and resistant find

89


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)



Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.