Its a pivot indicator and the EA must place the trades according to the given lines.
if price crosses the red line, then Ea places Sell and if it crosses the blue line it must place a sell.
the ---------- lines is where the take profit must be
there are multiple red and blue lines.. say it crosses the first red line and the EA places a sell, then if it goes to the second line then it must place another sell and the tp and the order size must match to close at the second ------------- line.
it must use martingale algorithm according to the given lines distance. it must be calculated automatically.
it must continue until it takes profit. next day the indicator is updated again. if the trades don't close then it must continue following the new days chart.
eg-When the first SELL triggers (DR1), use base lot size (e.g. 0.10).
When DR2 is hit, open another SELL with increased lot (calculated automatically so if price returns to mR2, total profit ≥ TargetProfit).
Same for DR3. ( and vice versa for buy)
EA must auto-calculate lot based on Distance between entry and mR TP level.
If new day starts and indicator updates with new DR/mR and Ds/mS levels:
EA continues with open trades (it does not close them prematurely).
New triggers use the new lines automatically.
Continue until all trades close in profit at the matching mR TP line.
Next day, the pivot indicator updates — EA continues monitoring new lines while maintaining old open positions.
Opens SELLs on red line crosses
Opens BUYs on blue line crosses
Takes profit at corresponding minor level (mR or mS)
Automatically increases lot using martingale to ensure overall profit
Runs continuously — if trades remain open overnight, uses new pivot levels next day
Once all trades of a side (BUY or SELL) hit TP → closes all in that cycle and waits for next signal
inputs -
UseBuySide = true/false
UseSellSide = true/false
Maxorders
InitialLot
MaxLot
> Example:
XAUUSD price moves up and crosses DR1 (3272.78) → EA opens SELL 0.10.
If price continues to DR2 (3279.77) → EA opens SELL 0.22 (calculated automatically).
If price continues further to DR3 (3307.65) → EA opens SELL 0.45.
When price drops back to mR3 (3293.74) → EA closes all SELLs in profit.
Example Trade Sequence (XAUUSD)
1. Price crosses DR1 (3272.78) → EA opens SELL 0.10
2. Goes higher, crosses DR2 (3279.77) → EA opens SELL 0.22
3. Crosses DR3 (3307.65) → EA opens SELL 0.45
4. Drops to mR3 (3293.74) → EA closes all sells in profit
5. Later price falls, crosses DS1 (3223.95) → EA opens BUY 0.10
6. Falls again, crosses DS2 (3210.01) → EA opens BUY 0.22
7. Rebounds to mS2 (3230.94) → EA closes all buys in profit
8. Waits for next day’s pivots.
비슷한 주문
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I'm looking for an experienced developer to create an automated gold trading bot. The bot should be compatible with MetaTrader 4/5 and TradingView. Key Requirements: - Automated trading bot - Compatible with MetaTrader 4/5 and TradingView - Implement scalping and swing trading strategies Ideal Skills and Experience: - Proficiency in trading algorithms - Experience with gold trading - Familiarity with MetaTrader and
I need a robust optimization of my MT5 EA, mainly for XAUUSD (Gold). Please optimize the existing adjustable parameters such as entry/exit settings, SL/TP, trailing/break-even settings, and any other strategy parameters that are appropriate. I want the optimization focused on stable profitability, low/moderate drawdown, and robustness rather than simply the highest possible profit. Please use out-of-sample testing