Advanced Order Tool
Order Modifiers
Smart order types with conditional triggers and risk controls
How It Works
Order Modifiers give you professional-grade order management. Set conditional triggers that automatically execute when price targets are hit. The system monitors your positions 24/7 and executes your stop-loss, take-profit, or trailing stop orders without manual intervention.
Trailing Stop
Logic Engine
STANDALONE MACHINE v2.0
Order Modifiers Engine
A self-contained trading fortress that executes advanced order logic
โ no external dependencies, no database access, pure simulation power โ
How It Works
This is a STANDALONE machine. It lives only in this file. It does not touch your login system, database, or any other part of H13. It communicates ONLY through 4 authorized API endpoints.
/api/control/get-user
/api/platform/balance
/api/platform/deduct
/api/platform/add
Security Fortress
Every order requires confirmation. Local storage is cryptographically signed. Only authenticated users can execute trades. The machine cannot access or modify any external system.
โ Signed Storage
โ API Key Protected
โ Confirmation Required
How It Works & Real Trading Flow
Step-by-step examples of how traders use the Order Modifiers Machine
๐ Example 1: Stop Loss Protection
Protect your downside risk
1๏ธโฃ Buy BTC @ $50,000
2๏ธโฃ Set Stop Loss @ $48,000
3๏ธโฃ Price drops to $48,000
โ
Stop triggers, loss capped at 4%
System checks price every second โ Trigger executes automatically โ Balance updated via /api/platform/add
๐ Example 2: Take Profit Target
Lock in gains automatically
1๏ธโฃ Buy ETH @ $3,000
2๏ธโฃ Set Take Profit @ $3,600
3๏ธโฃ Price hits $3,600
โ
Profit locked: +20%
Take profit executes instantly at target price โ Position closed โ Balance credited
๐ฏ Example 3: Trailing Stop
Let profits run, protect gains
Buy SOL @ $100
Trail 5% from peak
Price rises to $150
Stop rises to $142.50
Price drops to $142.50
โ
Exit at $142.50 โ +42.5% profit
Stop price automatically follows price up โ Never steps down โ Only moves higher
๐ Example 4: OCO (One-Cancels-Other)
Set both profit & stop simultaneously
Buy DOGE @ $0.10
Take Profit @ $0.15
Stop Loss @ $0.08
Price hits $0.15 first!
โ
TP executes, Stop auto-cancels
Whichever order triggers first โ The other automatically cancels โ No double execution
๐งฎ Example 5: Risk % Position Sizing
Never risk more than you want
Balance: $10,000
Risk 2% = $200 max loss
Stop distance: $100
Position size = 2 BTC max
Formula: (Balance ร Risk%) รท Stop Distance = Max Position Size
๐ฆ Example 6: Batch Order Entry
Deploy multiple modifiers at once
Input format:
BTC/USD,SL,45000,0.01
ETH/USD,TP,3200,0.5
SOL/USD,Trail,120,2.5,3
DOGE/USD,OCO,0.15,0.08,1000
1 click
4 orders deployed instantly
Bulk operations save time โ Each order validated individually
Complete Trading Flow
Login
Check Balance
Set Modifiers
Confirm Order
Price Monitoring
Auto-Trigger
History Logged