Simple Pine Script Project

The script was created following the instructions. The strategy condition is close > ema. The illustration shows an unoptimized EMA with a period of 45. When optimizing, it was not possible to overcome the Buy and Hold mode, which had a small profit. The strategy operated with a loss for all parameters. The smallest loss was achieved with a period of 2.