I tried using chatgpt to generate a system but it doesn't work properly.
trading system in Amibroker code that uses MACD and RSI indicators
// MACD and RSI trading system
Length = 14;
FastLength = 12;
SlowLength = 26;
SignalLength = 9;
macd = MACD(Close, FastLength, SlowLength...