INVITE-ONLY SCRIPT

RRE OB/Liq

57
Symbol Selection: Added SymbolSelect() to ensure the symbol is available in Market Watch
Lot Size Validation: Checks minimum/maximum lot sizes and step
Fixed TP/SL Calculation: Corrected the formula using tick_size
Order Filling Type: Added ORDER_FILLING_IOC (may need FOK depending on broker)
Price Normalization: Added NormalizeDouble() for proper price formatting
Slippage: Added req.deviation = 10 for market execution
Detailed Logging: Prints all order details and specific error codes

Common Issues to Check:

Check the Expert Log for error messages and retcodes
AutoTrading must be enabled (button in toolbar)
Allow live trading in EA settings
Broker restrictions: Some brokers block EA trading on certain accounts
Market hours: Ensure market is open for the symbol
Order filling mode: Try changing ORDER_FILLING_IOC to

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.