TradingView
DynamicSignalLab
May 6, 2022 8:14 AM
"Sell in May, buy in September"-Strategy
BITSTAMP:BTCUSD
Bitcoin / U.S. dollar
Bitstamp
描述
⋅
May 6, 2022 8:14 AM
Dear TV'ers,
This script applies the classic traders mantra of "Sell in May, buy in September". Not much else to it to be honest. Seems to work though :-).
sentiment
MAY
september
评论
MoreCrazy
⋅
May 30, 2022 3:12 PM
strategy("Sell in May, buy in September Strategy", overlay=false)
strategy.entry("long", strategy.long, when=month==9)
strategy.close("long", when=month==5)
:>
DynamicSignalLab
⋅
May 31, 2022 10:11 AM
@MoreCrazy
, hahaah awesome. improved dramatically :-)
constantine_trading
⋅
May 6, 2022 1:51 PM
super easy, still one of the greatest strategies. could also add a 2nd time range for the close observer ;)
DynamicSignalLab
⋅
May 27, 2022 2:43 PM
@constantine_trading
, sure i could do that, but this script was just for fun :-)
更多
strategy.entry("long", strategy.long, when=month==9)
strategy.close("long", when=month==5)
:>