NexusFi: Find Your Edge


Home Menu

 





RISK_VIX Inverted


Discussion in NinjaTrader

Updated
    1. trending_up 1,571 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 jmagaia 
Porto Portugal
 
Experience: Intermediate
Platform: IB
Trading: Stocks
Posts: 15 since Mar 2012
Thanks Given: 9
Thanks Received: 3

Hi!

This a indicator for TOS.
What I see is we can use this signal together with others it is a good material for stay long in Index, like SPY.
I remmeber together for example with Coppock etc..

Some one can do this Indicator?


Quoting 
RISK_VIX ---- is Inverted. Stoch/RSI using MetaStock's formula for Stochastics. March 31, 2012
# MetaStock formula compliments of Joe Dupcak
# Line changes color to Red when it has moved at least 10 points above its lowest level over the last 15 periods. Compliments of Richard Houser
# AddLabel compliments of Larry Thompson
# Always calculates off of VIX data regardless of what security is being charted

declare lower;

plot Scriptlabel = double.nan;
Scriptlabel.SetDefaultColor( CreateColor( 0, 0, 51 ) );

Input Symb = "VIX";
Input length = 21;
Input smooth = 13;
Input RSILength = 14;
input risk_len = 15;
input risk_range = 10.0;

def Vc = Close(Symb);
def LLV = Lowest(Low(Symb), length);
def HHV = Highest(High(Symb), length);
def A = sum(Vc - LLV, smooth);
def B = Sum(HHV - LLV, smooth);
def StochMetaStock = 100 * A / B;

def RSI = reference RSIWilder(length = RSILength, price = Close(Symb));

# 100 - ( ) below is what Inverts the line
def data =100- (StochMetaStock + RSI ) /2;
plot Risk = data;

def risk_LLV = Lowest( data, risk_len );
def risk_color = if data >= ( risk_LLV + risk_range ) and data < 55 then yes else no;

addlabel(yes,"RISK VIX " + Round(Risk,2),color.YELLOW);

Risk.DefineColor( "riskUp", Color.RED );
Risk.DefineColor( "riskFlat", Color.CYAN );
Risk.AssignValueColor( if risk_color then Risk.color( "riskUp" ) else Risk.color( "riskFlat" ) );

plot lowLine = 45;
lowLine.SetPaintingStrategy(PaintingStrategy.LINE);
lowLine.SetDefaultColor(createColor( 255, 100, 100 ));
lowLine.SetLineWeight(1);
lowLine.HideBubble();

plot hiLine = 60;
hiLine.SetPaintingStrategy(PaintingStrategy.LINE);
hiLine.SetDefaultColor(createColor( 102, 102, 255 ));
hiLine.SetLineWeight(1);
hiLine.HideBubble();

Some one can see how work this indicator here:
Gauging RISK In The Stock Market

Thanks


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
CFTC Launches Innovation Task Force for AI Trading Syste …
Traders Hideout
Prop Firms Are Banning Gold Trading as Record Prices Mak …
Funded Trading Evaluation Firms
Asia Equities Crash Overnight -- Nikkei -5.2%, KOSPI -6. …
Traders Hideout
NinjaTrader Parent Payward Acquires Bitnomial for $550M …
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks




Last Updated on March 5, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts