Forum

I asked chatgpt to code me this and this code does not generate the arrows for which all the parameters are met

Here is the parameters: the buy signal is: in the 30mins timeframe, ma50 should be below price, ma100 should be below ma50, the macd signal crosses above or has crossed above the base line + in the 1hr timeframe, the macd signal line crosses or has crossed above the macd base line. This is the buy