## How to calculate the Relative Strength Index (RSI)

In this post, we will discuss how to calculate the Relative Strength Index (RSI) in a step by step guide. And because this is Nullbeans.com, we will also provide you with an implementation in the Java programming language! So read on 😉 Introduction The RSI is one of the most used and most popular technical […]

## What is the Exponential Moving Average (EMA) in Trading

In this post, we will discuss what the Exponential Moving Average (EMA) is and how is it used when trading stocks, commodities or currencies. If you are new to moving averages, then I highly recommend that you first read our article about “Simple Moving Average (SMA) in Trading” in order to better understand the contents of […]

## Java XOR (Exclusive or) operator on Booleans

In this tutorial, will show how to use a the Java XOR (exclusive or) operator on booleans, and we will discuss how the operator behaves with various combinations of boolean values. In Java, booleans can hold only two values, true and false. The XOR operator in Java ‘ ^ ‘ can be used with booleans […]

## What is K and D in the stochastic RSI?

In this post, we will discuss the stochastic RSI, what the K and D components of it are and some trading signals and strategies that involve the technical indicator. So what are the K and D in the Stochastic RSI? In a Stochastic RSI chart, you will find two lines with the names K and […]

## Java BigDecimal, Dealing with high precision calculations

In this tutorial, we will discuss how to use the Java BigDecimal class to deal with calculations that require a high degree of precision, such as when dealing with currency conversion, taxes or even high accuracy mathematical calculations. Why do we need the BigDecimal class In Java a floating point or a fractional number can […]

## Relative Strength Index (RSI) buy/sell signals & strategies

In this post we will discuss what the Relative Strength Index (RSI) is, what it tells us about a stock or a commodity, which signals does it provide us and how to use it to our advantage during trading. What is the RSI The RSI is a technical indicator used to analyse a specific commodity […]

## What is a Simple Moving Average (SMA) in Trading

In this post, we will discuss what a Simple Moving Average (SMA for short) is, how to calculate it, what it can tell us about the price action and how the SMA can be used as a tool while trading. What is the Simple Moving Average (SMA)? The Simple Moving Average (SMA) is a technical […]

## ArithmeticException in Java – Causes & Treatment

In this tutorial, we will introduce a few examples that would highlight the causes of getting an ArithmeticException thrown within a Java program. We will discuss the common causes of the exception, and how these could be treated. What is an ArithmeticException? An arithmetic exception is an error that is thrown when an invalid arithmetic […]

## Java ArrayIndexOutOfBoundsException – Causes & Fixes

In this tutorial, we will discuss what a Java ArrayIndexOutOfBoundsException is, what causes it and how to make sure that you avoid it. What is an ArrayIndexOutOfBoundsException An array-index out of bounds exception is a Java exception thrown due to the fact that the program is trying to access an element at a position that […]

## Spring Boot and Docker example on Windows

In this tutorial, we will discuss how to create a docker container from a Spring Boot application and how to run it in a Windows environment. Most of the tutorials I encountered related to creating Spring Boot containers were focused on Linux, so I thought I would share my experience creating docker containers of your […]

Scroll to top