Support Board
Date/Time: Sat, 23 Nov 2024 14:27:57 +0000
ACSIL retrieving Renko/FlexRenko ticksize values instead of setting them?
View Count: 1720
[2013-07-22 01:50:48] |
User45685 - Posts: 36 |
I am currently working on a study and i am wondering if there is a way to retrieve the bar period settings for the chart that is of the FLexrenko type? For example: I have a 10-9-8 ES chart open and when the study runs i want to be able to retrieve those values and use them individually within caluclations. I understand that these memberfunctions have been made available to us: sc.RenkoTicksPerBar sc.RenkoTrendOpenOffsetInTicks sc.RenkoReversalOpenOffsetInTicks But they are read/write integers, which is fine when you set the flexrenko values yourself. But what if i want my study to retrieve the already existing/set flexrenko values for an open chart. |
[2013-07-22 03:14:51] |
vegasfoster - Posts: 444 |
I tried to do this as well, but I could never get it to work correctly.
|
[2013-07-22 03:53:19] |
Al SC Developer - Posts: 434 |
You just read the values: if(sc.Index == 0) { SCString Msg; Msg.Format("RenkoTicks %i RenkoTrend %i RenkoRev %i", sc.RenkoTicksPerBar, sc.RenkoTrendOpenOffsetInTicks, sc.RenkoReversalOpenOffsetInTicks); sc.AddMessageToLog(Msg, 1); } Date Time Of Last Edit: 2013-07-22 03:54:11
|
[2013-07-22 04:54:43] |
User45685 - Posts: 36 |
Resolved :) Thank you
|
To post a message in this thread, you need to log in with your Sierra Chart account: