Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 07:09:04 +0000



Post From: DRAWING LINE is no longer working

[2019-05-26 05:09:48]
WarriorTrader - Posts: 245
We do not observe any problem with this


Hello,

I took out TickPrice.ChartNumber = RemoteChartNum; amd TickPrice.LineNumber = 34313355l;
Since AddAsUserDrawnDrawing = 0 taking thoes lines should not make a difference since it is UTAM_ADD_OR_ADJUST, but I did it anyway - same result.


If you change the tool type to DRAWING_HORIZONTAL_LINE_NON_EXTENDED the line shows up as expected. I believe using UseRelativeVerticalValues = 1 may be the issue here. I have had problems with relative values in the past. Usually I can find a work around - so I never did post anything about it.

In this case there is no work around.

Do you need me to make a chartbook with this code? Not sure this is necessary if you run my simple code with the two different Drawing Types in question.

This is an study that has been running for over four years and I have been coding SC for over eight years. I am also a professional developer outside of trading. Please let me know if you need a chartbook.


Thanks,
-WT