Support Board
Date/Time: Fri, 22 Nov 2024 22:14:58 +0000
Post From: Watermark with chart time frame
[2024-10-07 09:47:15] |
Acro - Posts: 441 |
You have to add in two inputs (prefixchars and suffixchars) and then you need to build in the following type of code blocks "SCString Chart1Name = sc.GetChartName(sc.ChartNumber); int PrefixChars = Input_PrefixChars.GetInt(); int SuffixChars = Input_SuffixChars.GetInt(); if (PrefixChars > 0 && PrefixChars < Chart1Name.GetLength()) { Chart1Name = Chart1Name.Right(Chart1Name.GetLength() - PrefixChars); } if (SuffixChars > 0 && SuffixChars < Chart1Name.GetLength()) { Chart1Name = Chart1Name.Left(-SuffixChars); }" Cursor.ai is quite a nice coding app as it helps you with suggestions and tidying things up. Hope this helps you |