I have the following code only
protectedoverridevoid Initialize()
{
CalculateOnBarClose = true;
Overlay = true;
PriceTypeSupported = false;
Add(new Line(Color.Gray, 815, "Lower"));
}
It should draw a gray line at 815 ( on SnP chart ) , and it does that ..
Now when I change 815 into 820 and compile the indicator and then refresh the chart (F5) my line still at 815. not 820 as I expected ..
the only way I know to get it work is to remove my indicator from the indicators list then add it again , and then it works .. even if I exit NT then run it again that will not solve this probelm,
seems NT is caching my compiled indicator somewhere .. is there any way to make NT works correctlly. and not from the cache..
Thanks

Comment