Hi, I hope someone can help. I started using this VIX indicator recently, and have found that it is pretty decent at finding when price is about to move, but different timeframes need very different settings to make them work. If I could be able to set the average and the signal line.
This is the code I'm working with:
# Indicator: VIX_BuySignal
declare lower;
def vix_data = close("VIX");
plot vix_average = (vix_data / average(vix_data, 30));
plot signal_line = 1;
vix_average.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Thanks in advance.
This is the code I'm working with:
# Indicator: VIX_BuySignal
declare lower;
def vix_data = close("VIX");
plot vix_average = (vix_data / average(vix_data, 30));
plot signal_line = 1;
vix_average.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Thanks in advance.