Support Board
Date/Time: Wed, 22 Jan 2025 09:45:43 +0000
Trial, individual scale and study setting for each instrument
View Count: 761
[2018-08-28 18:38:43] |
User149120 - Posts: 2 |
Hello! How can I set individual scale constant range and Bid/Ask Minimum Volume Compare Threshold in Numbers Bars for each instrument? For NQ Futures Constant Range 28, Bid/Ask Minimum Volume Compare Threshold 100. For CL Futures Constant Range 1, Bid/Ask Minimum Volume Compare Threshold 300. Thank you! |
[2018-08-29 00:43:26] |
Sierra Chart Engineering - Posts: 104368 |
There is not a way to do this for an individual symbol. They are set directly on the chart. And once they are set you can duplicate the chart. Refer to: Using Chart Templates Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2018-08-29 00:43:42
|
[2018-09-12 12:36:12] |
User149120 - Posts: 2 |
I've done code for individual scale constant range and horizontal line grid increment for each instrument. #include "sierrachart.h"
SCDLLName("Custom Study DLL") SCSFExport scsf_FunctionName(SCStudyInterfaceRef sc) { if (sc.SetDefaults) { sc.GraphRegion = 0; return; } SCString mysym=sc.GetChartSymbol(4); SCString partsym=mysym.GetSubString(3, 5); sc.BaseGraphScaleRangeType = SCALE_CONSTRANGECENTER; if (partsym == "ENQ") { sc.BaseGraphScaleConstRange = 28.0f; sc.BaseGraphHorizontalGridLineIncrement = 10.0f; return; } if (partsym == "CLE") { sc.BaseGraphScaleConstRange = 1.12f; sc.BaseGraphHorizontalGridLineIncrement = 0.5f; return; } if (partsym == "YMU") { sc.BaseGraphScaleConstRange = 112.0f; sc.BaseGraphHorizontalGridLineIncrement = 25.0f; return; } if (partsym == "RTY") { sc.BaseGraphScaleConstRange = 11.2f; sc.BaseGraphHorizontalGridLineIncrement = 5.0f; return; } } This thing is very important for me. As for individual Bid/Ask Minimum Volume Compare Threshold in Numbers Bars now it isn't important for me. |
To post a message in this thread, you need to log in with your Sierra Chart account: