NexusFi: Find Your Edge


Home Menu

 





RISK_VIX Inverted


Discussion in NinjaTrader

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




 
Search this Thread

RISK_VIX Inverted

  #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?
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks




Last Updated on March 5, 2014


© 2024 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 - Privacy Policy - Downloads - Top
no new posts