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


VSA for ThinkorSwim
Updated: Views / Replies:169,491 / 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 dont 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

  #21 (permalink)
Just starting out...
East Java
 
Futures Experience: Beginner
Platform: Thinkorswim
Favorite Futures: Stock
 
Posts: 8 since May 2010
Thanks: 4 given, 0 received

Thank You

Thanks a lot for the explanation, It really helpfull.

About TOS programming, is there any guide book or something so I can learn more about it ??
Once again thanks a lot

Reply With Quote
 
  #22 (permalink)
Elite Member
Atlanta, Georgia
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: DDT
Favorite Futures: ZN, ZB
 
cbritton's Avatar
 
Posts: 224 since Mar 2010
Thanks: 152 given, 237 received


bambangww View Post
Thanks a lot for the explanation, It really helpfull.

About TOS programming, is there any guide book or something so I can learn more about it ??
Once again thanks a lot

Hope this helps:

http://team.thinkorswim.com:7001/thinkscript/dark/index.html
The Complete Beginners Guide to Thinkscript Read the Prospectus

Regards,
-C

Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat. - Sun Tzu
Reply With Quote
The following 2 users say Thank You to cbritton for this post:
 
  #23 (permalink)
Just starting out...
NJ
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: ES
 
Posts: 1 since Jun 2010
Thanks: 0 given, 0 received


Hi

I downloaded the code in TOS but not able to see the volume colors and bar colors. Is there any specify think I have to do.

Thanks
MG

Reply With Quote
 
  #24 (permalink)
Just starting out...
East Java
 
Futures Experience: Beginner
Platform: Thinkorswim
Favorite Futures: Stock
 
Posts: 8 since May 2010
Thanks: 4 given, 0 received

Ask about other thing ( supertrend )

Good Morning C,

May ask you about another thing, I have read about supertrend indicator from ninjatrader, I already ask many people about the logic behind that supertrend. I want to put it on my thinkorswim study. Coudl you tell me about the logic, because I can't figure it from the source code. I don't know about C# language.

Thanks for your Help

regard,

Wahyu

Reply With Quote
 
  #25 (permalink)
Just starting out...
East Java
 
Futures Experience: Beginner
Platform: Thinkorswim
Favorite Futures: Stock
 
Posts: 8 since May 2010
Thanks: 4 given, 0 received


mgattani View Post
Hi

I downloaded the code in TOS but not able to see the volume colors and bar colors. Is there any specify think I have to do.

Thanks
MG

Hi Mg,

You could click studies in TOS, choose edit studies ....
Click on VSA studies,
In the down side, there will be the properties, ..
from input criteria, slide it doew, then you could see color bar...
the default value is false, change it to true .

Hope this help ...

Regard,

Wahyu

Reply With Quote
 
  #26 (permalink)
Elite Member
Atlanta, Georgia
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: DDT
Favorite Futures: ZN, ZB
 
cbritton's Avatar
 
Posts: 224 since Mar 2010
Thanks: 152 given, 237 received


bambangww View Post
Good Morning C,

May ask you about another thing, I have read about supertrend indicator from ninjatrader, I already ask many people about the logic behind that supertrend. I want to put it on my thinkorswim study. Coudl you tell me about the logic, because I can't figure it from the source code. I don't know about C# language.

Thanks for your Help

regard,

Wahyu

I'm no expert on SuperTrend, but here's a link to the non-c# formula (see post #10):

SuperTrend formula - Page 2 | Trade2Win Forums

Feel free to start a discussion about converting this to ToS.

Regards,
-C

Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat. - Sun Tzu
Reply With Quote
The following user says Thank You to cbritton for this post:
 
  #27 (permalink)
Trading for Fun
LA, CA
 
Futures Experience: Advanced
Platform: Infinity, IB, TOS
Favorite Futures: currency futures
 
Posts: 93 since Jul 2010
Thanks: 2 given, 24 received

Close Very High display

Thanks for the great study, C. I've been experimenting with it over the past few days and intend to make it a permanent part of my trading screen. I am confused about the display of Very High in the Close field of the banner, however. It seems to display Very High where it should display Very Low. High, Mid, and Down seem to work fine, as does Very High for a bar that closes at the top. I've noticed that it seems to default to Very High on the opening of a bar and will also display Very High as a bar grows to the downside or if the bar closes at its low. Here are the two sections of code that might account for this:

# Check if the close is in the Highs/Lows/Middle of the bar.
def x1 = if (close == low) then avgSpread else (spread / (close - low));
def isUpCloseBar = (x1 < 2);
def isDownCloseBar = (x1 > 2);
def isMidCloseBar = (x1 < 2.2 && x1 > 1.8);
def isVeryHighCloseBar = (x1 < 1.35);

##

AddChartLabel(trendText, concat("Close: ", if (isVeryHighCloseBar) then "Very High"
else if (isUpCloseBar) then "High"
else if (isMidCloseBar) then "Mid"
else if (isDownCloseBar) then "Down"
else "Very Low"), Color.white);

I look forward to your comments. Thanks.

Reply With Quote
 
  #28 (permalink)
Elite Member
San Francisco Bay Area
 
Futures Experience: Intermediate
Platform: NT,TOS,IB
Favorite Futures: ES,CL,TF
 
Posts: 278 since Jun 2010
Thanks: 154 given, 267 received

ThinkScripter – Custom ThinkScript Indicators for the thinkorswim Trading Platform Buy him beer and enjoy the goodies.

Reply With Quote
The following user says Thank You to aviat72 for this post:
 
  #29 (permalink)
Elite Member
Atlanta, Georgia
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: DDT
Favorite Futures: ZN, ZB
 
cbritton's Avatar
 
Posts: 224 since Mar 2010
Thanks: 152 given, 237 received


snowcloud View Post
Thanks for the great study, C. I've been experimenting with it over the past few days and intend to make it a permanent part of my trading screen. I am confused about the display of Very High in the Close field of the banner, however. It seems to display Very High where it should display Very Low. High, Mid, and Down seem to work fine, as does Very High for a bar that closes at the top. I've noticed that it seems to default to Very High on the opening of a bar and will also display Very High as a bar grows to the downside or if the bar closes at its low. Here are the two sections of code that might account for this:

# Check if the close is in the Highs/Lows/Middle of the bar.
def x1 = if (close == low) then avgSpread else (spread / (close - low));
def isUpCloseBar = (x1 < 2);
def isDownCloseBar = (x1 > 2);
def isMidCloseBar = (x1 < 2.2 && x1 > 1.8);
def isVeryHighCloseBar = (x1 < 1.35);

##

AddChartLabel(trendText, concat("Close: ", if (isVeryHighCloseBar) then "Very High"
else if (isUpCloseBar) then "High"
else if (isMidCloseBar) then "Mid"
else if (isDownCloseBar) then "Down"
else "Very Low"), Color.white);

I look forward to your comments. Thanks.

I double checked the original NT version. It has the same logic:

 
Code
                            
            // Check if the close is in the Highs/Lows/Middle of the bar.
            
x1 = (Close[0] - Low[0] == 0.00 avgSpread : (spread[0] / (Close[0] - Low[0])));
            
isUpCloseBar = (x1 2);
            
isDownCloseBar = (x1 2);
            
isMidCloseBar = (x1 2.2 && x1 1.8);
            
isVeryHighCloseBar = (x1 1.35);
             ...
            
textMsg1 textMsg1 "\nClose:";
            if (
isVeryHighCloseBar)
                
textMsg1 textMsg1 " Very High";
            else if (
isUpCloseBar)
                
textMsg1 textMsg1 " High";
            else if (
isMidCloseBar)
                
textMsg1 textMsg1 " Mid";
            else if (
isDownCloseBar)
                
textMsg1 textMsg1 " Down";
            else
                
textMsg1 textMsg1 "Very Low"
I do think this is a valid concern. If close = low for the bar, then x1 is set to the average spread. So if the average spread is < 1.35, the result will be a "very high" close bar, which makes no sense since the close = low. It would reason that this piece of code needs to be reworked a bit. Clearly, if close = low, then it should be "very low", not "very high". However, cases where close = low = high should be taken into consideration as well.

Thanks for the good find! The reason I started this tread is to have peer reviews like this.

Regards,
-C

Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat. - Sun Tzu
Reply With Quote
 
  #30 (permalink)
Trading for Fun
LA, CA
 
Futures Experience: Advanced
Platform: Infinity, IB, TOS
Favorite Futures: currency futures
 
Posts: 93 since Jul 2010
Thanks: 2 given, 24 received

Close Very High display


Thanks for your response, C. Will you have time to do a little code-tweaking on this issue? If not, I suppose I could try it myself but I'm not confident that the results will be satisfactory.

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 02:40 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-13 in 0.13 seconds with 20 queries on phoenix via your IP 54.163.209.109