Strategy Guide (193)

Votes
Answers
Views
Question
0
votes
1
answer
74
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete Hahn,   Once again, great site, videos and overall content!! I have a question.   I have created a script (or, to put it mildly, copied and cobbled a script together using your help!) that does Dollar Cost Average over the time fram...
0
votes
1
answer
68
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, I'm sorta a newbie on thinkorswim, but your tutorials have helped me out a lot. Yet, I cannot get my conditional orders to work. I think the reason for this is that the time intervals are all in days rather that minutes. Is there any way to ...
0
votes
1
answer
202
views
asked 4 years ago by
Category: Strategy Guide
Hi Mr Hahn, I though I could quickly make an ATRTrailStopLX by taking the built-in thinkorswim ARTTrailStopLE and then modifying that.  It didn't quite work out like I had hoped.  I don't want that signal to start a short position.  I just wanted to ...
0
votes
1
answer
289
views
asked 4 years ago by
Category: Strategy Guide
Hello, I would like to autotrade supertrend in thinkorswim. input AtrMult = 1.0; input nATR = 4; input AvgType = AverageType.HULL; input PaintBars = yes; def ATR = MovingAverage(AvgType, TrueRange(high, close, low), nATR); def UP = HL2 + (AtrMult * A...
0
votes
1
answer
606
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete. First I just want to offer a sincere thank you for this great resource, for your generosity, and for all you do for the community. You are to be commended sir. Now on to my question. I'm in the process of learning how to code while at the sa...
0
votes
1
answer
85
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, Is it possible to write a VWAP strategy on the chart when a 5-minute bar closes above/below it? It would also be nice to show the return % in a lower study on an exit when a bar closes below the previous bar on a bullish cross and vice versa...
0
votes
1
answer
283
views
asked 4 years ago by
Category: Strategy Guide
Is it possible to create an order entry or close to trigger when a bar/candle "closes"above a certain price on that time-frame? Not if it hits a certain price but actually closes above/below the set price....Thanks
0
votes
1
answer
152
views
asked 4 years ago by
Category: Strategy Guide
Hello Pete, I am backtesting a strategy using ThinkorSwim. The strategy is such that when a condition is satisfied at the open of the current bar (period), a buy order is placed at the same time. When the strategy is inspected visually, the graph sho...
0
votes
1
answer
137
views
asked 4 years ago by
Category: Strategy Guide
Hi -   Is it possible to code up a conditional order to sell 1/2 the position (1/2 of the Buy_To_Open tradeSize) when price crosses above an EMA then then sell the rest of the position when  another condition is true (MACD Cross)? I've watched y...
0
votes
1
answer
432
views
asked 4 years ago by
Category: Strategy Guide
Hi - I am working on a stategy that buys the3 first green Heikin Ashi candle after X red candles in a row.  Right now the definitions I have scripted are not correctly identifying the candle colors (current  -> want green and prior 1 -&g...
1 13 14 15