Simple Moving average of 30 and 50 should be a crossover, if crossover happens and 30 goes above 50 then buy and vice versa.
also, RSI (24) should be above 50 for a buy and below 50 for a sell.
Could i please get a code for the above two conditions?