Strategy Guide (153)

Votes
Answers
Views
Question
0
votes
1
answer
7
views
asked 4 days ago by
Category: Strategy Guide
Hello friend, I have been watching your videos for God knows when... lol I adore your willingness to help the community with your coding abilities or knowledge. Question here: I was wondering if this is possible, make a strategy with this parameters:...
0
votes
1
answer
16
views
asked 6 days 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...
0
votes
1
answer
10
views
asked 2 weeks 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
14
views
asked 2 weeks ago by
Category: Strategy Guide
Is there a way to manually (programatically) call addOrder to create orders. I have a script which creates an order based on few variables. Right now I can use it as part of a strategy but I need to run this script (and create orders) on live chart w...
0
votes
1
answer
13
views
asked 2 weeks 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
9
views
asked 2 weeks 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
30
views
asked 3 weeks 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
149
views
asked 3 weeks 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
27
views
asked 1 month 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...
1
vote
1
answer
32
views
asked 1 month ago by
Category: Strategy Guide
Ive been playing with a strategy that uses MACD, RSI and VWAP to choose entry and exit points. All of the individual parameters work but I cant figure out how to format the SELL_AUTO statement to choose between 3 different possibilities. The characte...
1 2 3 16