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
We are looking for a developer to implement a fully automated stock trading strategy in PowerLanguage for MultiCharts 64-bit , including Portfolio Trader support. Please see the attached PDF specification for complete details. Key requirements: Works with Portfolio Trader across multiple assets Entry based on Donchian breakout , Williams %R , and EMA trend Exit via various stop types (ATR, EMA trail, etc.) Optional
Project Overview I am looking for an experienced MQL5 developer to create a highly profitable Expert Advisor (EA) for MetaTrader 5 with exceptional win rate performance. Key Requirements Performance Targets: Minimum 75-80% winning ratio (Must achieve) 10-12 trades per day execution 7-9 winning trades out of daily total Consistent profitability over long term Technical Specifications: Platform: MetaTrader 5 (MT5)
Hi , Been working on a trading strategy for ninja trader 8 it’s pretty close but needs some fine tuning. I have been working with a non trader coder by mistake and it’s been a challenge
I need help listing all the studies from a chart. * I’m trying to build a scoring engine and show the score as a text message right on the chart, so I don’t have to keep checking multiple charts. Another project I’m working on—I’ve subscribed to OrderFlowLabs indicators and want to use Python to build better scoring logic. I started working on it using Claude.ai Max, but I got a bit distracted. Now, i need to
I have a full trading strategy i want to develop to ctrader cbot, also have many projects that i want to get done. So need a life time developer that can work with me forever
We are building an BlockEstate-Real-Estate-DApp platform and are seeking developers to join in this innovative project based on Blockchain. This platform offers investors a direct, efficient way to trade securities by simplifying processes, cutting intermediary costs, and increasing transparency. It leverages blockchain for real-time settlement and strong security, while using AI to analyze data and predict market
I have a full trading strategy i want to develop to ctrader cbot, also have many projects that i want to get done. So need a life time developer that can work with me forever
HELLO THERE!!! i have a strategy on ninjatrader and i want to have it converted to Ninjatrader indicator Kindly bid this if you know you are capable and you can deliver a good job Thanks!!! Best Regards
I NEED A PROGRAMMER TO MAKE A SPORT ARBITRAGE SOFTWARE. IT WILL CALCULATE PROFITABLE ARBITRAGE OPPORTUNITIES FROM FOORBALL AND OTHER SPORTS FROM SELECTED BOOKMAKERS THAT WILL BE PROVIDED, AND SEND ALERTS WHEN AN ARBITRAGE OPPORTUNITY IS FOUND
Hello, I need a news filter code for both MT4 and MT5 for a bot I have created. The calendar from https://sslecal2.forexprostools.com/ would be ideal. The bot should be able to recognize the following event types: Low Volatility Expected Moderate Volatility Expected High Volatility Expected Thank you in advance for your assistance. Best regards, Alain