Questions for tag "strategy" (6)

Votes
Answers
Views
Question
1
vote
1
answer
257
views
asked 8 years ago by
Category: Strategy Guide
And if not, is there an easy way to incorporate commission costs in the analysis?
0
votes
1
answer
116
views
asked 6 years ago by
Category: Strategy Guide
Hi....Love the tutorials. I have a question regarding the TOS Strategy Guide video. (or more precisely the code). How can one make this code for a bear strategy?I've tried just reversing all the highs and lows, but I don't know if that would make for...
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
92
views
asked 4 years ago by
Category: Strategy Guide
I've had some good luck poking around in here but am having trouble adapting my strategy code. Some background of a similar dummy strategy: Entry Conditions (if ANY of the following is valid): Daily 50SMA crossed above 200SMA OR Daily 50SMA > Dail...
0
votes
1
answer
505
views
asked 4 years ago by
Category: Strategy Guide
Hi Pete, Thanks for all the great resources.  I am new to thinkscript and have been working on a EMA cross strategy in TOS that I have pieced together from several different resources online.  Below is the entire script: input tradeSize = 100; def si...
0
votes
1
answer
172
views
asked 3 years ago by
Category: Strategy Guide
Hi, I want to make my strategy scale in and scale out. Below is a trite, yet easy example. Scenario: - BUY @ $1.00 GBP/USD for 2 lots. Desire: - SELL @ $1.0010 (ten pips profit) GBP/USD for 1 lot. Effect: The desired effect here is to reduce the tota...