chiggaway.com
- 6 min readA tutorial on implementing a stochastic oscillator using Ruby can be a useful resource for developers looking to incorporate technical analysis into their trading strategies. The stochastic oscillator is a popular indicator used by traders to identify overbought and oversold conditions in the market.In this tutorial, you can learn how to calculate the stochastic oscillator for a given set of price data using Ruby.
- 8 min readThe Parabolic SAR (Stop and Reverse) is a technical indicator used in trading to determine potential reversal points in the market. It is calculated based on the price momentum of an asset and is represented by a series of dots on the chart. When the dots are below the price, it indicates a bullish trend, and when they are above the price, it signals a bearish trend.
- 5 min readFibonacci extensions in Lua are a commonly used tool in technical analysis to determine potential levels of support and resistance in financial markets. The Fibonacci extension levels are used to predict where prices may move to following a price retracement. By applying the Fibonacci ratios to key points on a price chart, traders can identify levels where a financial instrument may potentially reverse or continue its trend.
- 6 min readIn Fortran, the Fibonacci extensions can be calculated by first calculating the Fibonacci numbers using a recursive function or an iterative loop. Once the Fibonacci numbers are calculated, the extensions can be obtained by multiplying the last Fibonacci number by various ratios such as 1.618, 2.618, 4.236, etc.To use the Fibonacci extensions in Fortran, you would first need to write a subroutine or function to calculate the Fibonacci numbers.
- 7 min readTo calculate the Average True Range (ATR) using Golang, you will first need to gather the necessary historical price data for the asset or security you are interested in analyzing. The ATR is a volatility indicator that measures the average range of price movement over a specified period of time.Once you have the historical price data, you can start by calculating the True Range (TR) for each period.
- 7 min readTo compute the Ichimoku Cloud using Clojure, you can write a program that follows the mathematical formulas for calculating the components of the Ichimoku Cloud. This includes calculating the Tenkan-sen (Conversion Line), Kijun-sen (Base Line), Senkou Span A, Senkou Span B, and the Chikou Span.
- 8 min readIn Julia, you can compute pivot points by using mathematical formulas that calculate the support and resistance levels for a financial instrument. These pivot points are used by traders to determine potential turning points in the market and make decisions on when to buy or sell a security.
- 6 min readIn this tutorial, we will be exploring how to calculate and plot the Relative Strength Index (RSI) using Python. RSI is a popular technical indicator used to determine whether a stock is overbought or oversold.We will first cover the formula for calculating RSI, which involves using an exponential moving average to calculate the average gains and losses over a specified period.Next, we will walk through the process of implementing this formula using Python code.
- 8 min readUsing the On-Balance Volume (OBV) in Go involves tracking the cumulative trading volume of a financial instrument over a specified period of time. OBV is used to confirm price trends and anticipate potential reversals. By analyzing the relationship between volume and price movements, traders can gain insight into market sentiment and make informed trading decisions. In Go, OBV can be calculated and plotted on a chart using various libraries and tools available in the programming language.
- 5 min readTo create Commodity Channel Index (CCI) in Dart, you first need to gather historical price data for the asset or commodity you are interested in analyzing. The CCI is calculated using a simple mathematical formula that takes into account the average price, the simple moving average of the typical price, and a multiple of the mean deviation.Once you have the historical price data, you can start calculating the CCI for each data point.
- 5 min readTo calculate the Ichimoku Cloud in Ruby, you will need to first collect the high, low, and close prices of the asset you are interested in analyzing. Then, you can use a series of calculations to determine the components of the Ichimoku Cloud, which includes the Tenkan-sen (Conversion Line), Kijun-sen (Base Line), Senkou Span A (Leading Span A), and Senkou Span B (Leading Span B).