Volume UP/Down Ratios - ThinkOrSwim | futures.io
futures.io futures trading

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim

Volume UP/Down Ratios
Started:January 14th, 2014 (02:36 PM) by Huddy1955 Views / Replies:1,678 / 1
Last Reply:January 14th, 2014 (03:01 PM) 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

Volume UP/Down Ratios

Old January 14th, 2014, 02:36 PM   #1 (permalink)
Trading Apprentice
Los Angeles, California USA
Futures Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: E-mini's all
Posts: 1 since Dec 2013
Thanks: 0 given, 0 received

Volume UP/Down Ratios

Hello everyone - I have just started looking at programing in ThinkScript - I have been using Worden2000 and programing there is very, very easy.

Currently on TOS I have a study that shows me an UP/DOWN ratio on the $VOLD (Up Volume - Down Volume).
It looks like this:

def U = close("$UVOL");
def D = close ("$DVOL");
def UDL = U - D;
def UDR = if U > D then U / D else -D / U;
input mode = {default Ratio, Issues};
def modeSwitch = if mode == mode.Ratio then 1 else 0;
AddLabel(yes, concat(
if modeSwitch then UDR else UDL, concat(" ",
if modeSwitch then ":1 U/D RATIO" else " U/D LINE")),
if modeSwitch then if UDR > UDR[1] then color.green else color.red else if UDL > UDL[1] then color.green else color.red);
plot null = double.nan;

This puts a green or red label on the $VOLD chart and gives me an indication of strength of the move - ie 2.2 to 1 or 3.5 to 1 etc, etc.

What I want to do, and I don't have a clue as to how to do it, is to actually PLOT the U/D ratio on a chart (line or candles) rather than just be a label.

I also have a similar ThinkScript for $ADVN-$DECN (advancers - decliners) (Also have it for Q's)

Can anyone point me in the right direction to get this plotted?



Reply With Quote

Old January 14th, 2014, 03:01 PM   #2 (permalink)
Elite Member
Edmonton, Alberta
Futures Experience: Advanced
Platform: IB
Favorite Futures: nq
Posts: 55 since Jan 2012
Thanks: 27 given, 56 received

I think Brad and Peter at Shadow Traders have this on their website. Video regarding market internals on TOS

Created by Camtasia Studio 5

Reply With Quote


futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > Volume UP/Down Ratios

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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
[NinjaTrader]    BID ASK RATIOS mroussos NinjaTrader 1 May 27th, 2013 10:27 AM
Evaluation Discussion of Performance Ratios RM99 Psychology and Money Management 6 January 28th, 2013 02:07 PM
Scaling up with different strategies current profitability ratios leinster Elite Automated Trading 3 December 3rd, 2012 09:40 AM
getting ninja to calculate sharpe ratios PandaWarrior NinjaTrader 5 May 21st, 2012 03:48 PM
Sluggish Price/Earnings Ratios Could Threaten Rally Quick Summary News and Current Events 0 January 16th, 2011 01:10 PM

All times are GMT -4. The time now is 11:24 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-26 in 0.06 seconds with 19 queries on phoenix via your IP