It is currently May 6th, 2024, 11:26 pm

Newbie - want to create an S&P market addon

Get help with creating, editing & fixing problems with skins
akatsuki
Posts: 3
Joined: September 1st, 2011, 9:09 pm

Newbie - want to create an S&P market addon

Post by akatsuki »

I'd like to make an S&P add-on that didn't just list numbers but had a running graph with the horizontal axis set at the opening price and then have it draw a graph with the current market price at the lead edge of the updating graph - quotes live from some source. Maybe in an Enigma or HUD Vision style.

I looked around at some of the other stock market skins which were just numeric listings.

Not sure how to even get started - read through some of the tutorials, but I am a total hack, so definitely not sure.
crewgr
Posts: 2
Joined: December 1st, 2010, 10:53 am

Re: Newbie - want to create an S&P market addon

Post by crewgr »

How about you take the easy path.

Find a place that has a static url with a chart that you like, like this one:

http://chart.finance.yahoo.com/t?s=^GSPC&lang=en-US&region=US&width=300&height=180

Then do something like this:

[SPMeasure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=60
Url=http://chart.finance.yahoo.com/t?s=^GSPC&lang=en-US&region=US&width=300&height=180
Download=1
FinishAction=!RainmeterRedraw

[SP]
Meter=IMAGE
MeasureName=SPMeasure
X=0
Y=0
W=300
H=180

I do the same with Gold/Silver, you can see here:

http://rainmeter.net/forum/viewtopic.php?f=27&t=9791