Don't want to hijack the thread but I prefix any indicator I write with "TD-" to mark it as pre-release, experimental or unsupported. These however are simple modifications to stock NT indicators (to color the indicator based on slope) I've used for years without apparent issues so probably ought to post them to the downloads section. In the meantime I've attached an NT import file containing TDSMA, TDStochastics, TDMACD and TD15EMASlope. If you import the ZIP file note that @MAX.cs, @MIN.cs, @EMA.cs and @SMA.cs are along for the ride and can be excluded.
Note that the TDMACD indicator is slightly different than conventional MACD in that the histogram is MACD itself rather than the difference between MACD and its average, and an envelope has been added to the histogram to smooth its edges. Also, the extra curve in the TDStochastics window is simply TDSMA applied to TDStochastics and overlaid on TDStochastics.
It suddenly struck me you said you "clicked compile" which may be the clue. Can you confirm you're installing the export files (the downloaded .ZIP files) using NT's import utility (i.e., the right way ) rather than by any other means?
Edited to add: NT import utility at "File > Utilities > Import Ninjascript..."
Last edited by bnichols; November 23rd, 2012 at 12:08 PM.
This sounds like an entirely different can of worms unfortunately.
Coincidentally one of my sons reports his NT/Gain (platform/data feed) combo recently quit downloading historical tick data (he swears he didn't change anything, even if that remains to be seen), and I never had any luck obtaining historical tick data through NT/Interactive Brokers. As an aside MultiCharts still appears bullet proof, never had an issue wringing historical tick data (such as it is) out of Interactive Brokers despite IB's strict pacing rules.
NT with Gain/IB data feeds does appear to capture real-time tick data however and in any event appears able to receive historical data for time-based charts.
So assuming the lack of data wasn't due to some markets shutting down early yesterday, 2 questions:
1. What is your platform/data feed/instrument combo?
2. Can you construct time-based charts (e.g., minute, hour, day)?
Edited to add: By the way I still have the bad habit of tinkering with my installations & my trading plan despite conventional wisdom that in general if it's up and you want to keep it up don't [mess] with it. As a consequence sometimes I feel like Joe Btfsplk (jinxed Li'l Abner character, last name pronounced by "blowing a raspberry" according to Al Capp, the cartoonist)
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).
Last edited by bnichols; November 24th, 2012 at 10:57 AM.
I'm beginning to suspect NT cannot handle historical tick data no matter what the provider and very likely NT will not show tick charts unless you've had tick charts up in the past and have saved the live data (i.e., "Tools > Options > Data > Save chart data as historical"check box ticked. While you're at it might as well turn on " "Tools > Options > Data > Record for market replay").
In other words if NT has not saved downloaded tick data in the past there is a good chance it cannot retrieve it either, so be prepared to capture it while NT is up, and go to any length to import tick data converted from other sources if your installation is down for any length of time or work with tick data gaps. Or not
Look forward to being corrected about this. It is more likely some NT/data feed combo I have not tried does download historical tick data, which might imply more programming effort in place for those feeds than the ones I use. On that topic, just turned IQFeed on again but keep it off when trading spot Forex, since IQFeed position doesn't match broker position often enough.
Last edited by bnichols; November 24th, 2012 at 06:17 PM.
The following user says Thank You to bnichols for this post:
I apologize for my last post. After a certain threshold lack of sleep coupled with the alkaloids and their antidotes I consume to function reach a stalemate, which appears to trigger a gene inherited from my father (no doubt inherited from our Neanderthal ancestors) to drive away all around us. I'm sure it served a purpose once--encourages the tribe to disperse and sons to leave home when the time comes, for example, to ensure genetic diversity (in this case diversity of ideas)--and I have it on good authority the founder of one of the major pizza chains in the U.S. enjoys the same genetics--but probably not appreciated by many anymore in this age of connectedness, Friends, Face Book and Twitter. Not that the founders of the brave new world order aren't inclined to grab the meal and run away with it--just that running away with the goods is not talked about much
That said, I'm curious whether you've been able to assemble tick charts.