Think or Swim - Discussion - futures trading

Go Back

> Trading Wiki > Terms (Glossary)

(1) Comments for: Think or Swim Page Tools Search this Page

Think or Swim

Old June 2nd, 2016, 08:42 PM   #1 (permalink)

Trading Apprentice
Chicago IL
: Intermediate
: Think or Swim
: ES
Posts: 7 since May 2016
Thanks: 0 given, 0 received

Write CCI thinkscript code for TOS stock hacker

Jan 12, 2011


Likes Received:

Can any one write a CCI indicator thinkscript code for TOS stock hacker scan?
I would like an alert when the CCI crosses above and below the +100 and -100.

# TD Ameritrade IP Company, Inc. (c) 2008-2016


declare lower;

input length = 14;

input over_sold = -100;

input over_bought = 100;

def price = close + low + high;

def linDev = lindev(price, length);

plot CCI = if linDev == 0 then 0 else (price - Average(price, length)) / linDev / 0.015;

plot OverBought = over_bought;

plot ZeroLine = 0;

plot OverSold = over_sold;





Attached Files:

Screenshot 2016-05-29 23.39.14.png
Screenshot 2016-05-29 23.39.14.png

File size:
172.8 KB


Attached Images
Register to download File Type: png Screenshot 2016-06-02 15.23.26.png (164.6 KB, 6 views)
Register to download File Type: png Screenshot 2016-06-02 15.22.34.png (164.8 KB, 1 views)
Reply With Quote
Page Tools
Search this Page

Posting Rules
You may not create new articles
You may not edit articles
You may not protect articles

You may not post comments
You may not post attachments
You may not edit your comments

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 10:18 AM.

Copyright © 2016 by 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.

Page generated 2016-10-23 in 0.09 seconds with 20 queries on phoenix via your IP