The strategy is very simple, it is based on the RSI and MACD indicatorsat the beginning we need to obtain data on the time period and the (GET historical candles) themselves with a shift of 1 in order to track the closing data of the previous candle in the future
screenthen get indicator data
screenRSI time period 7 time frame ( tf) 10min
macd (12.26.9) tf 10min
if the masd signal line is above 0 and the RSI is above 75, a check is triggered for the presence of open buy positions, and if there…