Pipely | Forex Trading Calculator With Position Sizing, Trade History and P/L Calendar - SwiftUI

Description
Pipely – Forex Trading Calculator Template for iOS
Pipely is a complete, native iOS trading companion built with SwiftUI and SwiftData. It combines a professional forex position sizing calculator, a saved trade history, and a monthly P&L calendar with a journal – all wrapped in a striking dark theme with aqua and pink accents. Everything is 100% offline: no server, no API keys, no accounts.
Demo Instructions
- No login and no demo credentials are required. The app is fully offline and works immediately after building and running.
- There are no API keys, no accounts and no server dependencies. Open the project in Xcode, press Run, and start using the app.
- To try the calculator: enter an account balance, pick a currency and leverage, choose one of 40+ instruments, set a risk percentage and entry price, then tap “Calculate Trade” and “Save Trade”.
- To try the P&L calendar: tap any day cell or use the ”+ Profit” / ”- Loss” buttons to record a daily result with an optional journal note.
Everything the App Does
- Position size calculator: computes lot size from account balance and risk percentage
- Stop loss and take profit prices calculated automatically from entry price and risk
- Risk-to-reward ratio, pips to stop loss and pips to take profit
- Margin required based on contract size and selected leverage (1:1 up to 1:3000)
- Potential loss, potential profit and per-lot pip value for every instrument
- Margin call level and stop out level based on configurable percentages
- 40+ tradable instruments grouped in 5 categories: Majors, Crosses, Indices, Metals and Crypto
- Correct pip sizes and contract sizes per instrument (forex, JPY pairs, gold, silver, indices, BTC, ETH, LTC)
- Multi-currency account support: USD, EUR, GBP, JPY and AED with a custom drawn AED dirham symbol
- Input validation with clear inline error messages
- Save calculated trades to History with success haptic feedback
- Trade history with detailed cards: pair, leverage, risk, R:R, entry, SL, TP, lot size and P/L
- Swipe to delete trades and edit mode in History
- Friendly empty state when no trades are saved yet
- Monthly P&L calendar: colored day cells for profit (green) and loss (red)
- Monthly earnings summary with win and loss day counts
- Month navigation with smooth animation
- Quick add buttons for profit and loss days
- Add / edit entry sheet with amount, daily percentage, journal note and delete option
- Today highlight ring on the calendar
- Success haptics on saving trades and calendar entries
- Elegant dark-only design: black background, aqua and blue gradients, bubblegum pink highlights
- Single-file design system (AppTheme.swift) so the whole look can be re-skinned in minutes
- Persistent local storage with SwiftData (trades and P&L entries survive restarts)
- Tap-anywhere-to-dismiss-keyboard behavior for smooth form entry
Technology
- Language: Swift 5.9+
- UI: SwiftUI
- Persistence: SwiftData (iOS 17 native)
- Minimum deployment target: iOS 17.0
- Third-party dependencies: none – zero external packages
- Offline: 100%, no network calls, no API keys
- Universal single-target Xcode project, portrait only
What the Buyer Gets
- Full Xcode source code for the complete app (all Swift files and assets)
- App icon source (1024×1024 PNG)
- Step-by-step documentation.html with embedded screenshots
- Instructions for changing the bundle ID, app name, icon and color theme
- Instructions for customizing instruments, currencies and leverage options
- App Store submission checklist
Development Disclosure
Portions of this template’s source code were developed with AI-assisted tools. All code has been reviewed, tested and verified in Xcode prior to publication.
Please note: this is a source code template. Xcode knowledge is required to build, customize and publish the app. The price reflects the source code, not a finished published app.
| Type | iOS App |
|---|---|
| Author | mefjudevllc |
| Price | $14 |
| Sales | 0 |
| Rating | 0 (0) |
| Published | Sep 8, 2026 |
| Last Update | Sep 8, 2026 |
| Compatible Software | Other |
| Compatible With | Swift |
| Mobile Files Included | .h |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.