fix: Define 'results' in check_atr_ema_buy_condition function
This commit is contained in:
parent
8f34d143c8
commit
df4ee34b3a
@ -13,6 +13,8 @@ def check_atr_ema_bullish_signal(df: pd.DataFrame) -> bool:
|
|||||||
last_price = df.iloc[-1]
|
last_price = df.iloc[-1]
|
||||||
indicator = ThreeATREMAIndicator()
|
indicator = ThreeATREMAIndicator()
|
||||||
results = indicator.calculate(df)
|
results = indicator.calculate(df)
|
||||||
|
indicator = ThreeATREMAIndicator()
|
||||||
|
results = indicator.calculate(df)
|
||||||
last_bands = results.iloc[-1]
|
last_bands = results.iloc[-1]
|
||||||
|
|
||||||
print(f"\nSunnyBands Indicators:")
|
print(f"\nSunnyBands Indicators:")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user