keep getting same errors can someone help
# Takashi Kotegawa Inspired Strategy with Orders
input over_bought = 70;
input over_sold = 30;
def price = close;
def maLength = 25; # Fixed length value
def rsiLength = 25; # Fixed length value
def ma = Average(price, maLength);
def rsi = RSI(price, rsiLength);
def upperBand = ma + 2 * StDev(price, maLength);
def lowerBand = ma - 2 * StDev(price, maLength);
plot BuySignal = price crosses above lowerBand and rsi < over_sold;
plot SellSignal = price crosses below upperBand and rsi > over_bought;
BuySignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
SellSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
BuySignal.SetDefaultColor(Color.GREEN);
SellSignal.SetDefaultColor(Color.RED);
# Separate conditions for orders
def buyCondition = price crosses above lowerBand and rsi < over_sold;
def sellCondition = price crosses below upperBand and rsi > over_bought;
# Add orders with fixed conditions
AddOrder(OrderType.BUY_AUTO, buyCondition, tickcolor = GetColor(1), arrowcolor = GetColor(1), name = "Buy Order");
AddOrder(OrderType.SELL_AUTO, sellCondition, tickcolor = GetColor(2), arrowcolor = GetColor(2), name = "Sell Order");
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11
# Takashi Kotegawa Inspired Strategy with Orders
input over_bought = 70;
input over_sold = 30;
def price = close;
def maLength = 25; # Fixed length value
def rsiLength = 25; # Fixed length value
def ma = Average(price, maLength);
def rsi = RSI(price, rsiLength);
def upperBand = ma + 2 * StDev(price, maLength);
def lowerBand = ma - 2 * StDev(price, maLength);
plot BuySignal = price crosses above lowerBand and rsi < over_sold;
plot SellSignal = price crosses below upperBand and rsi > over_bought;
BuySignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
SellSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
BuySignal.SetDefaultColor(Color.GREEN);
SellSignal.SetDefaultColor(Color.RED);
# Separate conditions for orders
def buyCondition = price crosses above lowerBand and rsi < over_sold;
def sellCondition = price crosses below upperBand and rsi > over_bought;
# Add orders with fixed conditions
AddOrder(OrderType.BUY_AUTO, buyCondition, tickcolor = GetColor(1), arrowcolor = GetColor(1), name = "Buy Order");
AddOrder(OrderType.SELL_AUTO, sellCondition, tickcolor = GetColor(2), arrowcolor = GetColor(2), name = "Sell Order");
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11
Only constants expected here: _inline_referenced_param_bSRP_230541_length CL constant function parameter 'length' at 10:11