tos-and-thinkscript-snippet-collection's People
Forkers
xxwikkixx bdowling nagsrk plucena24 cherok baburfarooq millerlai marcoy nullstd mallegrissimo tcvn jialongl uncolonized tradetrade noobpython markstachowski kz363 rdavis-fullstackdev dischord01 saravanagupta k3oni michaelbui sourabhjain14 ricksinclair frattyoung aredubya duncanleung copybilla merlionfire sirigina dfwgreg damonclifford mattdougherty0 itskris5 kganev rahul-c1 paurichardson xavikxavik yanding delphicoder cocakolev bardswork a3016c thomasperdana m0unir pruthvishetty zealll nskselva aclaor msteib dadeohmac trobrock kuzditomi cah-james-shingler mm1213 biffbifford kb2025 skout23 purushottam81 phillipalexander recursionbane ryder242 ideacore pcwin12 khmcbride hemanthkolla taperead inspirethepresent gazsim dyldaub210 afcarl azeezlawal duggar lucbarenghien kylindai clinicaldatascientist madantv woody-boca syedpeer brandonawilliams1 taochong neusse sethiaditya devinearr madhuriaddepalli knowherefern hx2227cg lhpopilotos-and-thinkscript-snippet-collection's Issues
Access to TOS Snippets
Hi Jim. New member here. Just looking through some of your TOS snippets and can't get to any links beyond #90-129 from the Table of Contents. I'm looking for a link beyond #90 (#101 B - The Fold Function explained....Page 62). Any help you could provide would be appreciated. Thx, Jeff Francetic
Request for a new Scanner
Hi ,
Thank you for adding so much beautiful scans.
I have a request if you can address to have Premarket high or Low Break out scan to the list.
Thanks,
MJ
How to check if is there an order open return 1 else return 0 in thinkorswom coding?
Hi All,
I am trying to implement a strategy of back testing in thinkorswim. I want to check if there is no or only 1 order open the strategy will open one more order. How can I do this by coding? Thanks
Sum() function use to simplify code
The following suggestion:
Plot if Sum(cond1,cond2,cond3, cond4, cond5, cond6) = 6 then ??????? else ?????;
does not work with the current version of thinkscript because it accepts only 2 parameters.
It is really difficult to simplify complex scripts :( and I haven't found any good approach to this.
Average Range in Earnings for 52 weeks
Hi, I'm trying to write a code that calculates the average range in earnings of 52 weeks.
However, I encounter issues and I can't seem to write it out due to my lack of knowledge in Thinkscript.
I get stuck on finding the range of the previous earnings, I think it has got to do with defining the date of the earnings. Below is the code that's as far as I get.
Kindly appreciate if anyone is able to help out thanks for reading
Cheers :)
#====================================================
def ear= HasEarnings(EarningTime.BEFORE_MARKET)[1];
def countdown = if ear then getyyYYMMDD() - getyYYYMMDD() else double.nan;
def a = if ear then getyyyymmdd() else double.nan;
def hod = if a then high(period = aggregationperiod.day) else double.nan;
def lod = if a then low(period = aggregationperiod.day) else double.nan;
def range = if a then hod-lod else double.nan;
AddLabel(yes, "range" + range, Color.white);
#====================================================
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.