Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 07:16:04 +0000



Attaching position sizing for spreadsheet columns

View Count: 677

[2016-01-12 19:30:30]
User596682 - Posts: 14
Hi, using subgraphs for buy/sell entries via spreadsheet columns, I need a code example of how to tie in maximum position for each column. i.e. max position 10 for K, maximum position 10 for M.

SCFloatArray SpreadSheetColKBuyArray;
  sc.GetStudyArrayUsingID(ISpreadSheetChartNo.GetStudyID(), 0, SpreadSheetColKBuyArray); //K

  SCFloatArray SpreadSheetColMSellArray;
  sc.GetStudyArrayUsingID(ISpreadSheetChartNo.GetStudyID(), 2, SpreadSheetColMSellArray); //M

I know you can use sc.CurrencyValuePerTick for different symbols can I just apply that th columns? thx
Date Time Of Last Edit: 2016-01-12 21:55:38
[2016-01-13 02:47:25]
Sierra Chart Engineering - Posts: 104368
We do not understand the relationship between maximum position and the Order Action columns on the Spreadsheet.

In any case, we are not really understanding this. These are programming level questions. You may want to find a programmer to help you:
http://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.html#ThirdPartyList
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

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account