Votes
Answers
Views
Question
0
votes
1
answer
103
views
asked 4 years ago by H Pundit
Category:
Watch Lists
Hi Pete, Thanks for maintaining this excellent resource! Just contributed to support. I want to create a custom WL for the below study I use. It plots the 10 day avg daily range and adds / deducts the range (divided by 2) to/from the daily open price...
0
votes
1
answer
92
views
asked 4 years ago by Chris Formen
Category:
Chart Studies
Hey Pete, I searched your forums and found this very straightforward code for determining the percent change from the previous day's close. plot percentChange = 100 * (open / close[1] - 1); I am wondering if it can be modified to calculate the close ...
0
votes
1
answer
139
views
asked 4 years ago by Kevin W. Sayers
Category:
TS Solutions
Hi Pete. As part of my daily routine of scanning my holdings and strategies, I find TradeStation's 'Strategy Equity' indicator on my charts to be really useful. Additionally, I'm a big believer in calculating a Figure of Merit (FoM) for my strategies...
0
votes
1
answer
399
views
asked 4 years ago by John Norris
Category:
Chart Studies
Tags:
Possible to get some help on my Position Size Script getting an error at def currentPrice. There may be more issues I'm not aware of I'm very green at this! Code: # Position Size Calculator based on max % account risk with variable position riskPer...
0
votes
1
answer
75
views
asked 4 years ago by Arlette Rosario
Category:
Chart Studies
I am doing a calculation risk amount base on a Inside Bar For example if the risk is PRevHigh-PrevLow then If I want to no loose more thank 50 dollars for example I divide 50/risk then it gives me the total shares I need to buy. I would like to ro...
0
votes
1
answer
84
views
asked 4 years ago by Pablo Pablo
Category:
Chart Studies
Hi Pete, I am trying to make the Pivot Points study in thinkorswim to include the extended hours prices. As defined in TOS, it only considers regular trading hours. Could you please help me with this? What changes should I make to the original code? ...
0
votes
1
answer
1009
views
asked 4 years ago by Roy K
Category:
Strategy Guide
Hi I am wondering if it is possible to use thinkscript to close all my open positions when my "Net Liquidation" falls to a certain value ? So its like thinkscript will loop through all my open orders, if its a buy order, then sell at market. And if i...
0
votes
1
answer
168
views
asked 4 years ago by Satish Gupta
Category:
Stock Scanners
Tags:
Hi Pete, Please guide me to a scan for a 52 week high occuring intraday. This scan should show securities whose 52 week high was exceeded intraday. Thank you
0
votes
1
answer
999
views
asked 4 years ago by Narayan Duwal
Category:
Stock Scanners
I came across the youtube video posted by the Right Way option about the 3/8 trap. He provided the script for TC2000 for the scan to find the 3/8 trap scanner, which is : L <= XAVGC8 and C > XAVGC8 and (C < XAVGC3.1) or (C < XAVGC3.2) or...
0
votes
1
answer
47
views
asked 4 years ago by Satish Gupta
Category:
Stock Scanners
Many custom scripts have input statements like: input intraDaySpan = {Default "SameDay" , "OverNight"}; I understand that built-in scripts have drop-downs to select one of these values. How is one value specified in a custom script? You said, in one ...