SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: psb1967 <ps...@ho...> - 2013年06月23日 10:29:15
Hi,
I am new to programming and this is my first major work.
I wish to add Bollinger Bands and Hull Moving Average(HMA) in
finance_work2.py. Need your guidance.
Installation details:
Windows 7
Python 3.3.2
Matplotlib 1.2.1
Numpy 1.7.1
Ta-Lib
As it is I don't have any issues running the script however, adding BB and
HMA will complete my task.
Thanks in advance.
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/To-add-Bollinger-Bands-in-finance-work2-py-tp41310.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Benjamin R. <ben...@ou...> - 2013年07月01日 17:28:53
On Sun, Jun 23, 2013 at 6:29 AM, psb1967 <ps...@ho...> wrote:
> Hi,
>
> I am new to programming and this is my first major work.
>
> I wish to add Bollinger Bands and Hull Moving Average(HMA) in
> finance_work2.py. Need your guidance.
>
> Installation details:
>
> Windows 7
> Python 3.3.2
> Matplotlib 1.2.1
> Numpy 1.7.1
> Ta-Lib
>
> As it is I don't have any issues running the script however, adding BB and
> HMA will complete my task.
>
> Thanks in advance.
>
>
>
Since nobody has replied, I would suggest asking your question on the scipy
users list, which is more geared towards implementation of various
algorithms. The matplotlib mailing list mostly deals with plotting
questions. When you need help with plotting your results, let us know!
Cheers!
Ben Root
From: psb1967 <ps...@ho...> - 2013年07月01日 17:42:54
Hi Ben,
Benjamin Root-2 wrote
> On Sun, Jun 23, 2013 at 6:29 AM, psb1967 &lt;
> psb67@
> &gt; wrote:
> 
> 
>>
> Since nobody has replied, I would suggest asking your question on the
> scipy
> users list, which is more geared towards implementation of various
> algorithms. The matplotlib mailing list mostly deals with plotting
> questions. When you need help with plotting your results, let us know!
> 
> Cheers!
> Ben Root
May be it was my mistake posting a wrong request, without properly
understanding the nature of this elite site, nevertheless, I am grateful for
your taking time to reply and guide me in the proper direction.
I will give it a try with scipy user list.
Regards
Suresh
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/To-add-Bollinger-Bands-in-finance-work2-py-tp41310p41355.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: William R. W. <wr...@ma...> - 2013年07月02日 01:38:18
On Jul 1, 2013, at 1:42 PM, psb1967 <ps...@ho...> wrote:
> Hi Ben,
> 
> 
> Benjamin Root-2 wrote
>> On Sun, Jun 23, 2013 at 6:29 AM, psb1967 &lt;
> 
>> psb67@
> 
>> &gt; wrote:
>> 
>> 
>>> 
>> Since nobody has replied, I would suggest asking your question on the
>> scipy
>> users list, which is more geared towards implementation of various
>> algorithms. The matplotlib mailing list mostly deals with plotting
>> questions. When you need help with plotting your results, let us know!
>> 
>> Cheers!
>> Ben Root
> 
> May be it was my mistake posting a wrong request, without properly
> understanding the nature of this elite site, nevertheless, I am grateful for
> your taking time to reply and guide me in the proper direction.
> 
> I will give it a try with scipy user list.
> 
> Regards
> 
> Suresh
> 
> 
Suresh, I think the most likely reason no one has answered is that the intersection of the set of matplotlib experts and the set of people who know what Bollinger bands are is too close to zero. I'm a beginner at matplotlib, but I do know what Bollinger bands are, and I'd suggest your best approach is to take a look at the matplotlib demo gallery here: 
http://matplotlib.org/examples
in particular, study the code for the fifth example from the top here: http://matplotlib.org/examples/pylab_examples/plotfile_demo.html
which implements a plot of Open, High. Low, and Closing prices. I'm assuming you know enough math to implement a Bollinger band version of a moving average, and can just substitute it for the code that plots the extra lines on the example.
Good luck,
Bill
From: psb1967 <ps...@ho...> - 2013年07月02日 03:40:49
William Ray Wing wrote
> On Jul 1, 2013, at 1:42 PM, psb1967 &lt;
> psb67@
> &gt; wrote:
> 
> 
> Suresh, I think the most likely reason no one has answered is that the
> intersection of the set of matplotlib experts and the set of people who
> know what Bollinger bands are is too close to zero. I'm a beginner at
> matplotlib, but I do know what Bollinger bands are, and I'd suggest your
> best approach is to take a look at the matplotlib demo gallery here: 
> 
> http://matplotlib.org/examples
> 
> in particular, study the code for the fifth example from the top here: 
> http://matplotlib.org/examples/pylab_examples/plotfile_demo.html
> 
> which implements a plot of Open, High. Low, and Closing prices. I'm
> assuming you know enough math to implement a Bollinger band version of a
> moving average, and can just substitute it for the code that plots the
> extra lines on the example.
> 
> Good luck,
> Bill
Hi Bill,
I am truly overwhelmed to see the kind of efforts taken to guide when one
requires guidance, esp. the fresh programmers. One of the things that I
learned when no one responds with a specific answer but shown the direction
is that I am given an opportunity to learn and work by myself. I really
appreciate your time and will start working on the example you have cited.
In fact, I did get a complete Bollinger bands script however, I will start
working on the line you have shown; it may open up new avenues. 
Regards.
Suresh
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/To-add-Bollinger-Bands-in-finance-work2-py-tp41310p41359.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: psb1967 <ps...@ho...> - 2013年07月11日 18:54:45
Hi Bill,
Made an important move, after a log jam for quite some.
I spent some time exploring *TA-LIB for python*. Today I tested plotting
Bollinger bands, SMA, WMA etc on my 5 min. intraday hist. chart. It was not
bad.
The most important one, *Hull Moving Average (HMA)* which is back bone to my
system needs to be written. I will start working on that one, now I don't
need to worry any more about other aspects. :)
Thanks once again to both of you.
Regards
Suresh
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/To-add-Bollinger-Bands-in-finance-work2-py-tp41310p41454.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /