Strategy Guide (193)

Votes
Answers
Views
Question
1
vote
2
answers
319
views
asked 4 years 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...
1
vote
1
answer
314
views
asked 8 years ago by
Category: Strategy Guide
Hello - looking for some assistance on getting the Ichimoku Strategy downloaded into TOS. I was able to successfully download the Scan and Alert but the Strategy will not  show up when I go to Import a new study. Is there a different link I coud try ...
0
votes
2
answers
312
views
asked 6 years ago by
Category: Strategy Guide
Hello Pete I'm new to TOS platform,  Saw your web site, very nicely put together.  I don't have much programming experience, i was able to write this one line code with help of the strategy builder, there seems to be something wrong with the code sin...
0
votes
1
answer
300
views
asked 5 years ago by
Category: Strategy Guide
I am reposting this questions to include a screenshot.. Hello all. I am building a strategy to back test and I cannot figure out if there is a way to use the low of a previous candle for an entry.  On this particular strategy, after a RED candle cros...
0
votes
0
answers
296
views
Be first to answer!
asked 7 years ago by
Category: Strategy Guide
hey Pete,  Based on this simple script below def exit = 1;  I need your help to make this simple command work,  in which from the time of 15:54 until 16:00 the exit will be equal to zero   I still have not found a way to translate this into Thinkscri...
0
votes
1
answer
296
views
asked 6 years ago by
Category: Strategy Guide
Hi Pete, I was interested in developing a strategy that included when heikin ashi candles changed from red to green, and green to red.  I'm having trouble with that code, and I'm assuming the problem is something relating to the compounded value.  Is...
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
288
views
asked 5 years ago by
Category: Strategy Guide
I am trying to backtest a strategy of 9/20 ema crossing (buying or shorting on the crossover) and am having a little issue. My code will initiate the initial buy when I want it to but it won't sell out and rebuy when the criteria is met. Any thoughts...
0
votes
1
answer
286
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
2
answers
281
views
asked 7 years ago by
Category: Strategy Guide
How do I convert the prebuilt Strategies into scans for example the BollingerBandsLE, EhlersStochLE and the two Ichimoku Strategies that you shared? input length = 20; input num_devs_dn = 2.0; input bollinger_price = close; input lower_band_price = c...
1 4 5 6 7 8 20