On SPY chart, I want to add following signal:
condition1 = VIX <=15.8;
if condition1 then
sell 100 contracts next bar at marke
Compile result shows:
is not recognized
line 1, column 13
VIX is not recognized?
"VIX" is unrecognizable? [SOLVED]
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: "VIX" is unrecognizable? [SOLVED]
VIX is a symbol, ie. a data stream, not an indicator.On SPY chart, I want to add following signal:
condition1 = VIX <=15.8;
if condition1 then
sell 100 contracts next bar at marke
Compile result shows:
is not recognized
line 1, column 13
VIX is ot recognized?
you will need to use multi-data analysis.
see post #4
[FAQ] Multiple time frame, Multi-Data Analysis
viewtopic.php?f=16&t=6929
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times