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
Pinescript strategy 30 - 50 USD
1. Indicators, entries, & exits Strategy uses two Pivot Points Standard indicators (TradingView). The indicator has many options for pivot points/levels. Such as Fibonacci, Traditional, Classic, DM, etc. We can choose to either use one indicator with one pivot points/levels, or we can choose to use both indicators with two different options for pivot points/levels. there are two ways to enter
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Hello greetings, I need Pakistan indian or ukraine developer that can create an indicator for Quantower that follows a fairly simple logic. What I am looking for is an indicator that allows me to anchor a Fibonacci to a high or low point that I manually choose, and that then follows the price until the market starts to retrace. Only pakistan, indian or ukraine developer that have experience in quantower should bid
I want to extract a hidden source code (pine script) from an Tradingview Indicator. and i need it to be done as soon as possible, If you are an expert on this field kindly comments Here is the TV indicator with a hidden source code (pine script)
Hi, I’m looking for someone with real Build Alpha experience to help set up an index-trading ruleset inside Build Alpha. Important: This work cannot be done without full access to Build Alpha . You must already own a Build Alpha licence and actively use the platform. Please do not apply if you do not currently have Build Alpha. What needs to be set up in Build Alpha 1. Session and Time Rules • Fixed GMT trading
I would like to purchase a profitable MQL5 EA bot. The EA shouldn't use Grid, Martingale or other risky hedging techniques. It should be able to generate consistent profits over the long run. While you bid, please provide a concise description of how the EA works and send a demo file. It could be restricted only to the tester for now. Thank you

Información sobre el proyecto

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