Renitialization lot

工作已完成

执行时间1 一天
客户反馈
Très professionnel.
员工反馈
My first job with this guy. Very excellent customer !!!

指定

Hello,

I would like to create a martingal bot, I made a correct script but, the bot doesn't renitialize its lot when it hits the take profit.


Specfication:

The bot must trade from 7am to 10pm.

Open only one position at a time

take profit at 50 pips, stop loss at 25 pips, must be modifiable.

If the position is closed at stop loss, it opens a new position in the opposite direction and the lot is doubled;

if the position is closed with a take profit, the bot opens a new position in the opposite direction and the lot is reset to the initial lot.

Example: The first position is long (buy), the initial lot is 0.01, the trade hits the stop loss, the bot opens a new trade but in a short position (sell), and the lot is multiplied by 2 so the next lot is 0.02, then the bot hits the take profit, so it renitialises the lot to 0.01 in the new long position (buy).


I'd like to have as inputs: trading time/ initial lot/ take profit/ stop loss 

Additional option: If it's possible, the bot can analyse the tandance on the chart and open its first trade in that tandance. adapt the initial lot as the account grows.


 the attached document is the first script of this bot (TX8)

reverse position is correct

entry time is correct

tp and sl input is correct 

double and lot initialisation have a problem

and there are bugs, which is probably the fault of the distribution


附加的文件:

MQ5
TX8.mq5
7.6 Kb

反馈

1
开发者 1
等级
(614)
项目
718
33%
仲裁
46
48% / 41%
逾期
15
2%
已载入
2
开发者 2
等级
(455)
项目
721
34%
仲裁
35
71% / 9%
逾期
23
3%
空闲
3
开发者 3
等级
(1304)
项目
1733
49%
仲裁
55
67% / 16%
逾期
38
2%
空闲
相似订单
Water polo 30+ USD
//+------------------------------------------------------------------+ //| XAUUSD M5 TELEGRAM TRADING EA | //| EMA 20/50/200 + RSI + ATR + Telegram | //+------------------------------------------------------------------+ #property strict #property version "1.00" #property description "XAUUSD M5 EA with EMA, RSI, ATR and Telegram notifications" #include <Trade/Trade.mqh> CTrade trade;
CAHIER DES CHARGES COMPLET Développement d'un Expert Advisor MT5 — Stratégie Supply & Demand avec reconnaissance visuelle TradingView Version : 2.0 — Version corrigée et destinée au développeur MQL5 --- 1. OBJET DU PROJET Développer un système automatisé de trading permettant d'exécuter sur MetaTrader 5 (MT5) une stratégie Supply & Demand actuellement utilisée manuellement sur TradingView. La stratégie utilise un

项目信息

预算
50 - 80 USD
截止日期
 3  5 天