Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
fuzzy candles
Collapse
X
-
if(sInstrumentName == "" || sInstrumentName == null )
{
nDataSeriesIndex =0;
}
else
{
AddDataSeries(sInstrumentName, Data.BarsPeriodType.Minute, nTimeFrame, Data.MarketDataType.Last);
nDataSeriesIndex = 1;
}
when the instrument name is activated and when it reads the market data the candles can get fuzzy if the timeframes are different
Comment
-
Hello ballboy11,
Thank you for your response.
Would you be willing to let us test out the full code for this on our end? If so, please send the exported file (instructions belows) to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H' in the subject line and a reference to this thread in the body of the email.
You can export your indicator by going to Tools > Export > NinjaScript Add On > Add > select your indicator > OK > Export > name the file 'NTsupport' > Save. The file will be located under Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript.
I look forward to your response.
Comment
-
Hello ballboy11,
During the indicator development cycle, I have also encountered many of the "fuzzy candles" issues. Each time, it is a result of accessing data that is out of the valid range. After this event, NT8 will continue to display the chart but without completing other additional activities. The appearance of the chart looks "fuzzy". I was able to find the delinquent code by using the Visual Studio debugger, which would stop at the code and provide a description of the error. The data values can then be viewed to find the culprit.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,608 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
9 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
19 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
6 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
16 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Comment