Fix bugs in simple pine script strategy

Job ID: 33232274

Budget: $15 – $25 CAD

Hello! I am attempting to code a basic strategy but have a few small bugs that need fixing.

Should be <15 minutes for someone who knows what they are doing!

Please see screen shot attached, and video as well here: https://screencast-o-matic.com/watch/c3ebqfVFpKs

Script itself is also attached. Thanks so much for your interest.
Related categories: Pine Script