Excel formula

MQL4 Lo demás

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.


* A picture is enclosed of the strategy.


rHigh = The highest value in a period (20)

rLow = The lowest value in a period (20)


rHigh = Lowerline

rLow = Upperline 

 

Best Regards,

Bastiaan

Han respondido

1
Desarrollador 1
Evaluación
(118)
Proyectos
201
42%
Arbitraje
44
9% / 68%
Caducado
47
23%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(90)
Proyectos
159
61%
Arbitraje
40
18% / 63%
Caducado
70
44%
Libre
3
Desarrollador 3
Evaluación
(4)
Proyectos
7
43%
Arbitraje
5
0% / 60%
Caducado
3
43%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(13)
Proyectos
20
30%
Arbitraje
5
20% / 80%
Caducado
5
25%
Libre
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Libre
Solicitudes similares
I need developers that can create thinkorswim indicator or scanner Possibly a long term developer for my subsequent projects, I work with some clients that requires thinkorswim project created for them. Look to hire a TOS developer for my works
Hello expert developer how are you doing ? Please see my strategy on the video but right now I want to create only ATM as my PDF file showing please let me know how much would you charge me for the only ATM to work as my images showing Auto trade works like this i.e, (It will send automatically orders on every bar) https://ninza.co/&nbsp; please check this website and see if you can create similar ATM based on my
Hello, I have a trading bot that I would like to backtest over the last 30 years. It is designed to operate on gold, and I will provide the specific settings required for the backtesting process. The bot runs on Exness, so historical data from Exness or a closely matching source will be required. It is configured to trade on the 1-minute timeframe and is intended for use on a cent account
Hi, I’d like a bot to be made for Ninja Trader 8 to place and execute the trades but I want to use MT4 for the analysis and trade entry criteria. MT4 has different price data feeds so this strategy seems to work better when I use MT4 for the analysis to determine the entry. I’ve attached the strategy and rules and settings I want for the bot. Let me know if you think it will work to automate this strategy and do it
I need a custom options scanner built with the following features: Scan ATM call or put options with the same expiry . Filter for open interest ≥ 175 . Expiration between 1 to 60 days . Underlying stock price between $5 and $175 . Use mark price for calculations. Results should be sortable by debit or credit . Scanner should include ETFs as well as stocks . Goal: A simple and efficient scanner that quickly identifies
I Already have a trading algorithm and a VPS server ready. I need a developer to assist with proper installation, setup, and operation of the algorithm on the VPS to ensure it runs smoothly. I will provide the files, documentation, and tutorial videos. The goal is to make sure the algo works without errors and trades as expected
Project Description: We are looking for an experienced developer to create a plugin named "Anti-Scalper" , designed to prevent scalping activities by restricting trading actions within a specified time window. The plugin should be secure, efficient, and offer real-time configurability via a web-based GUI. Core Features: Configurable Time Range Restriction Admin should be able to set a configurable time range (e.g
Here are the requirements for a potential developer: 1. *Task*: Create a detailed specification for image editing tasks. 2. *Key Features*: - Describe the type of image (e.g., photo, graphic). - Specify edits (add, remove, change elements). - Define desired output format and resolution. 3. *Deliverables*: - A clear, concise document outlining the task. - Estimated complexity and cost assessment. -
Hello, I’m looking for a skilled developer to create a Telegram-to-MT4 & MT5 signal copier bot/EA with the following features: Core Features: Copy signals (both text and images) from Telegram and execute trades in MT4 and MT5 (two separate versions). AI parsing mode: Option to enable AI to read and interpret signals before execution. Fully optimized, stable, and bug-free performance. Prop firm compatibility
Hello, I’m looking for an experienced Pine Script developer to recreate an MT4 indicator for TradingView. I have: The original MT4 script The same indicator already running on TradingView (but source code is locked) Photos and videos showing exactly how it appears and behaves on TradingView I will share all reference materials privately after confirming you can take on the project. There's not really too much to the

Información sobre el proyecto

Presupuesto
10 - 15 USD
IVA (21%): 2.1 - 3.15 USD
Total: 12.1 - 18.15 USD
Para el ejecutor
9 - 13.5 USD
Plazo límite de ejecución
a 2 día(s)