Switch strategie EA between Sell and BUY order

MQL4 Indicadores Experts

Trabalho concluído

Tempo de execução 19 horas
Comentário do cliente
very good job - fast and profesionnal
Comentário do desenvolvedor
good customer having a strategy that has the potential to make a lot of money

Termos de Referência

hi  look  video  on Youtube

https://youtu.be/hPXhc3mAB4I



1 - i need to  start  with pending  orders  like  based  on actual price  + 100 points for exemple  - valors to  chose

2 - if price  go up so Open  BUY order  and cancell sell order and keep  BUY

3 - Same time open Pending order Buy and  sell + 100 points


VERY IMPORTENT OR with possibilities  to  chose 100 points  or 50 or 200 what i want 


4 - TP  to  actually  open BUY order with 0.50 cents  or  what  i  want and  close  all orders  and  restart like point 1

5 - if  first Buy  reach TP  clean  all pending orders and  restart point  1 

6 - if  not reach TP  and  go  down  open SELL with multiple  valors x2 or  with VALOR add 0.01 or 0.02 or 0.03 what  i want 

so  we  have 0.01 buy + 0.02 sell

7- If  price  go  down and  buy + sell = 0.50 cents so close  all  orders back to point 1 

8 - if  not  reach TP 0.50 cents because  price  go  up ADD new  BUY 0.04 at  same place  like 0.01 first  buy  or  accord  to  step size  with first pending order

If not  reach  TP , price  go  down OPEN SELL 0.08 till reach  net  profit after  add comission swap  etc 

and  continue like  that 

9 - calculation TP by 0.01 = 0.50 cents so  we  have  0.01 +0.02+0.04 so  New  valor TP  = 0.50x 0.01 + 0.50 x 0.02 + 0.50 +0.04 = 3€ 

and  like  This
every time  if  not  rech TP  add new  Buy or  Sell switch  between them  and  calculate  new  TP for  0.01 = 0.50 cents 

10 - IF  i  put at the  beginning 0.30 TP  so  calculate  all orders  by 0.30  cents  and  like this

11 - IF  reach TP  close  all and  restart with new  pending + 100 points like point 1

Look Youtube  video  how  i see this .  thanks 


of  course  i  give  you  an  example  with BUY  situation  but  if  first  order  will open  SELL  so please  do  exactly  same  for  sell . thanks


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(137)
Projetos
167
35%
Arbitragem
11
91% / 0%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(499)
Projetos
744
56%
Arbitragem
48
31% / 31%
Expirado
120
16%
Livre
Publicou: 1 código
Pedidos semelhantes
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
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
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hello, I need a custom NON-REPAINT MT5 indicator that gives sell/buy arrow signals 1–2 candlesticks before a spike on Crash and boom indices respectively occurs. Requirements: Works perfectly on MT5 Shows arrows before the spike (1–2 candles earlier). Non-repaint – once the arrow appears, it must stay. Should be accurate, not quantity — only quality signals. Must work on both demo and live accounts. I want the
Hello, I saw an indicator on TradingView and would like to know if you will be able to convert it for use on Thinkorswim platform? Thanks. if anyone can help me with it kindly do well to bid it urgent thanks looking forward too see you
calcVolume( void ) { //--- MqlRates rates[]; if ( CopyRates ( _Symbol , PERIOD_CURRENT , startTime, endTime, rates) > 0 ) { double rangeHigh = rates[ 0 ].high, rangeLow = rates[ 0 ].low; int count = MathAbs ( iBarShift ( _Symbol , PERIOD_CURRENT , startTime) - iBarShift ( _Symbol , PERIOD_CURRENT , endTime)) + 1 ; //---VERTICAL PRICE RANGE for ( int b = 0

Informações sobre o projeto

Orçamento
45+ USD
Prazo
de 2 para 3 dias