Excel Formula

MQL4 その他

仕事が完了した

実行時間2 日
依頼者からのフィードバック
Great job! High quality in a short time!

指定

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

応答済み

1
開発者 1
評価
(34)
プロジェクト
80
34%
仲裁
13
31% / 54%
期限切れ
19
24%
2
開発者 2
評価
(94)
プロジェクト
101
41%
仲裁
1
0% / 100%
期限切れ
4
4%
3
開発者 3
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
類似した注文
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4‑year backtest (2022‑2025) report, equity curve, trade list, strategy description, and 1‑month demo access. Please without concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
🔥 Premium Trading Website for Sale – NeuroTraderX.com (Ready-Made Signal Business) NeuroTraderX.com is a professionally branded, fully functional trading website designed specifically for Forex / Crypto / Indices traders, signal providers, and prop-firm traders who want to monetize their trading immediately without building everything from scratch. This is not just a website — it’s a complete trading business
Hi, I need a StrategyQuant X template built for index trading. The template must include: 1. Session and Time Filters The strategy must only trade inside fixed GMT sessions for each index. These sessions must be converted to broker server time and stay correct when the broker switches between summer and winter time. The template also needs optional delay blocks around market opens, a lunch window filter, and simple
IF you are a successful trader with a scalping method on M1 - M5 and you are able to teach me your strategy without dangerous strategy like Martingale, Grid trading, even hedging without High Frequency Trades [means minimun duration is > 2 minutes with number of lot less than 20 WITH proof of this skill by showing a PDF [or HTML] report produce directly by MT4 or MT5 ===> NOTE THAT WITHOUT THIS LIST OF TRADE FROM
Hello traders , i have an excellent market structure forecaster , a tool that informs traders of the coming trends or ranging markets before they happen. try it out for yourself. https://www.mql5.com/en/users/lawrencemkandaw/seller
Looking for a reliable Expert Advisor with a proven track record? I'm seeking an EA with source code that meets the following criteria: *Requirements:* - .mq5 source code (well-commented and readable) - 4-year backtest (Jan 2022 - Dec 2025) with tick/data quality details - 1-month demo test on live/demo broker - ~15% monthly average returns (medium risk) - Max drawdown ≤15% (equity/drawdown report) - No grid
We're seeking an experienced developer to create an Expert Advisor (EA) for MetaTrader 4 (MT4) that analyzes economic events and volatility. The EA should process input files with event data, calculate volatility, and generate output files. *Requirements:* - MT4 programming experience - Familiarity with economic event data and volatility analysis - Ability to work with CSV input files and generate output files -
I am looking for long-term partners interested in developing and scaling automated trading solutions and financial software projects. I contribute strong experience in MQL4/MQL5 development, strategy automation, and system optimization . Open to professional and transparent collaborations
I'm looking for a proven scalping expert (M1-M5) to help define and apply a successful strategy for prop firm-funded accounts. Must respect prop firm rules (details below). *Requirements:* - No gambling methods, high-frequency trades, hedging, or trades under 2 minutes - Lot size: max 40, ideally <20 - Provide MT4/MT5 trade history (1 week minimum, 1 month preferred) as PDF *Terms:* - Price negotiable, potentially
Read carefully before your apply. Hi guys, I’m looking to purchase an existing Expert Advisor with source code. Serious enquiries only, please. Below are my requirements: Mandatory requirements Source code required (full .mq5 , readable & well-commented preferred) Backtest period: 4 years — Jan 1, 2022 → Dec 31, 2025 (tick/data quality

プロジェクト情報

予算
25 - 50 USD
締め切り
最低 1 最高 3 日