Python Finance and Math Tutorials: Gopalakrishnan Range Index (GAPO)
Skills:
Python for Data70%
Key Takeaways
Introduces Gopalakrishnan Range Index (GAPO) indicator for measuring volatility in stocks using Python
Full Transcript
what's going on guys welcome to another python mathematics and finance indicators video this video we're going to be talking about the gopala krishnan range index otherwise known as gapo and that's what i'm going to call it for the rest of this video the gapo is intended to measure the volatility in a stock and it doesn't incorporate volume so you can think what you want about that the only reason i throw that in there is that sometimes either your volume information isn't included or you might not want to use volume or you might want to maybe add volume to the equation and make it that much better but it's kind of neat when you can have an indicator that mimics volume yet does not use uh volume the calculation for the gapo indicators is basically going to be the logarithm of the highest high for whatever time frame you're considering minus the lowest low for whatever time frame you're considering then you're going to do that divided by the logarithm of that time frame so with that let's go ahead and look at an example of the scapo indicator before we get into actually programming it so here's our charting application if you want to know more about it uh check out our python charting application tutorial video series what so we're going to look at ebay and so here we have ebay and down here we've got the gappo 14 for ebay um actually uh nevermind i thought i had changed it but no this is indeed the gap of 14. uh so here's an example of the gap out here and as you can see so as you know the volatility here in theory is going up you can not only see this in the chart price but you can see in the volume where volume really spikes up there and price falls sure enough the gap is pretty high again here as it's very volatile falling it goes up and then as it's rising you can see the gapo goes up and then uh where you've got more of like a controlled like here's a spike rise and here's a spike rise both times you see the gap spike up uh then you've got more of a controlled steady rise without too much change and it's not so crazy and then here you you could say that price is going up down up down up down up down but for the most part it's relatively stable and it's a little up down a little process and as you can see here the gappo kind of like levels out so with that let's look at another uh gap indicator let's look at something like uh tesla would be a good one where it like kind of flat line and then it went way up and then it's been going way down uh yeah it's a pretty good one so here's tesla and as you can see i mean it's relatively stable here and then the price starts really rising and so the gappo indicator goes way up right and then it starts really falling and sure enough the gap stays up right because the idea of the gapo isn't really for trend at all it's volatility and here's a great example of it matching volume pretty well where you know trade volume is pretty low it's stable it's low and stable here and then it spikes up here with trade volume and price as it you know gains popularity or whatever uh and really the gambo indicator is like pretty much right on par with the volume here and then as you know the actual stock starts trending down the rsi starts trending down but the gap is still there because it's obvious it's volatility only so it's pretty interesting indicator actually um it's just another one of those i actually quite like the indicators that measure volatility without using volume i think it's pretty cool um obviously it's it's fairly simple i mean the stock price itself measures volatility usually without volume but still i like the indicators that do it's just kind of like a neat out of the or like out of the box method uh for doing it so anyways that's the gapo indicator in the next video what we're going to be doing is actually programming the gapo indicator in python and then the video after that we'll plot it up just like this in this charting application so if that sounds interesting to you guys stay tuned to the next video as always thanks for watching
Original Description
This tutorial video introduces you to the Gopalakrishnan Range Index (GAPO) indicator.
The Gopalakrishnan Range Index (GAPO) attempts to measure volatility in a stock.
The purpose of this series is to teach mathematics within python. To do this, we will be working with a bunch of the more popular stock indicators used with technical analysis.
With most of the indicators, we will first discuss them, their purpose, then teach how to program them into python, then actually display them on a chart.
The basic charting application comes from a previous tutorial series, here: http://www.youtube.com/playlist?list=PLQVvvaa0QuDcR-u9O8LyLR7URiKuW-XZq
Required files:
Sample Code for the actual charting parts: http://sentdex.com/sentiment-analysisbig-data-and-python-tutorials-algorithmic-trading/python-matplotlib-sample-code-charting-stocks-python/
Python: http://python.org
Numpy: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
Matplotlib: http://matplotlib.org/downloads.html
Percent Change Video:
https://www.youtube.com/watch?v=7fIY_5m1yH0
Sentdex.com
Facebook.com/sentdex
Twitter.com/sentdex
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from sentdex · sentdex · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Matplotlib Python Tutorial Part 1: Basics and your first Graph!
sentdex
Python Encryption Tutorial with PyCrypto
sentdex
Python's Logging Function
sentdex
wxPython Tutorials 1: Making Windows GUIs with Python : Installing + 1st window!
sentdex
wxPython Tutorials 2: Making Windows GUIs with Python: Customizing Window Parameters
sentdex
wxPython Programming Tutorial 3: Menu Bar and Menu Button
sentdex
wxPython Programming Tutorial 4: Panels
sentdex
wxPython Programming Tutorial 5: User Input Saved To Variables
sentdex
wxPython Programming Tutorial 6: Multiple Choice Input
sentdex
wxPython Programming Tutorial 7: Adding Static Text and Colors
sentdex
wxPython Programming Tutorial 8: Custom Button Images
sentdex
wxPython Programming Tutorial 9: Tool Bar Items and Sub Menus!
sentdex
Basic PHP Tutorial 13: Multi-dimensional Array
sentdex
Basic PHP Tutorial 15: Functions and Global Variables
sentdex
Basic PHP Tutorial 12: Associative Array
sentdex
Basic PHP Tutorial 14: Foreach loop
sentdex
Basic PHP Tutorial 16: Include and Require
sentdex
Basic PHP Tutorial 7: Assignment, comparison and Logical operators
sentdex
Basic PHP Tutorial 4: Variables and Comments
sentdex
Basic PHP Tutorial 11: Arrays part 1, basic array
sentdex
Basic PHP Tutorial 6: If else and else if conditionals cont'd
sentdex
Basic PHP Tutorial 1: Intro to PHP
sentdex
Basic PHP Tutorial 3: HTML with PHP
sentdex
Basic PHP Tutorial 9: While Loop
sentdex
Basic PHP Tutorial 10: Switch Statement
sentdex
Basic PHP Tutorial 2: Print and Echo
sentdex
Basic PHP Tutorial 5: If else and else if conditional statements
sentdex
Basic PHP Tutorial 8: Arithmatic Operators: Doing math with php
sentdex
Basic PHP Tutorial 17: User Input Form Example / String Manipulation
sentdex
Basic PHP Tutorial 18: HTML Entities and forms cont'd
sentdex
Basic PHP Tutorial 19: Finding words in strings
sentdex
Basic PHP Programming Tutorial 20: Saving to a File / writing and appending
sentdex
Basic PHP Programming Tutorial 22: Hashing part 2: salting
sentdex
Basic PHP Programming Tutorial 23: Variables in Strings and tokenizing
sentdex
Basic PHP Programming Tutorial 21: MD5 Hashing For Security
sentdex
Basic PHP Programming Tutorial 24: String similarity
sentdex
Basic PHP Programming Tutorial 25: Time and Time stamps
sentdex
Basic PHP Programming Tutorial 26: Die and Exit
sentdex
Basic PHP Programming Tutorial 27: MySQL Databases Part 1
sentdex
Basic PHP Programming Tutorial 28: MySQL Database Part 2: Reading From Database
sentdex
Basic PHP Programming Tutorial 29: MySQL Database Part 3: Inputting Data
sentdex
Basic PHP Programming Tutorial 30: MySQL database in Use
sentdex
Django Tutorial Web Development with Python Part 1: Installing Django
sentdex
Python Tutorial: File Deletion and Folder Deletion / directory deletion
sentdex
Python Tutorial: How to Rename Files and Move Files with Python
sentdex
3D Graphs in Matplotlib for Python: Basic 3D Line
sentdex
3D Plotting in Matplotlib for Python: 3D Scatter Plot
sentdex
3D Charts in Matplotlib for Python: Multiple datasets scatter plot
sentdex
Sikuli Tutorial 1: Visually programming in python!
sentdex
Sikuli Tutorial 2: Program visually in python!
sentdex
Sikuli Tutorial 3: Program visually in python!
sentdex
3D Bar Charts in Python and Matplotlib
sentdex
3D Plane wire frame Graph Chart in Python
sentdex
Raspberry Pi Part 1 Introduction
sentdex
Raspberry Pi Part 8: First Download and Update! (Firmware)
sentdex
Raspberry Pi Part 10: How to set up a Linux Web Server on your Pi
sentdex
Raspberry Pi Part 11: Remote Desktop
sentdex
Twitter Analysis: How to rank a user's influence
sentdex
GPIO Tutorial for Pi Part 2 - Programming the GPIO
sentdex
GPIO Tutorial for Raspberry Pi Part 1 - Setting up
sentdex
More on: Python for Data
View skill →Related Reads
📰
📰
📰
📰
AI Tools that Actually Pay You Back: A Developer's Guide to Monetizing AI
Dev.to AI
OpenScience Emerges as Open-Source AI Workbench for Researchers
Dev.to AI
AI Isn’t Helping Students Cheat — It’s Helping Them Learn Smarter
Medium · ChatGPT
Enterprise Transformation’s Biggest Cost Is Work That Should Never Have Existed
Medium · AI
🎓
Tutor Explanation
DeepCamp AI