Tradestation allows bracket orders which is why I do most of my prototyping with Tradestation. In the past when an idea had merit I would then code it for Ninjatrader and run it live on Ninja. I tried running live with TS and had nothing but problems. Probably just me cause lots of TS traders automate. I haven't tried to automate anything since January, but I do prototype just for proof of concepts and to see if ideas have merit.
Vast - it's not so simple as avoiding 10:30 every wednesday. The crude day does change around holidays. But if it was just crude inventory it wouldn't be too hard to have a big if statement to return true for the crude days. One can get the historical ones from forex factory. It's all the other news items that are difficult. If I were doing it, I'd type those into excel and then use that to make a big if statement that would return true if the date & time fall in a news time.
for example in excel
translates in ninja to:
if date = 20100725 and time >= 10:20 and time <= 10:40 return true;
you can create the ninja code in excel itself. in fact if someone can make an excel with all the news dates I could make the ninja code column and then you can just copy/paste the ninja code into your strategy/indicator.
this is called "lookup functions" in tradestation and I've done a lot of items like this. this is how I used to import my COT data..
Awesome! Exactly what I needed I think I'll have to do it for each week unless there is a way to see an entire month. I'll work on converting this to ninja code. I can put it into a public static function that others can import into their workspace.
I have done it its very simple. Have an array to hold the news times. On each session change read the excel up to the current day and load into the array the current day news.
Then on each bar check if the time is in between the start - end of news event.
Just wanted to say a word about using discretion when trading............
Take a look at the CL open this morning.........after the 5:30 am pst news we got an inside bar which would normally be a great set up.........however you should NOT have taken this trade long as S1 and yesterdays low were right there in your face. As the market opened it jerked up exactly to S1......to the tick and proceeded to break the inside bar to the downside (becoming an outside bar) to retest the recent low.
Outstanding post Jeff. This is what makes a trader successful! You've got a great eye for this sort of thing. I do similar things with ES, looking out for "obstacles" in the way of my targets.
This also sums up why I choose to focus on ES. It was not because the IB setup is not good, it's because I couldn't give it the focus required. It's hard to track s/r on multiple markets. I don't track floor pivots but market profile key areas, areas of professional activity (pro bars and/or POT signals, etc.). It's a bit of work but really helps.
I suggest anyone interested in the IB setup to sim it for a while, paying attention to the S/R and potential "obstacles".
The following 2 users say Thank You to cunparis for this post:
Impressed with cunparis' results, I thought I'd go through his journal some more. I started going back to his thread on volume. I've been using BetterVolume for a while now, or at least observing it, but never really put it to use for anything useful yet.
After reading through the thread some and Barry's site again about the descriptions, I decided to see if there was any correlation to IBs and volume bar type. I know the BetterVolume on Ninja is not as good as the one on TS because of the lack historical data on volume hitting the bid vs ask, but I did notice a couple things which I will backtest: IBs seem to work best on volume bars that are not volume climaxes, churns nor low volume bars.
If you think about it this makes sense. If the market is not climaxing an IB is more likely a real pause/equllibrium and the market is waiting to make it's next move. Again, needs more backtesting, but I just found this eyeballing the CL-09 and 6E-09 tonight.
HVC IBs also look promising as they often signal a reversal. We'll see. Churns are still very active and could cause outside bars, killing IB profitability, but seem more prone to successful recovery if you implement a stop and reverse.
Interestingly, low volume bars don't seem that great either. Again, thinking about it, a low volume bar is not so much a time out, rather, game over. Trading has nearly come to a stop. It may take it a while to start it up again. That reboot process can cause price to wiggle around above and below your IB before establishing the next direction. Again, hard to say without testing, but that's my thinking as to why those might not work as well either.
PS - the shVolume indicator is a specialized version of BetterVolume2, with some other goodies added.
The following 5 users say Thank You to shodson for this post: