How to calculate EMA in Swift EMA gives more weight to recent price data, helping traders quickly identify trends and respond to changing market conditions.
How to calculate SMA in Swift SMA helps traders identify trends and make buy/sell decisions by smoothing out short-term price fluctuations.
How to calculate Stochastic Oscillator in Swift Stochastic Oscillator helps traders identify potential trend reversal points by comparing a security's closing price to its price range over a set period.
How to calculate RSI in Swift RSI helps traders identify overbought/oversold conditions and potential trend reversals, providing valuable information for making buy/sell decisions.
Kotlin Multiplatform things to be aware for iOS Developer Kotlin Multiplatform is a new tool that allows you to write applications that run on multiple platforms, including Android and iOS. It works with any existing Java libraries and Kotlin libraries, so it should be a great way to expand your reach as an app developer.
Create custom error in Swift It's good to have good error handling. Errors are different for every project. It's good to define what can happen and attach fallback to let user know what went wrong. Lets how to do it in Swift
Error handling Kotlin vs Swift Recently I had to implement error handling in Kotlin Multi-Platform and use it in Swift. Let's check what error handling looks like in Kotlin and compare it with Swift.
Unwrapping optionals in Kotlin Unwrapping optional type is different in Kotlin. Let's check all possible ways.
Smooth high-frequency data array with moving averages Recently I had to implement a way to smooth high-frequency data from the phone's accelerometer. The refresh rate was 16ms, so there is a lot of noise, to simply fix it, I decided to go with moving averages.