Support Board
Date/Time: Sun, 12 Jan 2025 01:03:17 +0000
Post From: ACSIL: sc.TickSize from other chart
[2016-01-18 11:03:28] |
Marmany - Posts: 307 |
For info I achieve the result you are after by having a study on the transmitting chart with: float& TckSize = sc.GetPersistentFloat(123); TckSize = sc.TickSize(); Then on the receiver chart retrieve the value with a study containing: SCInputRef TckSizeFeed = sc.Input[1]: if(sc.SetDefaults) { TckSizeFeed .Name = "Tick Size Feed"; TckSizeFeed .SetChartStudyValues(1,1);// change digits as necessary } float TckSize = sc.GetStudyPersistentFloatFromChart(TckSizeFeed.GetChartNumber(), TckSizeFeed.GetStudyID(), 123); First time the receiver study is run make sure in Study Settings that correct Transmitter chart is being picked up. Hope this also works for you. |