RRE OB/Liq

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
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
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.
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.
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com ramrajenterprises.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com ramrajenterprises.
A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.