INVITE-ONLY SCRIPT
已更新

RRE OB/Liq

130
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
版本注释
Updated Configuration:

Trade 1: Fixed TP = $1, SL = $3
Trade 2: Trailing SL (starts at $3 base SL)

Trailing Logic remains:

$1 profit → SL moves to +$0.5
$2 profit → SL moves to +$1
$3 profit → SL moves to +$2
$4+ profit → SL trails $1 per $1 profit

Your bot now has a tighter $3 stop loss instead of $5, which means better risk management but trades may get stopped out slightly more often
版本注释
New Alerts Available:

Bullish Order Block Formed - Triggers when a new bullish OB zone is created
Bearish Order Block Formed - Triggers when a new bearish OB zone is created
Bullish FVG Formed - Triggers when a new bullish fair value gap appears
Bearish FVG Formed - Triggers when a new bearish fair value gap appears

You can set up these alerts in TradingView by right-clicking on the indicator and selecting "Add Alert". The liquidity lines are still displayed, but the sweep markers have been completely removed.
版本注释
Line Creation: Each FVG box now has a corresponding dashed line drawn through its center:

Uses a dashed style for clear visibility
Matches the FVG color (with 30% transparency)
Extends to the right like the box
Width of 1 pixel


Synchronized Cleanup: When FVG boxes are removed (either by reaching max count or being filled by price), their corresponding center lines are also deleted automatically.

免责声明

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