Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 17:00:39 +0000



[User Discussion] - Offering To The Community: Custom Stock Index Creator

View Count: 8496

[2016-12-15 07:47:08]
Neo - Posts: 198
Are you trying to load 500+ symbols at once? That is far too many.

You need to try breaking them up, eg add 50 each time

Also,

-What is the minimum amount of days you require for each chart? and how many days are you currently trying to load onto each chart?
-In data/ trade services, what is your intraday data storage time unit? If you are trying to load that many charts then make sure this is set to seconds, not ticks.
-In data/ trade services, what is your Max Historical intraday days to download? For testing purposes Set this to the minimum number of days you need to load on each chart.
[2016-12-15 08:44:04]
bjohnson777 (Brett Johnson) - Posts: 284
First: Can y'all hit the "Control Panel" link at the top and enter something for "Publicly Shown Name"? Being sleepless, I'm losing track of "34" and "19". Thanks.

@19: I've got a ticket open for applying Study Collections to a chart in ACSIL. Doing it by Study Collection would be easy since the user would have to create it and set all the values first (as in, not trying to figure that out in ACSIL). There is a way of applying a Study Collection to ANY new chart, but that makes a mess of the non-ACSIL charts, too. The setting is in Global Settings. This has potential for an ugly workaround, but it would be far better than doing it all by hand. The SC dev's usually get around to implementing my simpler requests. It just takes them time to get to it.

Your code sorta has the right idea, but I don't think it will compile and run. You'd really want 2 graphs: one for above VWAP, one for below VWAP. In my program, I'm also planning on returning a flag string back to the settings window for each of the symbols. I'm probably going to fork Index Creator into Stock Screener (or something similarly named). I've got some ideas to do far more than VWAP.

If you want to blindly walk through all chart numbers, you'll go from 1 to sc.GetHighestChartNumberUsedInChartBook(). I've got this in my IndexCreator code. You'll also want to look at my code for checking for chart errors... and probably implement more since this is blind access. Code like this isn't very efficient, but it's still faster than doing it by hand.

As far as health goes, I've been scrawney all my life. I have been gaining weight the past year, but I haven't gotten over 150 pounds. I've dropped the last sugar in my diet, so I should be going back down. Doctors have had me on dozens of pills, most useless. Sleepers make me more tired in the day. Stims give me worse insomnia at night. In reality, a pill cannot reverse brain damage (what CSA boils down to). Doctors are TERRIFIED of the words "brain damage" for some reason. I've been wanting a phrenic nerve pace maker, but they're even more terrified of that. In the mean time, I'm slowly rotting away into nothing. I've been doing a lot of ACSIL programming working my way towards automation just because I can't keep up anymore. There's no reason for me to do what the computer could do, anyways.

@34: 19 brings up some good points to check. Index Creator should have at least tried to open those windows, though. It will error out at the last symbol that got chopped in the Symbol List. Also double check to make sure it's enabled. Any load to a new chart will default to disable to prevent it from trashing a chartbook.

If you exit and go back into settings, you can copy and paste out the Symbol List to a text editor and see where it got chopped. Internally in Index Creator, I clean the Symbol List and copy it back into settings for this purpose. You can also have a look at "FLAG: Number Of Symbols Found", which is the internal count of what the program thinks it can use. If a symbol got chopped, this will be one less than the reported number.
[2016-12-16 10:59:27]
bjohnson777 (Brett Johnson) - Posts: 284
I updated the beta version DLL in post #19. I changed the priority settings, and I think I've fixed some of the chart redraw problems that were annoying me. There are still some issues with Overlay and Multiply, but those are outside of my control. CTRL-INSERT is working to redraw.

I also bumped up the Symbol List size to 10k. It should be able to hold far more than the charts you want to open.
[2016-12-16 13:48:40]
User345334 - Posts: 23
thanks for the update, i think i have a problem in installing the indicator , when you said

"Study Subgraphs Add: Short Name: Added Volumes, Chart Region 3, Scale: Automatic, Input Study 1: Call Index: Volume, Input Study 2: Put Volume: Result, Offset: 0, Draw Zeros: Yes, Perform Add With Zero Value: Yes. Subgraphs Tab: Purple, Bar, Solid, 2."

i didn't find how to do that , Input Study 1: Call Index: Volume, Input Study 2: Put Volume: Result, Offset: 0,
there is no input study only input data or based on.
imageUntitled.png / V - Attached On 2016-12-16 13:48:17 UTC - Size: 243.32 KB - 713 views
imageUntitled1.png / V - Attached On 2016-12-16 13:48:27 UTC - Size: 230.1 KB - 596 views
[2016-12-17 07:26:56]
bjohnson777 (Brett Johnson) - Posts: 284
"Studies Available" column on the left side, scroll down to "Study Subgraphs Add". You will also need "Overlay (Single Line)" and "Study Subgraph Multiply".

In the "Studies To Graph" column, you'll have 5 studies total when everything is set up.

edit: fixed copy and paste
Date Time Of Last Edit: 2016-12-17 09:41:45
[2016-12-17 07:49:02]
User345334 - Posts: 23
yes, please see image 1 i got all 5 studies as you said
but the instruction on "Study Subgraphs Add: Short Name: Added Volumes, Chart Region 3, Scale: Automatic, Input Study 1: Call Index: Volume, Input Study 2: Put Volume: Result, Offset: 0, Draw Zeros: Yes, Perform Add With Zero Value: Yes. Subgraphs Tab: Purple, Bar, Solid, 2."

i didn't find how to do that , Input Study 1: Call Index: Volume, Input Study 2: Put Volume: Result, Offset: 0,

are not clear so i don't know if this is right , please see image 2

and in image 3 you can see my chart with out any data.
and i'm sending the calls symbols and the puts symbols.
image1.png / V - Attached On 2016-12-17 07:47:54 UTC - Size: 228.96 KB - 709 views
image2.png / V - Attached On 2016-12-17 07:48:06 UTC - Size: 228.73 KB - 565 views
image3.png / V - Attached On 2016-12-17 07:48:19 UTC - Size: 213.67 KB - 707 views
attachmentcalls symbols.txt - Attached On 2016-12-17 07:48:28 UTC - Size: 3.2 KB - 541 views
attachmentput symbols.txt - Attached On 2016-12-17 07:48:49 UTC - Size: 3.21 KB - 522 views
[2016-12-17 09:54:32]
bjohnson777 (Brett Johnson) - Posts: 284
I clarified the instructions in post #19 a little more. Make sure you add the studies in that order. You need the plural version of the "Add" study. Give the instructions one more try. You've almost got it.

When you're done, it will look like the attached screenshot... or probably better. I don't have access to call and put futures, so this one is just a test.
imageScreenshot_CallPutIndex.png / V - Attached On 2016-12-17 09:54:24 UTC - Size: 143.89 KB - 674 views
[2016-12-17 13:01:53]
User345334 - Posts: 23
i start over and did it again please see the image is getting there but still not look like your image.
do you like me to send you image of all the studies and how i set them i probably still doing something wrong.
image1.png / V - Attached On 2016-12-17 13:00:22 UTC - Size: 239.68 KB - 709 views
[2016-12-18 04:10:56]
bjohnson777 (Brett Johnson) - Posts: 284
Go ahead and attach the images. For testing, let's simplify and only use the 10 most recent symbols from the call and put lists.
[2016-12-18 13:28:26]
User345334 - Posts: 23
i reduce dramatically the number of symbols, and please see the images i'm sending maybe you can figure out what i'm doing wrong?
i see in your image that you look on daily chart and my is intraday chart.
imagestudy1.png / V - Attached On 2016-12-18 13:27:04 UTC - Size: 224.88 KB - 670 views
imagestudy2.png / V - Attached On 2016-12-18 13:27:16 UTC - Size: 217.28 KB - 573 views
imagestudy3.png / V - Attached On 2016-12-18 13:27:25 UTC - Size: 223.92 KB - 531 views
imagestudy4.png / V - Attached On 2016-12-18 13:27:34 UTC - Size: 214.37 KB - 562 views
imagestudy5.png / V - Attached On 2016-12-18 13:27:43 UTC - Size: 216.82 KB - 609 views
[2016-12-19 09:24:37]
bjohnson777 (Brett Johnson) - Posts: 284
For "Call Index Line" / "Chart Study Number To Overlay", change that to #1. You're on chart #1 and you want to overlay another line from #1 back to itself.

For "Put Index", change scaling to Independent.

Have a look at "Call Index" and "Put Index", "FLAG Number Of Symbols Found". One says "37" and the other says "33". If I understand your setup correctly, both numbers should be identical. For every call symbol, there should be a matching put symbol.

For "Volume Difference", you'll have to double check the settings. I don't know what the numbers translate to. "Input Study 1" should be "Call Index / VolumeIdx". "Input Study 2" should be "Put Volume / Result".

Make sure all your studies listed under "Studies To Graph" are in the same order as the instructions in post #19.

I think that will get you working. Be sure to hit "Save All" for the Study Collection so you don't have to set all this up again for each major symbol.
[2016-12-21 12:09:39]
User345334 - Posts: 23
thanks, i fix it all and it look like this can take very few symbols not a lot , i will try to test it with other instrument like gold and oil and see if the situation is better.
[2017-12-12 22:53:20]
wsdkii - Posts: 1
Hi Brett, I'm interested in creating my own index(s) - is this still a viable option?

Thank you.
[2017-12-13 06:36:55]
bjohnson777 (Brett Johnson) - Posts: 284
@wsdkii: Yep. Grab the source code and/or DLL from here (first post):

Offering To The Community: Brett Johnson's Standard Tool Kit

Recompile instructions are in post #11 if you want to.

I keep all my stuff in a single DLL for consolidation and ease of management. I just did a recompile of the main DLL, so everything should work on the current SC version.

I've been hit by a number of life events this year and haven't been trading. My developer's account is currently expired. I was planning on fixing that within the next few weeks. If there is a problem with the setup from the above instructions, flag me down again and I'll get things reactivated sooner.
[2018-01-31 07:10:47]
bjohnson777 (Brett Johnson) - Posts: 284
This version deploys the volume function and cleanly compiles with SC v1689.
[2018-04-30 10:25:40]
bjohnson777 (Brett Johnson) - Posts: 284
Thanks and enjoy.

I've had others mention it to me, but it won't reverse brain damage and could make things a lot worse for me. What others tend to ignore is that it will cause its own long term brain damage. Nobody would hire Tommy Chong as their accountant. I also used to work with a recovered heavy user suffering from reduced IQ. He ended his story with, "It was fun at the time, but it ain't worth it. Just don't."

I do support the various cannabanoids going through the FDA, but I've only heard of one movement that tried and failed. Let the government leave THC as illegal, isolate any other brain damaging chemicals, then fast track the rest. There are plenty of suffering people who could greatly benefit from properly purified and metered doses. Under those conditions, it would also make a great bio-stock buy in.
[2019-07-19 18:59:34]
Chad - Posts: 231
Hi Brett, I've got to say first off, like many others have, fantastic work you're sharing here :)

Have you released a separate study from the Custom Index creator, just for call/put options like discussed with "19" and "34" above, or is the CSIC study the way to go?
[2019-07-22 08:23:54]
bjohnson777 (Brett Johnson) - Posts: 284
Thanks. There's just this one. It's hard to remember that far back with my health problems, but I think call/puts were looking for a volume bell curve that never happened. Just goes to show that not everything behaves as expected.

You can play around with it as technically it looks for Sierra Chart ticker symbols and not necessarily stock symbols only.
[2020-03-07 22:31:06]
bjohnson777 (Brett Johnson) - Posts: 284
Added a discussion about creating market sectors while watching the current coronavirus crash. Please keep all related discussions in that thread.

OT: Custom Stock Index Creator and the Coronavirus
[2020-09-16 09:30:48]
bjohnson777 (Brett Johnson) - Posts: 284
Minor fixes to compile with SC 2168.
[2022-07-10 07:40:10]
bjohnson777 (Brett Johnson) - Posts: 284
Bunch of minor fixes to compile with SC 2411.

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

Login

Login Page - Create Account