TradingView
tbernache
2 Th10 2021 01:01

SQV Cross 

Tesla, Inc.NASDAQ

Mô tả

This strategy is used to find tickers that do well when SPY and QQQ are up and VIX is down. This uses EMA's on the user defined resolution to define direction of each ticker. Trades are entered upon crossover. EMAs are user defined as well.

Phát hành các Ghi chú

Replaced the manual timeframe input with timeframe.period to use whichever timeframe the user is looking at. Left the original commented so you can look at diferent timeframes if you want to.
Bình luận
liuqiba
“strategy.exit ("Exit Long","long", trail_points = 10,trail_offset = 50, loss =70) ”
There is a bug in pine,you can see ,all in one day buy and sell
Thêm nữa