I successfully added the strategy on my chart, but it does not generate any orders

If the strategy does not generate a single order when applied to the chart, and there are no errors in the chart legend (at the top), it means the conditions for the order generation were not met. It could also mean that the orders were generated, but never met the market price.

You can add plots to your strategy source code to see when the conditions are met/not visible on the chart. Here is a modified code of our blank strategy script that demonstrates how you can do this (pay attention to plotshape functions):

strategy('My Strategy', overlay = true)

longCondition = ta.crossover(ta.sma(close, 14), ta.sma(close, 28))
if longCondition
    strategy.entry('Long', strategy.long)

plotshape(longCondition, color=color.new(color.blue, 0))

shortCondition = ta.crossunder(ta.sma(close, 14), ta.sma(close, 28))
if shortCondition
    strategy.entry('Short', strategy.short)

plotshape(shortCondition, color=color.new(color.red, 0))

If the conditions are met, you will see red and blue crosses above the bars.