Trading Articles
Article Categories
Article Tools
Need help with a simple TOS script
Updated September 14, 2018
trending_up
519 views
thumb_up
0 thanks given
group
3 followers
forum
3 posts
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)
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.
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Market Wizard
Chicago Illinois USA
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
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)
(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
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);
(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!
Last Updated on September 14, 2018
Right now
Ongoing
Right now
March
Register to Attend
Elite only
Coming soon
April