Mathematics calculation written in JavaScript needs to be converted to MQL5

工作已完成

执行时间1 一天
员工反馈
Thank you. Looking forward for future works.
客户反馈
Soewono has done the job accurately and he was very fast. His explanation and demonstration was clear. Everything went smoothly. Recommended!

指定

The three attached files are the follows:

  • Two picture how the HTML file look like. First picture is the default state. The second picture is a random scenario.
  • The third file named mm_html.mq5 is the full source code. If you save it to HTML format then you can open and you will see the same as the pictures. The system doesn't allow to upload HTM that's why I put it in MQ5 format.


Bottom of the HTML file you can see the JavaScript code which is important for us.

I'd like to have a function where the "Next position if win current" and the "Next position if lose current"  is calculated if I pass the parameter "win" or "lose". And if I pass "reset" then reset the system.

You can see three input parameters in the HTML file. These can also be passed to the function.

These calculations are on the JavaScript code provided.

I'd like it in language MQL5.


Open the file in HTML and you will understand everything.

If anything needs to be clarified, feel free to ask me.


Kind Regards,
Ben

附加的文件:

MQ5
mm_html.mq5
339.4 Kb

反馈

1
开发者 1
等级
(19)
项目
24
17%
仲裁
7
0% / 71%
逾期
3
13%
空闲
2
开发者 2
等级
(810)
项目
1386
72%
仲裁
113
29% / 48%
逾期
343
25%
已载入
3
开发者 3
等级
(225)
项目
284
42%
仲裁
15
13% / 47%
逾期
67
24%
空闲
4
开发者 4
等级
(82)
项目
86
57%
仲裁
25
0% / 84%
逾期
19
22%
空闲
相似订单
Hi, I will use: 5 indicators to find main trend , 5indicators to find current trend, find pivot point, support/resistance, reversel candle then entry.......indicators are available on mt5. *Dashboard chart will show on the chart as all indicators result,,,,as MA,MACD, bullish or bearish ,,,,add all others features days of trading,,,,hrs,,,etc
I need to create an EA based on my own strategy that actually is a little bit different from most of the usual EA. This because it use an indicator but the power of the system is just because it can shows target price by designing trendline on the price chart in a unusual way. A friend of mine tried to create it on MT4 platform but, in the end, he realized that this platform has big limits when the program lines
Hey there! I’m looking for a talented NinjaTrader programmer to partner with on some exciting projects. If you have a knack for NinjaScript and a passion for trading tech, let’s team up! What You Can Expect: A friendly collaboration on diverse projects Fair pay—50/50 split on all earnings An opportunity to dive deep into innovative trading strategies What I’m Hoping You Bring: Experience with NinjaTrader and
STRATEGY : Here’s a comprehensive specification document in English for developing your NinjaTrader bid/ask imbalance indicator: --- ### Bid/Ask Imbalance Indicator for NinjaTrader: Full Specifications #### **Objective**The goal is to develop a custom bid/ask imbalance indicator for NinjaTrader 8. The indicator will calculate and visualize bid/ask imbalances in real-time and on historical tick data using Tick Replay
Here’s a comprehensive specification document in English for developing your NinjaTrader bid/ask imbalance indicator: --- ### Bid/Ask Imbalance Indicator for NinjaTrader: Full Specifications #### **Objective**The goal is to develop a custom bid/ask imbalance indicator for NinjaTrader 8. The indicator will calculate and visualize bid/ask imbalances in real-time and on historical tick data using Tick Replay. It will
Convert my tradingview pine script to mt4, Its a simple and straight code i need an expert programmer to convert my tradingview pine script to mt4, Thats All Thank you
I need help with creating a website traders chatroom, it must show traders online,offline,inactive. the chatroom top section must show four clocks with different times and time scale like this.. the chatroom must have a history data of up to 10days, then longer history must be deleted automatically. if you have better chatroom please say your recommendations
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk
Martingale Strategy EA 50 - 300 USD
Dear , I hope this message finds you well. I would like to request the development of a trading robot (Expert Advisor) that incorporates the following strategies and features: Strategy Requirements: 1. Martingale Strategy: The robot should include a Martingale system to increase trade sizes after losses in order to recover losses and generate profit. 2. Trend-Following: It should also be able to detect and follow
hello here am looking for someone that can assist me in removing validation form my demo file and if anyone is interested dm the for more details i will be waiting to get any reply by some on that can assist me with this

项目信息

预算
30+ USD
VAT (27%): 8.1 USD
总计: 38.1 USD
开发人员
27 USD
截止日期
 18 天