NexusFi: Find Your Edge


Home Menu

 





VSA for ThinkorSwim


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one snowcloud with 93 posts (25 thanks)
    2. looks_two StockJock with 91 posts (27 thanks)
    3. looks_3 cbritton with 37 posts (71 thanks)
    4. looks_4 swimtrader with 22 posts (19 thanks)
      Best Posters
    1. looks_one Hornblower with 2.3 thanks per post
    2. looks_two cbritton with 1.9 thanks per post
    3. looks_3 StockJock with 0.3 thanks per post
    4. looks_4 snowcloud with 0.3 thanks per post
    1. trending_up 304,527 views
    2. thumb_up 223 thanks given
    3. group 86 followers
    1. forum 434 posts
    2. attach_file 131 attachments




 
Search this Thread

VSA for ThinkorSwim

  #101 (permalink)
snowcloud
LA, CA
 
Posts: 93 since Jul 2010
Thanks Given: 2
Thanks Received: 25


StockJock View Post
If you're accumulating items for a todo list. I might add to change both lime green colors to some other colors to make those bars more distint from the green bars.


Good idea. That's why I made the under-candle symbol colors go from cyan to green. It's much easier to see the cyan/green difference than the differences between three shades of green.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Are there any eval firms that allow you to sink to your …
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Futures True Range Report
The Elite Circle
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #102 (permalink)
StockJock
Chicago + Illinois/USA
 
Posts: 256 since Aug 2010
Thanks Given: 15
Thanks Received: 154

Attached is a price and volume pattern guide compiled for the TradeGuider platform. There may be some similarities to what the VPA indicator is pointing out on the charts. Take a look.

Also attached is a brief explanation of his VPA indicator written by the authoring programmer Karthik Marar. Read some more indepth explanation of his indicator that we're all discussing.

Attached Thumbnails
VSA for ThinkorSwim-traderguide-indicators-v1.01.pdf   VSA for ThinkorSwim-vpa-basics.pdf  
Reply With Quote
Thanked by:
  #103 (permalink)
snowcloud
LA, CA
 
Posts: 93 since Jul 2010
Thanks Given: 2
Thanks Received: 25



StockJock View Post
Attached is a price and volume pattern guide compiled for the TradeGuider platform. There may be some similarities to what the VPA indicator is pointing out on the charts. Take a look.

Also attached is a brief explanation of his VPA indicator written by the authoring programmer Karthik Marar. Read some more indepth explanation of his indicator that we're all discussing.

Thanks, I'll check it out this weekend.

Reply With Quote
  #104 (permalink)
snowcloud
LA, CA
 
Posts: 93 since Jul 2010
Thanks Given: 2
Thanks Received: 25


StockJock View Post
Attached is a price and volume pattern guide compiled for the TradeGuider platform. There may be some similarities to what the VPA indicator is pointing out on the charts. Take a look.

Also attached is a brief explanation of his VPA indicator written by the authoring programmer Karthik Marar. Read some more indepth explanation of his indicator that we're all discussing.

Yesterday I had a chance to read Karthik's explanation and found it very informative and useful. Here are a couple of observations:

1. I think I found the source of the No Supply bug mentioned in post #41 which I have since fixed. Karthik wrote:
"The No Supply bar is a narrow range low volume down bar closing in the lower half."

I think he meant to write "...closing in the upper half."

2. Earlier in this thread I brought up some concerns I had and continue to have about UpThrusts and PseudoUpThrusts which I won't detail here. Yesterday I found this on page 11 of the explanatory notes: "An Upthrust Bar is a wide range bar, with a high volume and closing down." In contrast, here is the code from the VPA study:
# utbar
rec isUpThrustBar = isWideSpreadBar && isDownCloseBar && ShortTermTrendSlope > 0;

This code for a Red Square UpThrust contains no reference to volume at all so it's missing one component from the explanation while adding a trend criterion. (UpThrust confirmation condition 3 does reference volume for the current bar which must be two times average but it's symbolized by a Red DownArrow not a Red Square). In addition, the current code does allow for some very un-UpThrust-appearing bars to be characterized as UpThrusts. For example, a bar with Open = High that closes down on a wide spread in a short-term uptrend satisfies the criteria but obviously doesn't up-thrust within itself at all and doesn't necessarily up-thrust very much in comparison with the previous bar. As I mentioned in previous posts, UpThrusts and PseudoUpThrusts seem to work pretty well as is so I've been hesitant to change anything in their code but instead I decided to watch them in action for a while, which I continue to do. However, I do have an idea for an enhancement that might be useful.

I noticed that a Yellow Triangle Weakness symbol will never occur on the same candle as a Red Square UpThrust because the Yellow Triangle is specifically NOT a wide spread bar which a Red Square UpThrust (see code above) definitely is:
# tcbar
def weaknessBar = (isUpBar[1] && high[0] == Highest(high, 5)[0] && isDownBar[0] && (isDownCloseBar OR isMidCloseBar) && volume[0] > sAvgVolume[0] && !isWideSpreadBar[0] && !isPseudoUpThrustBar[0]);

My idea is to create a modified Weakness signal that would contain all of the Weakness criteria except for the !isWideSpreadBar[0] and would appear above a Red Square UpThrust when triggered. I would add isUpThrustBar[0] OR isConfirmedUpThrustBar[0] to the criteria so that it would only appear when a Red Square UpThrust or confirmed UpThrust is present. The result would be a combined signal that satisfies these criteria:

wide-spread, down-close, above-average volume bar with the highest high of the previous 5 bars in a short-term uptrend with the previous bar up.

That seems like a pretty strong indicator of a potential reversal to me even though it still might not look much like a traditional UpThrust bar with a long upper wick.

I plan to go over Karthik's notes multiple times and to similarly scour the Tradeguider notes for other ideas. I welcome any and all ideas from other traders as well.





Reply With Quote
  #105 (permalink)
StockJock
Chicago + Illinois/USA
 
Posts: 256 since Aug 2010
Thanks Given: 15
Thanks Received: 154

In scrutinizing the VPA Indicator's code, consider that what is not in one code might be in the other.

Both the Better Volume Indicator developed by Barry Taylor at EminiWatch and the VPA Indicator developed by Karthik Marar were based on Tom William's concept of Volume Spread Analysis. And, of course, Tom Williams was applying the Wyckoff Method of Trading when he developed the TradeGuider trading platform. Since the programming script for the ThinkOrSwim platform is different from these other platforms, you may have to re-adjust the colors and the symbols to accommodate the language differences. This is to be expected as long as its documented for the users to know the differences and how to use the TOS version of the indicator.

Reply With Quote
  #106 (permalink)
snowcloud
LA, CA
 
Posts: 93 since Jul 2010
Thanks Given: 2
Thanks Received: 25


StockJock View Post
In scrutinizing the VPA Indicator's code, consider that what is not in one code might be in the other.

If you mean that what is in Karthik's VPA indicator might not be in others and vice-versa, I agree.


StockJock View Post
Both the [COLOR=#0000ff]Better Volume Indicator[/COLOR] developed by Barry Taylor at EminiWatch and the [COLOR=#810081]VPA Indicator[/COLOR] developed by Karthik Marar were based on Tom William's concept of [COLOR=#0000ff]Volume Spread Analysis[/COLOR]. And, of course, Tom Williams was applying the [COLOR=#0000ff]Wyckoff Method of Trading[/COLOR] when he developed the TradeGuider trading platform.

Interestingly, Karthik writes on p.1 of his notes: "Please do not start comparing my description with the ones that may be available from the net. I have used some basic stuff from Tom Williams’s book and have built on it. Here we are not trying to clone the Trader Guider system."


StockJock View Post
Since the programming script for the ThinkOrSwim platform is different from these other platforms, you may have to re-adjust the colors and the symbols to accommodate the language differences. This is to be expected as long as its documented for the users to know the differences and how to use the TOS version of the indicator.

Actually, the changes I made to the color scheme had nothing to do with programming platform differences. The original scheme made no sense to me so I changed it on a scaled system using ROYGBIV as a model. Btw, PrTester (the person who ported the original Ambibroker code to Ninja) admits that his color scheme was, in his word, "horrible." He said he'd revise it - I don't know if he ever did. VSA Indicator - [AUTOLINK]Beta[/AUTOLINK] - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

I'm sure that there are programming language differences between Ambiroker, Ninja, and ToS. However, most languages allow most tasks to be accomplished one way or another. In comparison to another language, a given programming language might be better at certain tasks and worse at others. But in most cases, most tasks can be accomplished. My impression from cbritton is that the translation form Ninja to ToS was fairly straight-forward with the exception of reconciling differences in the use of Wilders Average. Of course, the lack of certain graphic symbols in ToS required a work-around but not one that impacts the ability of the ToS platform to generate valid and meaningful VSA signals.

Reply With Quote
  #107 (permalink)
StockJock
Chicago + Illinois/USA
 
Posts: 256 since Aug 2010
Thanks Given: 15
Thanks Received: 154

 
Code
In comparison to another language, a given programming language might be better at certain tasks and worse at others. But in most cases, most tasks can be accomplished.
So far there are two functions that I'm trying to work around for my current TOS project: barNumber() and fold(). For any chart I'm trying to find the total number of bars for the current aggregated period then index each bar on the chart. So far, no one seems to know how to do this. Also the fold statement is not like looping statements in other languages and its difficult to use and few people know how to use it. For one thing, I don't see a way to create a nested loop with the fold statement. Anyway, this has nothing to do with your project, but I just thought I'd mention it.

Reply With Quote
  #108 (permalink)
snowcloud
LA, CA
 
Posts: 93 since Jul 2010
Thanks Given: 2
Thanks Received: 25


StockJock View Post
 
Code
In comparison to another language, a given programming language might be better at certain tasks and worse at others. But in most cases, most tasks can be accomplished.
So far there are two functions that I'm trying to work around for my current TOS project: barNumber() and fold(). For any chart I'm trying to find the total number of bars for the current aggregated period then index each bar on the chart. So far, no one seems to know how to do this. Also the fold statement is not like looping statements in other languages and its difficult to use and few people know how to use it. For one thing, I don't see a way to create a nested loop with the fold statement. Anyway, this has nothing to do with your project, but I just thought I'd mention it.

Have you checked out thinkscripter's take on fold()? It might be helpful. Good luck. Fold – Basic Syntax | ThinkScripter

Reply With Quote
  #109 (permalink)
StockJock
Chicago + Illinois/USA
 
Posts: 256 since Aug 2010
Thanks Given: 15
Thanks Received: 154


snowcloud View Post
Have you checked out thinkscripter's take on fold()? It might be helpful. Good luck. Fold – Basic Syntax | ThinkScripter

Yes, I saw that and I've posted on several thinkscript forums as well as searched through Yahoo and Google. I'll wait a while to look again. Thanks anyway.

Reply With Quote
  #110 (permalink)
 swimtrader 
Sarasota, FL USA
 
Experience: Advanced
Platform: TOS, NinjaTrader
Broker: Mirus/Zenfire & TOS
Trading: ES
Posts: 22 since Sep 2010
Thanks Given: 0
Thanks Received: 19



snowcloud View Post
At some point I probably will but want to wait until there's a critical mass of changes that need to be made or should be made. So far, there's not enough feedback about how the study is working. I have some of my own ideas but want to hear more from traders about what works and what doesn't.

Snow,

Absolutely outstanding work. My sincerest respect for the hard work and attention to detail you and other developers have invested.

I'm a full-time trader, focused solely on identifying important price levels - using the Volume Profile and Auction Market Theory (AMT) - and then watching the market's reaction at those levels using Volume-Spread-Analysis (VSA). The goal: to understand what's moving the market once price arrives at a key reference area (KRA). I spent the first half of this summer collaborating with Thinkscript programmers, modifying Barry Taylor's work for TOS ...and pitching the VSA-AMT combination on Eric's ThinkScripter Forum. We closed that tread about a month ago ...but it remains the most viewed thread on the Forum. In the end, I don't know how one would safely trade, using VSA alone. Both approaches (VSA/AMT) stress the importance of truly understanding market forces and volume - and that understanding is a trader's best edge.

I was an early adopter of the TradeGuider software, have read Richard Wyckoff and Tom William's work, and have the current version (4) of TradeGuider running beside your VPAv1_06bSTUDY this morning. Working my way through familiarlizing myself with your indicators colors and shapes. So far this AM, watching the right edge of the chart (Euro FX), comparing the decision-support of TradeGuider to your study - the signals are nicer on yours! Pretty cool. (They don't need to match; at best, the studies are nothing more than decision support.)

Bottom line: I've got a pretty good understanding of VSA (I'm making my living using it - in conjunction with Auction Market principles). So, I'll give your work a real careful look ...see if there's anything I might add or subtract ...see if I can contribute in some small way. But honestly, on first blush, it just looks like you guys have created the "killer app!" If you have a more recent version - I, for one, would appreciate evaluating it.

Until a few days ago, TradeGuider sold for $5000 and requires an eSignal feed ...for Futures and FX - a $412/month subscription. (Those are my present costs.) Compare that to TOS ...along with a number of other TOS advantages - and you quickly see how valuable your work is.

Again, 'Bravo' to you and all who have worked to develop the study, provide background references, and legends.

Steve

Attached Thumbnails
Click image for larger version

Name:	Euro Futures_091410.png
Views:	595
Size:	17.7 KB
ID:	20162  
Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on May 21, 2023


© 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