VSA for ThinkorSwim - ThinkOrSwim Programming | futures io social day trading
futures io futures trading


VSA for ThinkorSwim
Updated: Views / Replies:169,739 / 429
Created: by cbritton Attachments:131

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 131  
 
Thread Tools Search this Thread
 

VSA for ThinkorSwim

  #421 (permalink)
Trading Apprentice
Kansas City, MO USA
 
Futures Experience: Intermediate
Platform: TOS, Laser,IB
Favorite Futures: Stocks
 
Posts: 8 since Jul 2014
Thanks: 0 given, 5 received

RelativeVolumeStDev

The TOS RelativeVolumeStDev indicator has some similar results to the EffortUP/DOWN signal in VSA for a quick heads up.

Reply With Quote
The following 2 users say Thank You to satanscashcow for this post:
 
  #422 (permalink)
Trading Apprentice
Kansas City, MO USA
 
Futures Experience: Intermediate
Platform: TOS, Laser,IB
Favorite Futures: Stocks
 
Posts: 8 since Jul 2014
Thanks: 0 given, 5 received

VSA with momo indicators

thinkorswim Sharing
Using VSA with momo indicators: FW_MOBO Basic; Hull mov avg; TMV
and vol/deviation indicators: RelativeVolumeStDev and "volume at time of day".

Reply With Quote
The following 2 users say Thank You to satanscashcow for this post:
 
  #423 (permalink)
Trading Apprentice
Lakewood
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: Emini es
 
Posts: 1 since Dec 2015
Thanks: 0 given, 0 received

Vpa scan


When I paste the code, tos states that it's missing the code to plot it. Does anyone have the code to add for plotting it as a study? Thanks in advance!

Reply With Quote
 
  #424 (permalink)
Trading Apprentice
albuquerque nm/usa
 
Futures Experience: Intermediate
Platform: thinkorswim
Favorite Futures: forex
 
Posts: 29 since Aug 2015
Thanks: 3 given, 8 received


theinvestor View Post
When I paste the code, tos states that it's missing the code to plot it. Does anyone have the code to add for plotting it as a study? Thanks in advance!

I'm guessing you mean either the Red Arrow code at top of previous page, or the Green Arrow code below that. In the first case, remove the # from in front of any "plot" lines of code. In the second case, for any defs for which you'd like to see plots, add a line below the def that says:
plot (make up a name) = (name of the def);
Also, these studies seem to only concern futures ("/xx"), not stocks or forex. But maybe you knew that.

Reply With Quote
 
  #425 (permalink)
Elite Member
houston Texas/USA
 
Futures Experience: Beginner
Platform: thinkorswim
Favorite Futures: emini
 
Posts: 4 since Apr 2016
Thanks: 3 given, 1 received

I am getting the same plot message

was the plot issue resolved because I was not able to fix it by making up a name .. like the explanation said

Reply With Quote
 
  #426 (permalink)
Trading Apprentice
albuquerque nm/usa
 
Futures Experience: Intermediate
Platform: thinkorswim
Favorite Futures: forex
 
Posts: 29 since Aug 2015
Thanks: 3 given, 8 received


jperales42 View Post
was the plot issue resolved because I was not able to fix it by making up a name .. like the explanation said

jperales42, it's been almost a year and I lost track and now can't wrap my head around it. Sorry. If you want, please post which code is not doing what you want and say again what you want it to do? I know you want it as a study.

Reply With Quote
 
  #427 (permalink)
Elite Member
houston Texas/USA
 
Futures Experience: Beginner
Platform: thinkorswim
Favorite Futures: emini
 
Posts: 4 since Apr 2016
Thanks: 3 given, 1 received

new for intraday trendline break alert study


tangerine View Post
jperales42, it's been almost a year and I lost track and now can't wrap my head around it. Sorry. If you want, please post which code is not doing what you want and say again what you want it to do? I know you want it as a study.

# TS_TrendLineAlert
# ThinkScripter Community Forum - Give Help, Get Help, Pay it Forward
# thinkscripter@gmail.com
# Last Update 20 SEP 2010


#hint: Plots a trend line between the two input dates, calculates and plots an extension, and alerts on trend line violation. Daily charts only.
#hint startDateYyyyMmDd: Select starting date of trend line.
#hint endDateYyyyMmDd: Select ending date of trend line.
#hint mode: Select an up trending or down trending line.

input startDateYyyyMmDd = 20161020;
input endDateYyyyMmDd = 20161023;
input mode = {default upTrend, downTrend};

DefineGlobalColor("UpTrend", Color.GREEN);
DefineGlobalColor("DownTrend", Color.RED);
DefineGlobalColor("Extension", Color.WHITE);

def start = if Getyyyymmdd() == startDateYyyyMmDd then 1 else 0;
def end = if GetYYYYMMDD() == endDateYyyyMmDd then 1 else 0;

rec startPrice = if start and mode == mode.upTrend then low else if start and mode == mode.downTrend then high else startPrice[1];
rec startBar = if start then BarNumber() else startBar[1];

rec endPrice = if end and mode == mode.upTrend then low else if end and mode == mode.downTrend then high else endPrice[1];
rec endBar = if end then BarNumber() else endBar[1];

plot trendLine = if start then startPrice else if end then endPrice else Double.NaN;
trendLine.EnableApproximation();
trendLine.AssignValueColor(if mode == mode.upTrend then GlobalColor("UpTrend") else GlobalColor("DownTrend"));
trendLine.SetLineWeight(2);

rec extend = if end and close then 1 else extend[1];
def slope = (endPrice - startPrice) / (endBar - startBar);

def curPrice = (BarNumber() - endBar) * slope + endPrice;
plot extension = if extend then curPrice else Double.NaN;
extension.SetDefaultColor(Color.WHITE);
extension.SetLineWeight(2);
extension.SetStyle(Curve.SHORT_DASH);

def trendLineViolation = if (mode == mode.upTrend and close < extension and close[1] > extension[1]) or (mode == mode.downTrend and close > extension and close[1] < extension[1]) then 1 else 0;

plot breach = if trendLineViolation then extension else Double.NaN;
breach.SetStyle(Curve.POINTS);
breach.AssignValueColor(if mode == mode.upTrend then Color.RED else Color.GREEN);
breach.SetLineWeight(5);

rec violated = if trendLineViolation[1] then 1 else violated[1];
extension.AssignValueColor(if violated then Color.GRAY else GlobalColor("Extension"));

Alert(trendLineViolation, Concat(GetSymbolPart(), " trend line violation"), Alert.BAR, Sound.Ring);


this code is missing something because it wont work, also i would like to use it for intraday charts if possible.

Reply With Quote
The following 2 users say Thank You to jperales42 for this post:
 
  #428 (permalink)
Trading Apprentice
ON venus
 
Futures Experience: Advanced
Platform: thinkorswim
Favorite Futures: options
 
Posts: 17 since Nov 2016
Thanks: 1 given, 5 received

looks interisting

Reply With Quote
 
  #429 (permalink)
Trading Apprentice
ON venus
 
Futures Experience: Advanced
Platform: thinkorswim
Favorite Futures: options
 
Posts: 17 since Nov 2016
Thanks: 1 given, 5 received

I'll try to test it , thanks

Reply With Quote
The following user says Thank You to optiontrader101 for this post:
 
  #430 (permalink)
Trading Apprentice
ON venus
 
Futures Experience: Advanced
Platform: thinkorswim
Favorite Futures: options
 
Posts: 17 since Nov 2016
Thanks: 1 given, 5 received



cbritton View Post
Another update. In this version, I corrected the averaging functions to use the compoundValue() function. It may not make that big of a difference but it should be there.

I've also created the volume indicator as a separate study. I'm not that well versed in Thinkscript to know how, or if, an indicator can have a graph on 2 different panes. If someone knows, let me know so I can combine these two. See the screenshot with the volume.

Thanks to Mike for adding the .ts extension to the list of file uploads.

Regards,
-C

it works perfectly , thanks

Reply With Quote

Reply



futures io > > > > > VSA for ThinkorSwim

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume Spread Analysis (VSA) slumlord Traders Hideout 57 December 6th, 2017 01:19 AM
VSA indicator for MT4 sam1197 MetaTrader 12 December 21st, 2015 08:15 PM
VSA alexav Russian Traders 5 December 17th, 2012 05:03 AM
VSA in MC? TonyB MultiCharts 10 May 28th, 2011 11:37 AM


All times are GMT -4. The time now is 07:59 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@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 2017-12-15 in 0.13 seconds with 20 queries on phoenix via your IP 54.163.61.66