Spaces:
Running
Running
| title: Faronesquare Calculator | |
| emoji: 👁 | |
| colorFrom: red | |
| colorTo: gray | |
| sdk: static | |
| pinned: false | |
| license: mit | |
| short_description: faronesquare-calculator multidimensi | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| title: FarOneSquare Calculator emoji: 🧮 colorFrom: blue colorTo: indigo sdk: static pinned: false license: mit | |
| FarOneSquare Calculator | |
| Professional Square of 9 Trading Calculator | |
| Support & Resistance Level Calculator based on W.D. Gann's Square of 9 Methodology | |
| Overview | |
| FarOneSquare Calculator adalah kalkulator teknikal untuk menghitung level Support dan Resistance menggunakan metodologi Square of 9 dari W.D. Gann. Tool ini membantu trader mengidentifikasi level harga kritikal dengan presisi berdasarkan sudut 360°. | |
| Cocok untuk analisis saham, forex, crypto, dan komoditas. | |
| Features | |
| Real-time Calculation: Auto-kalkulasi saat input berubah | |
| Manual Mode: Kontrol penuh dengan tombol Hitung | |
| Cardinal Levels: Hitung otomatis level 90°, 180°, 270°, 360° | |
| Minor & Mid Levels: Tampilkan semua level 45°-315° | |
| Tick Size Precision: Kustomisasi sesuai instrumen pasar | |
| Export Data: Export hasil ke CSV dan JSON | |
| Zero Dependencies: Pure HTML/CSS/JS | |
| How to Use | |
| Masukkan Harga Dasar - Contoh: 4000 | |
| Atur Tick Size - Contoh: 5 | |
| Pilih mode Real-time atau Manual | |
| Analisis tabel Support/Resistance yang dihasilkan | |
| Methodology | |
| Rumus Square of 9: | |
| FarOneSquare Calculator | |
| Professional-Grade Square of 9 Trading Calculator | |
| Precision Support & Resistance Levels Based on W.D. Gann's Square of 9 Methodology | |
| [Hugging Face Spaces](https://huggingface.co/spaces/farone11/faronesquare-calculator) | |
| [License: MIT](https://opensource.org/licenses/MIT) | |
| [Version]() | |
| [Status]() | |
| 1. Overview | |
| FarOneSquare Calculator is a professional technical analysis tool engineered to compute Support and Resistance levels using W.D. Gann's Square of 9 methodology. It enables traders, quantitative analysts, and financial researchers to identify critical price levels with mathematical precision based on 360° angular calculations. | |
| This application is designed for multi-asset market analysis including equities, forex, cryptocurrencies, and commodities. | |
| 2. Core Features | |
| Feature | |
| Description | |
| Real-time Calculation | |
| Auto-compute mode with On/Off toggle for instant updates on input change | |
| Manual Execution Mode | |
| Full control via Calculate button for deliberate computation | |
| Cardinal Levels | |
| Automated calculation of 90°, 180°, 270°, 360° key levels | |
| Minor & Mid Levels | |
| Comprehensive 45°-315° level breakdown for granular analysis | |
| Tick Size Precision | |
| Customizable tick size to match instrument-specific price increments | |
| Data Export | |
| Export computed levels to CSV and JSON formats for further research | |
| Institutional UI/UX | |
| Dark-themed, glassmorphism interface optimized for professional workflows | |
| Zero-Backend Architecture | |
| 100% client-side with pure HTML/CSS/JS. No server dependencies | |
| 3. Mathematical Methodology | |
| The computation is based on the Square of 9 formula: | |
| \text{Price} = (\sqrt{\text{Base Price}} \pm \text{Factor})^2 | |
| Where Factor is derived from the degree/angle on the Square of 9. A full 360° rotation represents one complete cycle. The 90°, 180°, and 270° levels are considered primary Cardinal points of support/resistance. | |
| 4. Screenshot | |
| FarOneSquare Calculator Interface | |
| Main dashboard showing real-time Square of 9 levels, Cardinal R/S Pattern, and export options. | |
| Note: Replace the image URL above with your actual screenshot. | |
| 5. Live Demo & Usage | |
| Live Application: https://huggingface.co/spaces/farone11/faronesquare-calculator | |
| Input Base Price - Enter the reference price for calculation. E.g., 4000 | |
| Set Tick Size - Define the minimum price movement for the instrument. E.g., 5 | |
| Select Mode - Toggle Real-time Calculation ON for auto-update, or OFF for manual mode | |
| Analyze Output - Review the Support/Resistance table, Square Root, and Cardinal R/S Pattern | |
| 6. API Usage / Integration | |
| Although this is a client-side app, the core calculation logic can be extracted for API/backend integration. | |
| Core Logic Pseudocode: | |
| JavaScript | |
| function calculateSquareOf9(basePrice, tickSize) { | |
| const sqrtPrice = Math.sqrt(basePrice); | |
| const levels = {}; | |
| // Degrees: 45, 90, 135, 180, 225, 270, 315, 360 | |
| const degreeFactors = { | |
| 45: 0.125, 90: 0.25, 135: 0.375, 180: 0.5, | |
| 225: 0.625, 270: 0.75, 315: 0.875, 360: 1.0 | |
| }; | |
| for (const [degree, factor] of Object.entries(degreeFactors)) { | |
| levels[degree] = { | |
| resistance: Math.pow(sqrtPrice + factor, 2), | |
| support: Math.pow(sqrtPrice - factor, 2) | |
| }; | |
| } | |
| return levels; | |
| } | |
| 13 lines hidden | |
| You can port this logic to Python, R, or any backend for programmatic access. | |
| 7. Technology Stack | |
| Frontend: HTML5, CSS3, Vanilla JavaScript ES6+ | |
| Math Engine: Native JavaScript Math library | |
| Deployment: Hugging Face Spaces | |
| Design System: Custom CSS with Glassmorphism & Neon Accent | |
| 8. Local Development | |
| Bash | |
| git clone https://huggingface.co/spaces/farone11/faronesquare-calculator | |
| cd faronesquare-calculator | |
| # Open index.html in browser or run via app.py if using Gradio | |
| 9. Changelog | |
| v3.0.0 - 2026-06-17 | |
| Added: Real-time Calculation toggle for auto/manual modes | |
| Added: Glowing footer with author credits | |
| Enhanced: UI/UX to institutional-grade design | |
| Refactor: Rebranded from GANN to FarOneSquare | |
| v2.1.0 - 2026-05-20 | |
| Added: CSV & JSON export functionality | |
| Fixed: Tick size rounding precision | |
| v2.0.0 - 2026-04-10 | |
| Added: Cardinal 90°/180°/270°/360° pattern display | |
| Added: Minor level 45°-315° breakdown | |
| 10. Authors | |
| Setiawan F | Selviana R | |
| Quantitative Analysts & Financial Software Developers | |
| 11. Disclaimer | |
| This tool is provided for educational and technical research purposes only. FarOneSquare Calculator does not constitute financial advice, investment recommendation, or solicitation to trade. All trading decisions are the sole responsibility of the user. Always implement risk management and consult with a licensed financial advisor. | |
| 12. License | |
| This project is licensed under the MIT License. See the LICENSE file for details. | |