1) You need to convert the MACD indicator strategy to MT5. ( Using exponentially moving average. In ema weighting factors decrease
exponentially. It calculates by sing a formula: EMA = alpha * x + (1 - alpha) * EMA[1], where alpha = 2 / (y + 1))
2) According signs of entry or
exit, make long or short.
3) Realize the profit with a limit order or realize the loss with a limit order. (fixed price and not to market)
4)
If the result is loss, you must double the contract number in the next operation. Until the operation is successful and go back to the
beginning. (button for enable or disable this function)
4.1) Example:
First transaction with 1 contract = Loss
Second operation must be 2 Contracts = Loss
Third operation must be with 4
Contracts = Loss
Fourth operation must be with 8 contracts = winner. (return to the beginning with 1 contract)
비슷한 주문
We are looking for a highly qualified, skilled, and experienced MT5 developer (ideally with experience in the financial sector and financial markets) who is capable of creating and implementing a custom-built, professional integration and analysis framework. This framework should include order flow alerts, broker anomalies (including hunting indicators, etc.), the integration of external signals, an audio alert
seu Robô de Elite: Precisão: Filtros RSI e Price Action. Rentabilidade: Lote dinâmico baseado no capital (Compound Interest). Automação 24h: Filtro de horário para evitar spreads altos. Satisfação: Dashboard interativo com "Botão de Pânico"
Já tenho um código MQL5 com uma base do funcionamento. Basicamente o EA traça um canal na virada do dia (penso que utilizar horário seria melhor em razão da diferença entre corretoras), com base em um número x de candles, calcula e posiciona ordens stop com base em % do capital. Caso uma ordem aberta venha a stopar, o EA deve realizar uma virada de mão com base no mesmo canal, contudo recalculando o lote para que