TradingView
J_Sims
Apr 22, 2016 1:08 AM
Put/call ratio cross - buy and sell SPY
USI:PC
1D
PUT/CALL RATIO
USI
Description
⋅
Apr 22, 2016 1:08 AM
When 50DMA and 200DMA cross on PC, algo trades SPY accordingly
Put/Call Ratio (PCR)
Comments
LoganTyler
⋅
Jun 30, 2020 8:12 PM
yea hm
AlexsOptions
⋅
Mar 12, 2020 5:47 PM
Hm
shrikantsawant777
⋅
Aug 18, 2023 8:02 PM
//
@version
=2
strategy("My Strategy", overlay=true)
longCondition = crossover(sma(close, 50), sma(close, 200))
if (longCondition)
strategy.entry("My Long Entry Id", strategy.long)
shortCondition = crossunder(sma(close, 50), sma(close, 200))
if (shortCondition)
strategy.entry("My Short Entry Id", strategy.short)
captdb2000
⋅
Nov 26, 2022 3:36 PM
Just ten lines ? Wow
More