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
Title: MT5 Expert Advisor (Trading Bot) Development: SMA/EMA + Smart Money Concepts Strategy Description (सीधा कॉपी-पेस्ट करें): I am an experienced trader and need a developer to build a custom trading bot (Expert Advisor) for MetaTrader 5 (MT5). My trading background: Strong knowledge of SMA and EMA (trend and crossover strategies) Full understanding of Smart Money Concepts (order blocks, liquidity, market
To build a Self-Hosted MT4/MT5 Cross-Broker Trade Copier I am looking to develop a trading and copy trading system based on an existing MT4/MT5 Client API or SDK, deployed on my own server(Windows Serve). The system should connect to standard trading accounts across different brokers and automatically copy trades from one master account to multiple follower accounts. Core requirements: The entire backend must operate
I am looking to acquire an existing, fully developed and tested XAUUSD trading signal system, either an MT5 indicator or an Expert Advisor. I am NOT looking for new strategy development, custom coding, or experimental systems. My objective is to own and independently operate a reliable gold trading signal source for personal trading and an international paid subscription service. Requirements: 1. An existing
I WANT A CUSTOMIZED TRADE COPIER THAT CAN COPY TRADE TO DIFFERENT MT5 ACCOUNT WITHOUT LAG. THAT IS ENTRY, STOP LOSS AND TAKE PROFIT. LIMIT AND STOP ORDERS INCLUSIVE. EXECUTION TIME SHOULD BE ABOUT 2SECONDS AT MOST. MY BUDGET IS $40
Hello, How are you doing? I’m looking for an experienced blockchain developer to assist with the smart contract development and on-chain functionality for a Web3 fundraising platform. I’d like to see an overview of your pricing, development process, and estimated timeline for a project of this nature. Additionally, I’d like to understand how you approach smart contract testing, security reviews or audits, and