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
Solicitudes similares
Hello, I’m a profitable MT4/MT5 trader specializing in Prop Firm accounts. What makes me different: I actually trade with 3% Daily DD / 5% Overall DD rules, so I know what blows accounts and what passes. Services I offer: 1. EA Backtesting + Detailed Reports - Winrate, Profit Factor, Max DD, Best Pairs/Timeframes 2. Strategy Documentation - I’ll write clear rules for your EA so any coder can build it 3. Prop Firm
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or