INVITE-ONLY SCRIPT

RRE OB/Liq

56
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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。