I am trying to write a multiple time domain indicator. I have the following issue:
My main time is "1 min". I then added a daily time via:
AddDataSeries(Data.BarsPeriodType.Day, 1);
What I see is that I only get 2 daily bars, and I would like to do a 30 day average.
I saw that there is a "barsToLoad," , but I don't see how it can be added to the AddDataSeries.
2, When I apply the same indicator on a daily chart, NT takes a very long time to update (it shows "Loading" for sometimes 30min !!) , and eventually shows nothing
All that I have is:
Values[0][0] = CurrentBars[0] ;
This works well in 1min, 5min, even weekly or monthly context - it shows the graphical bar count. However it shows nothing on daily context . this happens on certain instruments Any idea why ? any idea how to avoid this ?
Thanks
Comment