Excel formula

MQL4 其它

指定

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

反馈

1
开发者 1
等级
(118)
项目
201
42%
仲裁
44
9% / 68%
逾期
47
23%
空闲
2
开发者 2
等级
(90)
项目
159
61%
仲裁
40
18% / 63%
逾期
70
44%
空闲
3
开发者 3
等级
(4)
项目
7
43%
仲裁
5
0% / 60%
逾期
3
43%
空闲
4
开发者 4
等级
(13)
项目
20
30%
仲裁
5
20% / 80%
逾期
5
25%
空闲
5
开发者 5
等级
项目
0
0%
仲裁
0
逾期
0
空闲
6
开发者 6
等级
(71)
项目
254
53%
仲裁
16
50% / 38%
逾期
83
33%
空闲
相似订单
A “grid” display style like the attached image. User can choose up to 3 EMA’s to monitor on up to 6 Time Frames. If the EMA slope is greater than 0 = Green If the EMA slope is less than 0 = Red If the EMA slope is 0 = Black The grid should be customizable on it’s size, colors, and placement on the chart. Each EMA should update per tick. A label at the top of the grid should read “SLOPES” Indicator 2: A “grid” display
I'm looking for a skilled developer to help build a custom trading strategy for NinjaTrader 8 (N8). The project involves developing and fine-tuning a strategy tailored to specific market conditions. Experience with NinjaScript, strategy optimization, and backtesting is highly preferred. If you're available and have expertise in N8 strategy development, please get in touch to discuss further details
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
I need a programmer for converting a MetaTrader indicator into ea for TradeLocker. Additionally, I would like to have a new EA built in TradeLocker that mirrors the logic of the original MetaTrader, including the specific rules and conditions I need. Please contact me only if you have prior experience converting scripts from MetaTrader to TradeLocker
Hello, How are you doing? I want an EA that will send trade signals from my MT4 to my Telegram channel. So whatever trade I take on MT4 I want the EA to then automatically send the trade details of the trade I took to the Telegram channel in a message right away. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks
I've use most of code from this script, add some more filter, and added different kind of moving avg instead of rsi input .. please check the source code .. . 70-80% is similar to it. Please check can you convert And are you familiar with backtest.py library? Oky. This library has ML approach to get the optimized backtest parameters right ? included for this but let me know what you think? can you install backtest.py
Hello, How are you doing? I am planning to develop a Blockchain DEX platform through which cryptocurrencies will be exchanged, and I require experienced developers in blockchain and backend development. Kindly bid if this is what you can do. Thanks

项目信息

预算
10 - 15 USD
VAT (21%): 2.1 - 3.15 USD
总计: 12.1 - 18.15 USD
开发人员
9 - 13.5 USD
截止日期
 2 天