Convert customized MACD Strategy from Pinescript (TradingView) to MT5 advisor

工作已完成

执行时间2 天
客户反馈
good!

指定

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)

反馈

1
开发者 1
等级
(236)
项目
440
26%
仲裁
125
21% / 57%
逾期
96
22%
工作中
相似订单
//+------------------------------------------------------------------+ //| SimpleEA.mq5| //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "2023, MetaQuotes Software Corp." #property link " https://www.mql5.com " #property version "1.00" #property strict input int FastMAPeriod = 12; // Período da média

项目信息

预算
30 - 50 USD
开发人员
27 - 45 USD
截止日期
 5  15 天