- Questions
- Strategy Guide
Votes
Answers
Views
Question
1
3
4106
asked 7 years ago by Daisy
Category:
Strategy Guide
Hi Pete, I watched your tutorial on how to do semi-auto orders on tos yesterday. I have a custom studies, which I want to place my conditional order based. But when I followed the step and put below script into New Studies, it just says "expected dou...
0
3
3710
asked 7 years ago by QWERTY POIU
Category:
Strategy Guide
I'm using that feature "FloatingPL" on the thinkorswim platform, Which is nothing more than a Floating Profit/Loss histogram, Generated from a custom strategy Which through the function "AddOrder" indicates the points of buying and selling # # TD Ame...
1
2
2292
asked 7 years ago by StockTrader
Category:
Strategy Guide
Hi Pete and All, i have a custom study that generates buy and sell signals based on Rsi and MACD and EMAs my problem is when i create an order and Reference the study when the Buy singal is true the order goes off ok the first time and the trade is a...
0
1
1890
asked 4 years ago by Ben Gollnick
Category:
Strategy Guide
I am wondering if it is possible to predefine entry price based on signal. That is I want to be able to define what the floating P/L is then be able to have a sell order condition for a % trailing stop based on last highest price. I am using the code...
0
1
1563
asked 6 years ago by Paul Yun
Category:
Strategy Guide
Hello Pete, I would like to know how to use two moving averages cross over, ( i.e 20 and 50sma)with a stop loss and price target and want to see it is viable to test it in real life. I have the script for a simple buy or sell, but I need a guide to a...
0
1
1442
asked 6 years ago by Scott Blomenkamp
Category:
Strategy Guide
Hi Pete, hope you can guide me on this I am sure this is a simple one. I thought my label is correct but I get a error. Here is the code. input length = 10; def N = reference ATR(length = length); def trailStopPrice = close + (2*N); #def trailStopPri...
0
2
1211
I am unsure why this is happening. Anyone have a fix or is this just a data feed issue? See image for details. The code is below. input tradeSize = 1; input accelerationFactor = 0.1; input accelerationLimit = 0.06; Assert(accelerationFactor &...
0
1
1161
asked 5 years ago by Robert Smith
Category:
Strategy Guide
Hello Pete Had a question on Trailing orders in Tos. Is there any way to trail the order based on the low of the previous candle? As you can see in the attached pictures the low of the candle with Crosshair is 1.87 and as the stock moves up then the ...
1
1
1156
asked 7 years ago by Mike D'Antonio
Category:
Strategy Guide
You know how you can write a custom script for conditional orders? How can you save the script order template (with the custom script) so you don't have to copy and paste the script every time you want to place that custom order? Thanks so much! :)
0
5
1112
asked 7 years ago by Mike D'Antonio
Category:
Strategy Guide
I need to have orders execute once stocks from my watchlist meet certain conditions for the day. Buy when: Stock price is above yesterday’s high and the current 5-minute candle is green. Sell (the stock we just bought) when: The current 5-minute cand...