"Sell in May, buy in September"-Strategy
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © DynamicSignalLab

//@version=5
strategy("Sell in May, buy in September Strategy", overlay=false)

longCondition = month==9
closecondition = month==5

if longCondition
    strategy.entry("long", strategy.long)

if closecondition
    strategy.close("long", when=closecondition)
