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 codes
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