Excel Formula

MQL4 Lo demás

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
Great job! High quality in a short time!

Tarea técnica

Hi,

I tried to convert a MQ4 file to an Excel file manually.

So I search the codes in the in the Turtle Trading indicator and this are the results:

Go Long:

if(((CLOSE > rhigh && i > 0) || (HIGH > rhigh && StrictEntry == true)) && LongInfo[i] == OUT_OF_MARKET)

Go Short:

if(((CLOSE < rlow && i > 0) || (LOW < rlow && StrictEntry == true)) && ShortInfo[i] == OUT_OF_MARKET)

Stop Long:

if(((CLOSE < slow && i > 0) && (CLOSE > long_price || Greedy== false)) ||

(LOW < slow && StrictExit == true && (LOW > long_price || Greedy == false)) &&

LongInfo[i] == IN_THE_MARKET)

Stop Short:

if(((CLOSE > shigh && i > 0) && (CLOSE < short_price || Greedy == false)) ||

(HIGH > shigh && StrictExit == true && (HIGH < short_price || Greedy == false)) &&

ShortInfo[i] == IN_THE_MARKET)

The formula for excel (Go Long) should be: =ALS(EN(CLOSE>rlow;LOW>rlow);CLOSE;0)

 

... I want to calculate the Close Value, so if the formula is 'true' I want to see the Close value of it.

But it didn't work.

Who know the correct formula's for the entries and stops (for long and short)?

The system is attached as a zip (including Excel, ex4 and mq4 file).

 

Specification:

A. The Trading strategy is based on Turtle Trading system.

B. Rules of opening positions:

1). Signals to open long position (buy):

    - CLOSE > than rHigh (only the first bar)

2). Signals to open a short position (short):

    - CLOSE < than rLow (only the first bar)

3). Signals to exit a long position:

    -When the short position starts, the previous bar/line

4). Signals to exit a short position:

    -When the long position starts, the previous bar/line

5). It's the same formula that be used in the attached file on the jobpage.


rHigh = The highest value in a period (20)

rLow = The lowest value in a period (20)


rHigh = Lowerline

rLow = Upperline 

 

A more extensive explanation is enclosed. 

 

Best Regards,

Bastiaan

Han respondido

1
Desarrollador 1
Evaluación
(34)
Proyectos
80
34%
Arbitraje
13
31% / 54%
Caducado
19
24%
Libre
2
Desarrollador 2
Evaluación
(94)
Proyectos
101
41%
Arbitraje
1
0% / 100%
Caducado
4
4%
Libre
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Telegram copier 30+ USD
Hello, I am seeking a Telegram copier bot that reads Telegram signal messages and executes the corresponding trades. If you already have an existing, operational tool of this nature, please share the relevant particulars (supported signal formats, execution/confirmation logic, risk controls, and error/failure handling), together with any verifiable performance evidence. I am in a position to proceed promptly should
I have a working MT5 Expert Advisor. I am NOT looking to change the strategy logic. I only need professional optimization and performance improvement. Requirements: • Parameter optimization • Risk adjustment • Max drawdown reduction • Forward testing report • Optimization for Gold (XAUUSD) Please provide previous optimization reports
RED DEVIL AI 30+ USD
50 EMA > 200 EMA → Uptrend confirmed Price pulls back to touch or cross below 50 EMA RSI > 50 ATR(14) > 20-period ATR average (volatility expanding) Current candle closes bullish ➡ Enter BUY at candle close50 EMA < 200 EMA → Downtrend Price pulls back to touch or cross above 50 EMA RSI < 50 ATR filter confirms volatility Current candle closes bearish ➡ Enter SELL at candle closeATR(14) Take Profit: 2.5 × ATR(14) This
Overview: I need a robust MQL5 Expert Advisor (Trade Manager) designed to manage trades initiated by external signals (TradingView via Webhook). The EA will not look for entries itself but will "take over" any trade opened with a specific Magic Number. Core Functionality: Magic Number Management: Monitor and manage all trades with Magic Number: xxxx . Grid/Martingale Logic: Initial Lot: xxxx (User-definable)
Good day to you, I am looking for someone who can convert the actual LuxAlgo smart money concepts indicator from pine script to mql5 and give me the source code what works the same as original indicator
​ Description: I am looking for a professional MQL4 developer/quant trader with a proven track record in EA optimization. This project involves optimizing a third-party EA that currently has a 2-year live track record. ​ The Task: ​ In-Sample Optimization: Optimize the EA parameters using historical data prior to January 1, 2024. ​ Out-of-Sample (Walk-Forward): Validate the optimized settings against the period of

Información sobre el proyecto

Presupuesto
25 - 50 USD
Plazo límite de ejecución
de 1 a 3 día(s)