stockfetcher 980 posts msg #112589 |
4/2/2013 10:53:58 AM
We have added basic support for controlling the plot-type (line, bar, etc) for your custom StockFetcher variables. Right now the number of chart types is limited; however, keep your eyes open for additional options with the HTML5 charts.
Usage:
PlotType{user-variable,[plottype]}
Valid Plot Types:
- line: basic line (default)
- zerobar: Histogram centered at zero
- dot: A small circle for the value
Examples:
|
Kevin_in_GA 4,599 posts msg #112892 - Ignore Kevin_in_GA modified |
4/22/2013 6:33:27 AM
Thanks for this addition - one request:
Can you add to this the ability to have the histogram (or dot) change color based on the value? This is already implemented in the volume histogram, with bar color associated with positive or negative gain on price.
It would be nice to have the histogram go from blue to red if the value crossed below zero, for example.
Kevin
P.S. Does this change only work on custom variables? I tried this on the RSI(2) as a test and it did not change it to a different format.
|
dangreene 229 posts msg #113884 - Ignore dangreene |
6/4/2013 8:44:40 AM
P to T
|
Kevin_in_GA 4,599 posts msg #114425 - Ignore Kevin_in_GA |
7/12/2013 8:19:21 AM
4/22/2013 6:33:27 AM
Thanks for this addition - one request:
Can you add to this the ability to have the histogram (or dot) change color based on the value? This is already implemented in the volume histogram, with bar color associated with positive or negative gain on price.
It would be nice to have the histogram go from blue to red if the value crossed below zero, for example.
Kevin
P.S. Does this change only work on custom variables? I tried this on the RSI(2) as a test and it did not change it to a different format.
Any update on this request? Again - almost three months go by and no response.
|
stockfetcher 980 posts msg #114426 |
7/12/2013 8:31:29 AM
We do not have any updates at this time concerning the "color change" option that you mention in your original message.
Concerning the "P.S." to your message, yes, as indicated in the announcment, this feature only applies to user-defined variables.
StockFetcher Support
|
alfredaita 4 posts msg #114763 - Ignore alfredaita |
8/6/2013 7:10:11 AM
PlotType syntax reports as error in debugger even though results are as expecteted.
|
lis 37 posts msg #155435 - Ignore lis |
1/25/2021 1:31:23 PM
It seems that PlotType won't work with a 'price line'. It's ignoring my desire to have a 'dot' line. Is this expected behavior? Or, am I missing something?
Here's my code:
|
Cheese 1,374 posts msg #155441 - Ignore Cheese |
1/25/2021 8:11:44 PM
The code I use
|
graftonian 1,089 posts msg #155450 - Ignore graftonian |
1/26/2021 10:48:43 AM
PlotType always shows an error and sometimes hangs my scripts. Proceed with caution
Graf
|
lis 37 posts msg #155453 - Ignore lis |
1/26/2021 2:38:24 PM
Interesting, @graftonian. I don't use PlotType often, so I went back to some of my scripts that have it and selected to debug: boom - there's the error.
I then checked debug on the Stockfetcher examples: yep, the error is there, too. Hmm...
|