Python Finance and Math Tutorials: Gopalakrishnan Range Index (GAPO)

sentdex · Beginner ·🛠️ AI Tools & Apps ·12y ago

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 Matplotlib Python Tutorial Part 1: Basics and your first Graph!
Matplotlib Python Tutorial Part 1: Basics and your first Graph!
sentdex
2 Python Encryption Tutorial with PyCrypto
Python Encryption Tutorial with PyCrypto
sentdex
3 Python's Logging Function
Python's Logging Function
sentdex
4 wxPython Tutorials 1: Making Windows GUIs with Python : Installing + 1st window!
wxPython Tutorials 1: Making Windows GUIs with Python : Installing + 1st window!
sentdex
5 wxPython Tutorials 2: Making Windows GUIs with Python: Customizing Window Parameters
wxPython Tutorials 2: Making Windows GUIs with Python: Customizing Window Parameters
sentdex
6 wxPython Programming Tutorial 3: Menu Bar and Menu Button
wxPython Programming Tutorial 3: Menu Bar and Menu Button
sentdex
7 wxPython Programming Tutorial 4: Panels
wxPython Programming Tutorial 4: Panels
sentdex
8 wxPython Programming Tutorial 5: User Input Saved To Variables
wxPython Programming Tutorial 5: User Input Saved To Variables
sentdex
9 wxPython Programming Tutorial 6: Multiple Choice Input
wxPython Programming Tutorial 6: Multiple Choice Input
sentdex
10 wxPython Programming Tutorial 7: Adding Static Text and Colors
wxPython Programming Tutorial 7: Adding Static Text and Colors
sentdex
11 wxPython Programming Tutorial 8: Custom Button Images
wxPython Programming Tutorial 8: Custom Button Images
sentdex
12 wxPython Programming Tutorial 9: Tool Bar Items and Sub Menus!
wxPython Programming Tutorial 9: Tool Bar Items and Sub Menus!
sentdex
13 Basic PHP Tutorial 13: Multi-dimensional Array
Basic PHP Tutorial 13: Multi-dimensional Array
sentdex
14 Basic PHP Tutorial 15: Functions and Global Variables
Basic PHP Tutorial 15: Functions and Global Variables
sentdex
15 Basic PHP Tutorial 12: Associative Array
Basic PHP Tutorial 12: Associative Array
sentdex
16 Basic PHP Tutorial 14: Foreach loop
Basic PHP Tutorial 14: Foreach loop
sentdex
17 Basic PHP Tutorial 16: Include and Require
Basic PHP Tutorial 16: Include and Require
sentdex
18 Basic PHP Tutorial 7: Assignment, comparison and Logical operators
Basic PHP Tutorial 7: Assignment, comparison and Logical operators
sentdex
19 Basic PHP Tutorial 4: Variables and Comments
Basic PHP Tutorial 4: Variables and Comments
sentdex
20 Basic PHP Tutorial 11: Arrays part 1, basic array
Basic PHP Tutorial 11: Arrays part 1, basic array
sentdex
21 Basic PHP Tutorial 6: If else and else if conditionals cont'd
Basic PHP Tutorial 6: If else and else if conditionals cont'd
sentdex
22 Basic PHP Tutorial 1: Intro to PHP
Basic PHP Tutorial 1: Intro to PHP
sentdex
23 Basic PHP Tutorial 3: HTML with PHP
Basic PHP Tutorial 3: HTML with PHP
sentdex
24 Basic PHP Tutorial 9: While Loop
Basic PHP Tutorial 9: While Loop
sentdex
25 Basic PHP Tutorial 10: Switch Statement
Basic PHP Tutorial 10: Switch Statement
sentdex
26 Basic PHP Tutorial 2: Print and Echo
Basic PHP Tutorial 2: Print and Echo
sentdex
27 Basic PHP Tutorial 5: If else and else if conditional statements
Basic PHP Tutorial 5: If else and else if conditional statements
sentdex
28 Basic PHP Tutorial 8: Arithmatic Operators: Doing math with php
Basic PHP Tutorial 8: Arithmatic Operators: Doing math with php
sentdex
29 Basic PHP Tutorial 17: User Input Form Example / String Manipulation
Basic PHP Tutorial 17: User Input Form Example / String Manipulation
sentdex
30 Basic PHP Tutorial 18: HTML Entities and forms cont'd
Basic PHP Tutorial 18: HTML Entities and forms cont'd
sentdex
31 Basic PHP Tutorial 19: Finding words in strings
Basic PHP Tutorial 19: Finding words in strings
sentdex
32 Basic PHP Programming Tutorial 20: Saving to a File / writing and appending
Basic PHP Programming Tutorial 20: Saving to a File / writing and appending
sentdex
33 Basic PHP Programming Tutorial 22: Hashing part 2: salting
Basic PHP Programming Tutorial 22: Hashing part 2: salting
sentdex
34 Basic PHP Programming Tutorial 23: Variables in Strings and tokenizing
Basic PHP Programming Tutorial 23: Variables in Strings and tokenizing
sentdex
35 Basic PHP Programming Tutorial 21: MD5 Hashing For Security
Basic PHP Programming Tutorial 21: MD5 Hashing For Security
sentdex
36 Basic PHP Programming Tutorial 24: String similarity
Basic PHP Programming Tutorial 24: String similarity
sentdex
37 Basic PHP Programming Tutorial 25: Time and Time stamps
Basic PHP Programming Tutorial 25: Time and Time stamps
sentdex
38 Basic PHP Programming Tutorial 26: Die and Exit
Basic PHP Programming Tutorial 26: Die and Exit
sentdex
39 Basic PHP Programming Tutorial 27: MySQL Databases Part 1
Basic PHP Programming Tutorial 27: MySQL Databases Part 1
sentdex
40 Basic PHP Programming Tutorial 28: MySQL Database Part 2: Reading From Database
Basic PHP Programming Tutorial 28: MySQL Database Part 2: Reading From Database
sentdex
41 Basic PHP Programming Tutorial 29: MySQL Database Part 3: Inputting Data
Basic PHP Programming Tutorial 29: MySQL Database Part 3: Inputting Data
sentdex
42 Basic PHP Programming Tutorial 30: MySQL database in Use
Basic PHP Programming Tutorial 30: MySQL database in Use
sentdex
43 Django Tutorial Web Development with Python Part 1: Installing Django
Django Tutorial Web Development with Python Part 1: Installing Django
sentdex
44 Python Tutorial: File Deletion and Folder Deletion / directory deletion
Python Tutorial: File Deletion and Folder Deletion / directory deletion
sentdex
45 Python Tutorial: How to Rename Files and Move Files with Python
Python Tutorial: How to Rename Files and Move Files with Python
sentdex
46 3D Graphs in Matplotlib for Python: Basic 3D Line
3D Graphs in Matplotlib for Python: Basic 3D Line
sentdex
47 3D Plotting in Matplotlib for Python: 3D Scatter Plot
3D Plotting in Matplotlib for Python: 3D Scatter Plot
sentdex
48 3D Charts in Matplotlib for Python: Multiple datasets scatter plot
3D Charts in Matplotlib for Python: Multiple datasets scatter plot
sentdex
49 Sikuli Tutorial 1: Visually programming in python!
Sikuli Tutorial 1: Visually programming in python!
sentdex
50 Sikuli Tutorial 2: Program visually in python!
Sikuli Tutorial 2: Program visually in python!
sentdex
51 Sikuli Tutorial 3: Program visually in python!
Sikuli Tutorial 3: Program visually in python!
sentdex
52 3D Bar Charts in Python and Matplotlib
3D Bar Charts in Python and Matplotlib
sentdex
53 3D Plane wire frame Graph Chart in Python
3D Plane wire frame Graph Chart in Python
sentdex
54 Raspberry Pi Part 1 Introduction
Raspberry Pi Part 1 Introduction
sentdex
55 Raspberry Pi Part 8: First Download and Update! (Firmware)
Raspberry Pi Part 8: First Download and Update! (Firmware)
sentdex
56 Raspberry Pi Part 10: How to set up a Linux Web Server on your Pi
Raspberry Pi Part 10: How to set up a Linux Web Server on your Pi
sentdex
57 Raspberry Pi Part 11: Remote Desktop
Raspberry Pi Part 11: Remote Desktop
sentdex
58 Twitter Analysis: How to rank a user's influence
Twitter Analysis: How to rank a user's influence
sentdex
59 GPIO Tutorial for Pi Part 2 - Programming the GPIO
GPIO Tutorial for Pi Part 2 - Programming the GPIO
sentdex
60 GPIO Tutorial for Raspberry Pi Part 1 - Setting up
GPIO Tutorial for Raspberry Pi Part 1 - Setting up
sentdex

Related Reads

📰
AI Tools that Actually Pay You Back: A Developer's Guide to Monetizing AI
Learn how to monetize AI tools as a developer and generate real revenue
Dev.to AI
📰
OpenScience Emerges as Open-Source AI Workbench for Researchers
Learn about OpenScience, an open-source AI workbench for researchers, and how it streamlines scientific workflows using AI tools
Dev.to AI
📰
AI Isn’t Helping Students Cheat — It’s Helping Them Learn Smarter
AI can be a valuable tool for students to learn smarter, not cheat, by using it as a personal tutor, breaking down complex topics, and creating better study materials
Medium · ChatGPT
📰
Enterprise Transformation’s Biggest Cost Is Work That Should Never Have Existed
Enterprise transformation is costly due to unnecessary work, and AI can help reduce these costs by providing cheap answers
Medium · AI
Up next
How to Create Cookie Consent Banner Plugin Using Claude AI
Quick Tips - Web Desiign & Ai Tools
Watch →