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


Thinkscripts
Updated: Views / Replies:39,420 / 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

  #71 (permalink)
Trading Apprentice
New York/USA
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks/Options
 
Posts: 2 since Nov 2012
Thanks: 0 given, 0 received

Hi optntdr13,

I would like to create a study that will allow me to graph a 90 day SMA of the Open, Close, High and Low and the 1 and 2 standard deviations for the Open, Close, High and Low of the past 90 days.

In total there will 5 lines the +2SD, +1SD, 90 day SMA, -1SD and -2SD. I do not want the Open, Close, High and Low graphed separately, rather, I want to use the average of them instead of the closing price.

I attached the excel spreadsheet I put together of this information if it will help you out. If you can help me with this it would be a great help. Thank you!

Attached Files
Register to download File Type: xlsx samplepivotchart (3).xlsx (152.8 KB, 15 views)
Reply With Quote
 
  #72 (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


jetablack4 View Post
Hi optntdr13,

I would like to create a study that will allow me to graph a 90 day SMA of the Open, Close, High and Low and the 1 and 2 standard deviations for the Open, Close, High and Low of the past 90 days.

In total there will 5 lines the +2SD, +1SD, 90 day SMA, -1SD and -2SD. I do not want the Open, Close, High and Low graphed separately, rather, I want to use the average of them instead of the closing price.

I attached the excel spreadsheet I put together of this information if it will help you out. If you can help me with this it would be a great help. Thank you!

you don't need a custom study for this, the BollingerBandSMA study built-in with ToS should give you what you need. add the study to your chart, then change the price type to Open or Close..etc .. the default is +/-2SD. add another study on top of it, and set the SD to +/-1SD and set it to same price type (Open, Close..etc). change the line colors and pattern until you get best visualization and you should be good to go,

cheers, RedK

Reply With Quote
 
  #73 (permalink)
Trading Apprentice
New York/USA
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: Stocks/Options
 
Posts: 2 since Nov 2012
Thanks: 0 given, 0 received


This is very close to what I want, however, it is not exactly what I am looking for. I made a mistake in my prior post.

I want to use the standard deviation of the open, high, low and close prices for the past 90 days, rather than standard deviation of the average of those 4 prices for the past 90 days (price type = (O+C+H+L)/4). So where the bollinger bands are using 90 price points to determine the standard deviation, I want it to calculate 360 price points over the past 90 days.

Does this clarify? Thank you for your response

Reply With Quote
 
  #74 (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


jetablack4 View Post
This is very close to what I want, however, it is not exactly what I am looking for. I made a mistake in my prior post.

I want to use the standard deviation of the open, high, low and close prices for the past 90 days, rather than standard deviation of the average of those 4 prices for the past 90 days (price type = (O+C+H+L)/4). So where the bollinger bands are using 90 price points to determine the standard deviation, I want it to calculate 360 price points over the past 90 days.

Does this clarify? Thank you for your response

@jetablack4, methematically both are the same ..
Average of the 360 points, is the same as the 90-period average of the average of the 4 points. so you can safely use a BB of the length you need, and set the price type to (H+L+C+O)/4

you can test this in your spreadsheet to validate .. from there you can decide what is the SMA and which BB you'd like to use,

hope this helps,
RedK

Reply With Quote
 
  #75 (permalink)
Trading Apprentice
New York N.Y.
 
Futures Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: Options
 
Posts: 2 since Nov 2012
Thanks: 0 given, 0 received

TOS trailing stops options

Hello T13
I am new to this forum and this is my first question did look around the site for
the answer but no luck additionally did some internet search and Tos learning
center and found some content on subject but in my opinion it was not complete.

A exact video or typed explanation and execution of trailing stops on single call or put options on the thinkorswim platform would be most appreciated.
I am about 90 % in the know with respect to previous queries I just cant fully understand

This problem has stopped my ability to move forward in a trading system that fits my style.

Thanks in advance for any assistance with this question

Respectfully
EventHorizon


Last edited by EventHorizon; November 28th, 2012 at 07:50 PM.
Reply With Quote
 
  #76 (permalink)
Trading Apprentice
Monrovia, California USA
 
Futures Experience: Intermediate
Platform: TOS, optionsxpress
Favorite Futures: options
 
Posts: 8 since Jul 2012
Thanks: 26 given, 4 received

Metastock to TOS

Hi RedK,

I have a Metastock code that applies a 20EMA to an Average True Range (20) on a histogram.
Can you help code this for TOS? Here's the code, as shared in a webinar:

0-(ATR(20)-Mov(ATR(20),20,E))

Would appreciate your assistance.

VR

Reply With Quote
 
  #77 (permalink)
Membership Temporarily Revoked
toronto
 
Futures Experience: Intermediate
Platform: mt4 NinjaTrader
Favorite Futures: options
 
Posts: 6 since Dec 2012
Thanks: 4 given, 4 received

TOS TRAILING STOP

Hi Hi optntdr13.
Thanks for your effort helping other traders .
I find most of the traders biggest weakness to let profit run . Im looking for trailing stop for TOS. Ex AAPl So if Im in with 20 contracts I wont to sell first 10 at +0.2 and trail the rest 10 at 0.3 .I do this manually but in a fust moving market its to much and I tend to take profits prematurely . If you have some thing like this or similar it would be great . Or I can pay you to cod it.
Thanks in advance
Vit

Reply With Quote
 
  #78 (permalink)
Trading for Profit
new york
 
Futures Experience: Intermediate
Platform: X Trader, Sierra Charts, Multicharts
Broker/Data: AMP/TT, Vision/Rithmic, AMP/CQG
Favorite Futures: CL, NG, gold
 
Posts: 355 since Mar 2012
Thanks: 665 given, 569 received

hi
Would it be possible to route a signal from a TOS strategy to place the trades at another broker through ninja trader ?
I like a strategy in TOS, but the strategies wont allow you to actually place the trade at TOS. I dont understand the purpose of the strategies if you cant actually use them !

anyway, is something like that possible ?

I asked this question in the TOS thinkscript chat room and was lectured about asking questions about "other" platforms.

TOS has so many obstacles for futures trading, IMO.

thanks

shane

Reply With Quote
 
  #79 (permalink)
Elite Member
Los Angeles, CA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Rithmic
Favorite Futures: GC
 
plethora's Avatar
 
Posts: 639 since Dec 2010
Thanks: 1,174 given, 422 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.

Hi optntdr-

Could you possibly develop a simple buy/sell strategy for the stock Momentum Bars. They work exceptionally well on high-flyers.

I just posted a boat load of screenshots on another TOS thread.

Much appreciation.

TIA.

Reply With Quote
 
  #80 (permalink)
Elite Member
desert CA
 
Futures Experience: Intermediate
Platform: NT7, TOS
Broker/Data: AMP/wCQG, TDA
Favorite Futures: CL,YM
 
Posts: 2,027 since Jul 2011
Thanks: 2,211 given, 1,551 received



Cloudy View Post
Hi Redk, thanks for the trade ribbon indicator. I'm working on translating it to NT. The idea of taking another average on the WMA looks very interesting and helpful when graphically shown. Could be a nice scalping indicator.

TOS is one of the best all-for-one platforms today I would agree. It was my first broker and platform. They recently opened up new commodity futures and other chat rooms yesterday where live audio can be heard from the pit floor.


RedK View Post
@Cloudy, thanks for that .. i know some on the forum will appreciate your effort converting to NT ..

another intriguing concept i also looked at is to use a single WMA of some length and combine it with same WMA length but shifted by one period. You get signals from the crossing..

a quick note, in the Trader_Ribbon, the Mid line has a big role though, as it acts as a "reversal threshold" .. so can be used to indicate exit loss levels.

glad you find value in that concept,
RedK

https://futures.io/thinkorswim-programming/8854-thinkscripts-7.html#post271515

I got to finishing up a indicator dual average of WMA with a ribbon option for NT. It's similar in idea to the original tRibbon for TOS by @RedK . Here at: https://futures.io/download/vip_elite_circle/1267-download.html?view

But I like the settings in this one also. Credit to modified code of Fat Tail's triggerlines indicator: https://futures.io/download/ninjatrader-7/indicators/731-download.html?view

First MA is EMA(5) of WMA(7).
Second MA is EMA(4) of WMA(30).

Then there is the option to switch it to a ribbon. Settings to do so are shown in the .jpg ; Enjoy.

Attached Thumbnails
Thinkscripts-wma2avg_settings.jpg  
Attached Files
Register to download File Type: zip wma2avg.zip (3.7 KB, 28 views)

Last edited by Cloudy; February 26th, 2013 at 11:12 PM.
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 02:59 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-16 in 0.15 seconds with 19 queries on phoenix via your IP 54.163.209.109