Tutorials

golang.pngGolang : Gonum standard normal random numbers example

4th May 2019

Putting this simple example here for my own future reference. Just another way of generating random numbers beside using math/rand.….... read more



golang.pngGolang : Detect words using using consecutive letters in a given string

13th April 2019

Got an interesting question asked by a member of Go Programming Language Facebook group. He is asking how to….... read more



golang.pngGolang : Calculate a pip value and distance to target profit example

16th March 2019

Below is an example on how to calculate a pip value from a given trade amount and exchange rate of….... read more



golang.pngGolang : Calculate US Dollar Index (DXY)

7th March 2019

Below is a code example on how to calculate the US dollar index based on a basket of other related….... read more



golang.pngGolang : Calculate pivot points for a cross

6th March 2019

As a habit, before I get into a trade position, I will always double check the target cross' pivot points.….... read more



golang.pngGolang : Scan forex opportunities by Bollinger bands

27th February 2019

My previous post of using Golang to create a scanner to spot opportunities is base on RSI criteria. For this….... read more



golang.pngGolang : Find correlation coefficient example

26th February 2019

Below is an example of Golang code to find the strength of relation between two given variables or correlation coefficient.….... read more



golang.pngGolang : A simple forex opportunities scanner

21st February 2019

Below is a simple program that will scan for trading opportunities. Basically what this program does is to calculate a….... read more



golang.pngGolang : Get a list of crosses(instruments) available to trade from Oanda account

21st February 2019

Below is a simple program to get a list of available crosses for trading from Oanda.com. My original purpose of….... read more



golang.pngGolang : Oanda bot with Telegram and RSI example

20th February 2019

Putting this down for my own reference in case I need it again in future. Basically, the code below is….... read more



golang.pngGolang : How to iterate a slice without using for loop?

14th February 2019

A very simple example on how to iterate a slice of integers without using a for loop and use recursive….... read more



golang.pngGolang : Find the length of big.Int variable example

11th February 2019

There is a chance that you will ever need to get the length of big.Int variable and below is a….... read more



javascript.jpgJavascript : Change page title to get viewer attention

26th September 2018

Nowadays, most browser users will open multiple tabs of web pages to view couple of pages by tabbing in and….... read more



golang.pngGolang : Selection sort example

25th September 2018

The selection sort algorithm is an in-place comparison sort. What it does is that it loops a given slice and….... read more



golang.pngGolang : Map within a map example

14th April 2018

Just an example of map within map in Golang. The example below demonstrates how to put declare a map with….... read more



golang.pngGolang : Check if an integer is negative or positive

19th March 2018

A simple example on how to check if a given number is negative or positive number in Golang.

Here you….... read more



golang.pngGolang : Count number of digits from given integer value

16th March 2018

Just a simple program to count number of digits from a given integer value. Need this to calculate if an….... read more



golang.pngGolang : Extract part of string with regular expression

11th March 2018

Below is a simple example of how to extract a specific part of a string with the help of regular….... read more



Advertisement