Translate code PRT in MQL4

MQL4 其它 转化中

指定

I have a code in prorealtime language and I want to code it in MQL4.

I really want to change "size of minimum position" (0.1 instead of 1)

EXEMPLE of prorealtime code: 

CapitalInit = 10000 // Capital initial (pour le réinvestissement des gains)

REINV = 0 // 0 = sans réinvestir / 1 = réinvestir les gains

NCONTRATS = 10 // nombre par défaut de minicontrats MAXI // l'algorithme diminue la taille de certaines positions // Bien vérifier le drawdown

IF REINV = 0 THEN

n = NCONTRATS

ELSIF REINV = 1 THEN

capital = CapitalInit + strategyprofit

n = (capital / CapitalInit)*NCONTRATS

ENDIF IF n < 1 THEN

n=1 // taille minimale par position

ENDIF n = round(n) // nombre entier


反馈

1
开发者 1
等级
(258)
项目
269
29%
仲裁
2
50% / 0%
逾期
3
1%
工作中
发布者: 2 代码
2
开发者 2
等级
(3)
项目
3
0%
仲裁
1
0% / 100%
逾期
0
空闲
相似订单
Actually I was looking for a Python Trading bot developer. This website is mql5 so I'm not sure I will get someone here or not. I need expert in Python IBKR for my Binance Trading Bot
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
We are a forex/CFD brokerage rebuilding our public website into a modern, professional financial-services site. This order covers the marketing website only — our client portal and trading area are separate existing systems the site will link to. Scope: Homepage plus core pages: About, Account Types (comparison table), Trading Instruments, Deposits & Withdrawals, Partners/IB page, Education/Blog, Contact, Legal pages
Algo quant expertise 3000 - 6000 USD
Built and beta FSM designed algo with TS-Easy Language. Order requires optimizing FSM OEX entry/exit state change logic sequencing, so... First considering platforms and expertise to launch with $100k (now in TS futures/equity accts).. Please advise. dR
Category: Other / Technical Consulting Timeframe: Urgent (immediate) OBJECTIVE: I require a high-level MetaTrader 5 network administrator, system infrastructure auditor, or latency forensics engineer. This project does NOT involve coding an Expert Advisor (EA), indicator, or script. I need an expert to analyze raw data logs to construct an independent technical report analyzing platform connectivity and data delivery

项目信息

预算
30+ USD