Support Board
Date/Time: Mon, 25 Nov 2024 17:27:41 +0000
Post From: S&P 500 Top 10 Index (Dow Jones Indices)
[2024-02-19 22:31:56] |
SavantTrader - Posts: 110 |
John (or Support), Is there a way of assigning a default name (e.g., SC500T10) to the synthetic (formula-based) symbol, so that it can be easily referenced? For example, when using sc.OpenChartOrGetChartReference to open a chart, specifying a compact name rather than the lengthy formulaic name. The formula consists of 10 weighting factors and 10 symbols... there must be a way to name or alias this? I tried the following new symbol settings, in hopes the name would appear in a [File][Find Symbol] search, to no avail: Historical Symbol: SP500T10
SC Data Symbol: SP500T10 Trade/Quote Symbol: SP500T10 I think you'll agree it's a bit cumbersome to have to refer to it (especially programmatically) as: 7.14*(MSFT-NQTV}+6.36*{AAPL-NQTV}+4.24*{NVDA-NQTV}+3.70*{GOOGL-NQTV}+3.65*{AMZN-NQTV}+2.54*{META-NQTV}+1.74*{BRK.B-NQTV}+1.43*{LLY-NQTV}+1.31*{AVGO-NQTV}+1.31*{TSLA-NQTV}+1.23*{JPM-NQTV}
As you know, any time I adjust the weights it means "name" also changes. Hence, the ability to define an alias is important. Please see the attached SC window capture for clarification. Date Time Of Last Edit: 2024-02-20 16:51:46
|
Capture2.png / V - Attached On 2024-02-19 22:31:48 UTC - Size: 72.63 KB - 95 views |