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

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.