CALGARY -- Leon Draisaitl scored his 40th goal, and Connor McDavid got his 98th and 99th assists of the season to help the Edmonton Oilers recover for a 4-2 win against the Calgary Flames at Scotiabank Saddledome on Saturday.

Ryan Nugent-Hopkins had a goal and two assists, and Evan Bouchard and Connor Brown scored for the Oilers (47-24-5), who have won five of seven (5-1-1), including 6-2 against the Colorado Avalanche on Friday that clinched a berth in the Stanley Cup Playoffs. Calvin Pickard made 33 saves.

"We just want to make sure we're playing the right way heading into the playoffs," Pickard said. "We have six games left and we just want to get our game in order. It's about us in here and not worrying about our opponents until playoffs."

Yegor Sharangovich had a goal and an assist, Andrei Kuzmenko had two assists, and Jacob Markstrom made 23 saves for the Flames (34-37-5), who have lost three straight and eight of nine.

"I think it's not easy the position we're in, but the guys are showing up," Calgary forward Jonathan Huberdeau said. "Bigger game against Edmonton. We don't like each other, and the rivalry, but it [stinks] coming up short like this in the game. It would've been nice for us to feel better after this game."

EDM@CGY: Bouchard one-times PPG to regain the lead

Bouchard gave the Oilers a 3-2 lead at 10:36 of the third period, beating Markstrom with a slap shot from the point on a power play.

Nugent-Hopkins scored an empty-net goal at 19:17 for the 4-2 final.

"I don't think we're happy with our second," Edmonton forward Derek Ryan said. "They took it to us a little bit. That's what happens in big games, a lot of momentum swings and ebbs and flows. We were able to come out and have a really good third, I was happy about that, and regroup and found two points."

Draisaitl put the Oilers ahead 1-0 at 19:44 of the first period. He scored on a one-timer from the right face-off circle off a pass from Nugent-Hopkins on a power play.

Brown extended the lead to 2-0 at 3:13 of the second period, chipping in a loose puck at the top of the crease.

"Up and down the lineup ... first line, fourth line, all the [defensemen], both goalies ... you're going to need everybody," Pickard said. "It's very exciting and encouraging going forward. We want to finish business here for the next few games. We're obviously playing for seeding and want that home ice. It's an exciting time of the year."

EDM@CGY: Draisaitl slams in PPG for 40th this season

Sharangovich cut it to 2-1 at 3:57 with a power-play goal. He beat Pickard with a one-timer from the left circle off a pass from Kuzmenko from behind the net for his 30th goal of the season.

"We knew the type of guy we were getting when we traded for him (last offseason)," Flames coach Ryan Huska said of Sharangovich. "We knew there was some speed there, which was something we felt we were lacking and we needed to have. He's got some size (6-foot-2, 196 pounds), but he's also got a skill set."

Nazem Kadri tied it 2-2 at 7:13 of the third period when he redirected Sharangovich's shot past Pickard's glove on a power play.

"I thought we battled hard," Huberdeau said. "I thought we deserved better tonight. They've got a good power play and took advantage of that. We came up short, but I thought our effort ... I thought we were the better team tonight."

NOTES: McDavid needs one more assist to become the fourth player in NHL history to have a 100-assist season. The other three are: Wayne Gretzky (11 times), Mario Lemieux (1988-89) and Bobby Orr (1970-71). ... Draisaitl joined Alex Ovechkin (13), Auston Matthews (six) and Steven Stamkos (six) as the fourth active player with at least five career 40-goal seasons. ... Kuzmenko has nine points (four goals, five assists) in a five-game point streak.