If price (Blue line) is higher than 0.60 and (Red Line) is lower than 0. 40 then there is lower and this is good for buying.
If price (Blue line) is lower than 0. 40 and (Red Line) is higher than 0.60 then there is higher and this is good for selling, exiting and cash only.
If you like risk you can enter as soon as the price and cross in either direction
This is my first script, please give me a lot of critique, I won't cry hahaha :)
For greater accuracy, you use these products for their specific stocks/Indicies:
Apple - VXAPL
Google - VXGOG
Amazon - CBOE:VXAZN
IBM - CBOE:VXIBM
Goldman Sachs - CBOE:VXGS
NASDAQ 100 = CBOE:VXN
SP100 - CBOE:VXO
SP500 (3months) - VIX3M
XLE (energy sector) - CBOE:VXXLE
EWZ (brazil ) - VXEWZ
EEM ( emerging markets ) - CBOE:VXEEM
EFA ( MSCI ) - CBOE:VXEFA
FXI ( ) - CBOE:VXFXI
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.