Tutorials
Golang : Accessing dataframe-go element by row, column and name example
Dataframe-go is similar to Python's pandas
package and it is used for statistics and data manipulation inside a Go program.….... read more
Golang : Gonum standard normal random numbers example
Putting this simple example here for my own future reference. Just another way of generating random numbers beside using math/rand
.….... read more
Golang : Detect words using using consecutive letters in a given string
Got an interesting question asked by a member of Go Programming Language Facebook group. He is asking how to….... read more
Golang : Calculate a pip value and distance to target profit example
Below is an example on how to calculate a pip value from a given trade amount and exchange rate of….... read more
Golang : Calculate US Dollar Index (DXY)
Below is a code example on how to calculate the US dollar index based on a basket of other related….... read more
Golang : Calculate pivot points for a cross
As a habit, before I get into a trade position, I will always double check the target cross' pivot points.….... read more
Golang : Scan forex opportunities by Bollinger bands
My previous post of using Golang to create a scanner to spot opportunities is base on RSI criteria. For this….... read more
Golang : Find correlation coefficient example
Below is an example of Golang code to find the strength of relation between two given variables or correlation coefficient.….... read more
Golang : A simple forex opportunities scanner
Below is a simple program that will scan for trading opportunities. Basically what this program does is to calculate a….... read more
Golang : Get a list of crosses(instruments) available to trade from Oanda account
Below is a simple program to get a list of available crosses for trading from Oanda.com. My original purpose of….... read more
Golang : Oanda bot with Telegram and RSI example
Putting this down for my own reference in case I need it again in future. Basically, the code below is….... read more
Golang : How to iterate a slice without using for loop?
A very simple example on how to iterate a slice of integers without using a for
loop and use recursive….... read more
Golang : Find the length of big.Int variable example
There is a chance that you will ever need to get the length of big.Int
variable and below is a….... read more
Javascript : Change page title to get viewer attention
Nowadays, most browser users will open multiple tabs of web pages to view couple of pages by tabbing in and….... read more
Golang : Selection sort example
The selection sort algorithm is an in-place comparison sort. What it does is that it loops a given slice and….... read more
Golang : Map within a map example
Just an example of map within map in Golang. The example below demonstrates how to put declare a map with….... read more
Golang : Check if an integer is negative or positive
A simple example on how to check if a given number is negative or positive number in Golang.
Here you….... read more
Golang : Count number of digits from given integer value
Just a simple program to count number of digits from a given integer value. Need this to calculate if an….... read more