TradeStation does have 6 months worth of tick data. However it will not currently look inside multi-tick bars (at each tick) during strategy testing.
if target_in_ticks > 0 then SetProfitTarget(target_in_ticks * MinMove);
if stop_in_ticks > 0 then SetStopLoss(stop_in_ticks * MinMove);
Quote from phoenix_rising:
I just realized I made a goof in the stop and profit target code. The two lines should have been this:
Code:if target_in_ticks > 0 then SetProfitTarget(target_in_ticks * MinMove); if stop_in_ticks > 0 then SetStopLoss(stop_in_ticks * MinMove);
The results aren't quite as bleak when commissions are added in. Still not really tradeable with this exact code though.
Quote from BillySimas:
How many cliches are you going to write?
Quote from mschey:
You don't need to code this to test it...if you think it works, you've probably looked at a few charts. Well....take a look at the last weeks worth of data, and see if it looks promising. Then pick another week at random, and look at it again. Then watch it in real time for a few days, if it still looks good, then start with a single contract and see if your actual results mirror your test results. A normal skid factor is 20 to 30%. So your results might come in at 70% of what you were expecting. If all goes well, then you start to turn it up and earn an income.
That's how you find edges in the market place. Nothing can replace the actual process of learning that one gets by working a strategy from start to finish. Reviewing the charts, trades, and learning from the experience.