Thinkscripts - ThinkOrSwim Programming | futures io social day trading
futures io futures trading


Thinkscripts
Updated: Views / Replies:39,478 / 105
Created: by optntdr13 Attachments:31

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
 31  
 
Thread Tools Search this Thread
 

Thinkscripts

  #21 (permalink)
Elite Member
Sarasota Florida
 
Futures Experience: Advanced
Platform: TOS,NT, Jigsaw
Favorite Futures: Treasuries/ZB
 
Cudashark's Avatar
 
Posts: 33 since Dec 2011
Thanks: 18 given, 66 received

Depth of Market

Dear optntdr13,

Thanks in advance for your altruistic nature and your willingness to help others with TOS programming.

I trade ZN futures with level II Bid/Ask screens. I am interested in “Depth of Market” (DOM) “Accumulated Volume” (ACV) ratios.

For example; when the fifth position from the price the Bid is 600> and the Ask in the same position is 185>.

I would like to track the ratio some way along with the price action.

My goal would be to pick up on the actual buy/sell volume in relation to the DOM to see where large traders are pulling the price.

Have you any ideas on DOM, ACV ?

This may help to see where I'm comming from.

seekingalpha.com/article/161854-reading-market-volume-flow


Thanks

Ray


Last edited by Cudashark; December 17th, 2011 at 04:52 PM. Reason: Add information
Reply With Quote
 
  #22 (permalink)
Trading Apprentice
New York
 
Futures Experience: None
Platform: IB, TOD
Favorite Futures: Oil
 
Posts: 1 since Dec 2011
Thanks: 1 given, 0 received

Indicator for RSI divergences


optntdr13 View Post
I just wanted to let folks know that if you are looking for something specific, chances are I have it or wrote it and am more than happy to share with any and all. If you would like to have any T.....D......ARK stuff, I have coded almost every single one of them but won't share publically due to the maketstudies goons I will however send via PM or e-mail and am happy to do so.

Hi,

Is there any indicator that can detect RSI divergences ? This problem has been around for many years. For Ninja Trader, there are D3Spotter and DivergenceSpotter. Are there any thinkscripts that can do something similar ?

Thanks in advance.

Reply With Quote
 
  #23 (permalink)
Elite Member
Des Moines
 
Futures Experience: Intermediate
Platform: td ameritrade
Favorite Futures: gold,oil
 
Posts: 716 since Feb 2012
Thanks: 270 given, 285 received

debugging help please



optntdr13 View Post
I just wanted to let folks know that if you are looking for something specific, chances are I have it or wrote it and am more than happy to share with any and all. If you would like to have any T.....D......ARK stuff, I have coded almost every single one of them but won't share publically due to the maketstudies goons I will however send via PM or e-mail and am happy to do so.

hi optntdr13,
i am new to thinkscript. i would appreciate a little bit of debugging help. i am trying to code an opening range; for a certain timeframe eg; 8.30 to 9.30 am. i thought i coded it right. but it picks lows of its own will. here is the code. can you please point out any mistake you see.
#############


input ORCalculationStart = 0830;
input ORCalculationEnd = 0930;

Def ORActive = if secondsTillTime(ORCalculationEnd) > 0 AND secondsFromTime(ORCalculationStart) >= 0 then 1 else 0;

Rec ORHighBWNTimes = if( ORHighBWNTimes[1] == 0 or ORActive[1] == 0 AND ORActive == 1 , high , ORHighBWNTimes[1]);
Rec ORLowBWNTimes = if( ORLowBWNTimes[1] == 0 or ORActive[1] == 0 AND ORActive == 1, low , ORLowBWNTimes[1]);


Plot ORHigh = HighestAll(ORHighBWNTimes);
ORHigh.SetDefaultColor(color.green);
ORHigh.SetStyle(curve.firm);
ORHigh.SetLineWeight(1);

Plot ORLow = LowestAll(ORLowBWNTimes);
ORLow.SetDefaultColor(color.red);
ORLow.SetStyle(curve.firm);
ORLow.SetLineWeight(1);

#############

Reply With Quote
 
  #24 (permalink)
Trading Apprentice
riverdale georgia
 
Futures Experience: Intermediate
Platform: thinkorswim
Favorite Futures: forex
 
Posts: 5 since Aug 2012
Thanks: 0 given, 0 received

Candlestick Alert Indicator

Does anybody know how how to create a study for TOS that sends an alert when a candlestick UP/Down reaches a specified size/amount.

This will be for the day 1m chart, Also it would be nice if it can mark it on the chart.

Let me know if there is a TOS import for this already or if some one can write the code down for me thank you.

Reply With Quote
 
  #25 (permalink)
Elite Member
San Diego CA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: StocKs
 
Posts: 26 since May 2012
Thanks: 14 given, 5 received


optntdr13 View Post
I just wanted to let folks know that if you are looking for something specific, chances are I have it or wrote it and am more than happy to share with any and all. If you would like to have any T.....D......ARK stuff, I have coded almost every single one of them but won't share publically due to the maketstudies goons I will however send via PM or e-mail and am happy to do so.

Hey Much thanks for doing this.
I am still learning Thinkscript. Would you be able to take a crack at the following CCIcounter found at this link.

https://futures.io/index-futures-trading/7347-tf-russell-2000-futures-contract-trading-using-cci-method-works.html#post89246

It's a bar counter for CCI. I will eventually figure it out but I thought I'd ask.

Reply With Quote
 
  #26 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received


pbenson68 View Post
Hey Much thanks for doing this.
I am still learning Thinkscript. Would you be able to take a crack at the following CCIcounter found at this link.

https://futures.io/index-futures-trading/7347-tf-russell-2000-futures-contract-trading-using-cci-method-works.html#post89246

It's a bar counter for CCI. I will eventually figure it out but I thought I'd ask.

i'll try to help, it looks interesting and fairly easy in ToS script. but i got lost in the thread.. if you can explain in a simple way how the counting works? i see --11235 and some dots .. so not sure what's the logic behind it and what's the signal we need to capture..

Cheers,
RedK

Reply With Quote
 
  #27 (permalink)
Trading Apprentice
Chicago, IL USA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: ES
 
Posts: 4 since Sep 2012
Thanks: 1 given, 0 received

Auto plotting time frames on TOS

Hi optntfr13! I am new to forum and relatively new to trading. I am learning to trade the emini thru TOS and wanted to have the charts to automatically plot the monthly resistance/support, the weekly resistance & support, the daily resistance & support and, the first 15 min high/low. Have you come across or have written scripts for this purpose? Your guidance would be greatly appreciated.

Thanks,

Vince

Reply With Quote
 
  #28 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received


Vince View Post
Hi optntfr13! I am new to forum and relatively new to trading. I am learning to trade the emini thru TOS and wanted to have the charts to automatically plot the monthly resistance/support, the weekly resistance & support, the daily resistance & support and, the first 15 min high/low. Have you come across or have written scripts for this purpose? Your guidance would be greatly appreciated.

Thanks,

Vince

Hi Vince, there are 3 pivot studies built-in with ToS, Woddies & Person's beside ToS's own pivot studies.. did you look into using these? i think all 3 will do monthly, weekly and daily levels.
hope this helps,
RedK

Reply With Quote
 
  #29 (permalink)
Trading Apprentice
Chicago, IL USA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: ES
 
Posts: 4 since Sep 2012
Thanks: 1 given, 0 received

Auto plotting time frames on TOS

Thanks RedK! I just explored your suggestion and I am thinking this is close but not exactly what I was looking for. The three you referenced do provide pivot points based on specific formulas. I am looking for just the current monthly high/low, the current weekly high/low and the daily high/low to automatically plot. In addition the 15 mihigh/low form the open.

Any thoughts/

Regards,

Vince

Reply With Quote
 
  #30 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received


Hi Vince, can be done though the resulting chart can look out of proportions as you need to look at the smallest aggregation to view all the lines.
One thought, have you tried the Price_levels study in the elite download section.. You will get the highest/lowest regardless of aggregation. If it still doesn't help, let me know and I'll see what I can come up with.
cheers, RedK

Reply With Quote

Reply



futures io > > > > > Thinkscripts

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
     


All times are GMT -4. The time now is 01:22 AM.

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-18 in 0.14 seconds with 19 queries on phoenix via your IP 54.92.201.232