RISK_VIX Inverted - NinjaTrader Programming | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

RISK_VIX Inverted
Started:March 5th, 2014 (07:03 AM) by jmagaia Views / Replies:299 / 1
Last Reply:March 5th, 2014 (07:03 AM) Attachments:0

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

RISK_VIX Inverted

Old March 5th, 2014, 07:03 AM   #1 (permalink)
Elite Member
Porto Portugal
Futures Experience: Intermediate
Platform: IB
Favorite Futures: Stocks
Posts: 15 since Mar 2012
Thanks: 8 given, 3 received

RISK_VIX Inverted


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?

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.SetDefaultColor(createColor( 255, 100, 100 ));

plot hiLine = 60;
hiLine.SetDefaultColor(createColor( 102, 102, 255 ));

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


Reply With Quote

Old March 5th, 2014, 07:03 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > RISK_VIX Inverted

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the rationale behind an inverted market? Jura Traders Hideout 4 January 17th, 2013 03:55 PM
Inverted price charts? ticker NinjaTrader 5 May 8th, 2012 12:15 PM

All times are GMT -4. The time now is 01:18 AM.

Copyright © 2016 by futures.io. 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.
no new posts

Page generated 2016-10-25 in 0.07 seconds with 19 queries on phoenix via your IP