Need help with a simple TOS script - futures io
futures io futures trading



Need help with a simple TOS script


Discussion in ThinkOrSwim

Updated
    1. trending_up 519 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Need help with a simple TOS script

(login for full post details)
  #1 (permalink)
Baltimore
 
 
Posts: 3 since Sep 2018
Thanks: 0 given, 0 received

Hello,

I'm looking for some help with a simple script I want to create. I'm awful with programming, so any help would be greatly appreciated.

I want to create a thinkorswim script for volume divergence with a smaller trading range (primarily for intraday trades). Here are the rules...

body = absolute value (open - close)

Body of candle 1 > body of candle 2
Volume candle 1 < Volume candle 2

So essentially its a smaller body candle formed on higher volume after a larger body candle. In an uptrend, if it could plot a dot or an arrow on the top of the second candle. And vice versa for a downtrend.

Reply With Quote

 
 
(login for full post details)
  #2 (permalink)
Market Wizard
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
 
wldman's Avatar
 
Posts: 3,341 since Aug 2011
Thanks: 1,978 given, 8,830 received

I can't program either but I have a volume divergence indicator that I use on ToS.

Here is the original article that started me on that path and a picture.

Let me know if you care,

Dan

Current right edge of that chart. (not cherry-picked)


Attached Thumbnails
Need help with a simple TOS script-kvo-article.pdf  
Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
Trubchevsk
 
Experience: Beginner
Platform: tos
Trading: stocks
 
Posts: 61 since May 2011
Thanks: 38 given, 79 received



traderbones View Post
Hello,

I'm looking for some help with a simple script I want to create. I'm awful with programming, so any help would be greatly appreciated.

I want to create a thinkorswim script for volume divergence with a smaller trading range (primarily for intraday trades). Here are the rules...

body = absolute value (open - close)

Body of candle 1 > body of candle 2
Volume candle 1 < Volume candle 2

So essentially its a smaller body candle formed on higher volume after a larger body candle. In an uptrend, if it could plot a dot or an arrow on the top of the second candle. And vice versa for a downtrend.






declare upper;
def body = absvalue(open - close);
plot s = body < body[1] and volume > volume[1];
s.setPaintingStrategy(paintingStrategy.BOOLEAN_POINTS);

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #4 (permalink)
Baltimore
 
 
Posts: 3 since Sep 2018
Thanks: 0 given, 0 received

Thank you both for your quick responses!

Reply With Quote


futures io Trading Community Platforms and Indicators ThinkOrSwim > Need help with a simple TOS script


Last Updated on September 14, 2018


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 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