import numpy as np
import pandas as pd
import pandas_ta as ta

short_period = 180
long_period = 720

for symbol in target_symbols:

    # Get candle data
    close_sr = candle_data[(symbol, "Close")]
    volume_sr = candle_data[(symbol, "Volume")]

    # Price scale indicators
    price_sma_one = ta.sma(close_sr, short_period)
    price_sma_two = ta.sma(close_sr, long_period)
    new_indicators[(symbol, "Price", "SMA One (#00BBFF)")] = price_sma_one
    new_indicators[(symbol, "Price", "SMA Two (#FF6666)")] = price_sma_two

    # Volume scale indicators
    volume_sma_one = ta.sma(volume_sr, short_period * 2)
    volume_sma_two = ta.sma(volume_sr, long_period * 2)
    new_indicators[(symbol, "Volume", "SMA One")] = volume_sma_one
    new_indicators[(symbol, "Volume", "SMA Two")] = volume_sma_two

    # Abstract scale indicators
    wildness = volume_sma_one / volume_sma_two
    wildness[wildness > 1.5] = 1.5
    new_indicators[(symbol, "Abstract", "Wildness")] = wildness
