'Strategy Not Making Trades

This strategy makes trades in backtest and live on the chart, but for my paper trading account no trades are executed.

//@version=5
strategy('Heiken Ashi Price Action', overlay=true)

//Enter trade
if close > open and high > close and high - close > (open - low) * 3
    strategy.entry('long', strategy.long, 1)

if close < open and low < close and close - low > (high - open) * 3
    strategy.entry('short', strategy.short, 1)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source