With the existing indicator, you click the middle mouse button over a bar, and it draws a stop line one tick below the bar, a line at the entry one tick above, and lines at various targets above, which you can control through the indicator settings. It also prints the stop and target values from entry in points. I wanted to make two changes: get the stop and targets in dollars. and rather than measuring between the high and the low, I wanted to measure from the open to the close.
I gave Claude 3.5 the base code and asked it to make the changes. After some work, we got it to compile without error. As soon as I placed it on a chart, it squished all the lines into a small horizontal area at the top of the chart. When I removed the indicator from the chart, it returned the bars to their normal size. I discovered that although AdvancedRiskReward continued to function normally, now, when I placed it on a chart, the lines squished together, although we had made zero changes to this indicator.
The indicator also works fine when I add it to a chart through a template. There's only a problem when it's added from the Indicators dialog. Also, removing RiskRewardClicker from the system didn't fix the problem. I also tried re-installing NT from both a backup and doing a fresh install from the web. Still no joy. Before doing these file restores, I removed RiskRewardClicker from the Indicators folder.
I've been working on this error with Claude for about three full days. I suggested to it that it prepare a troubleshooting history which I could show you. Please see attached. I've also attached the RiskRewardClicker indicator. I tried to attach the AdvancedRiskReward indicator, but your editing program wouldn't let me--either as a cs file or when I had converted it to a text file.
I would greatly appreciate any help that you could give me. My big concern is that if I don't correct the problem, I 'm going to have trouble in the future adding indicators to charts.

Comment