Create an Expert Advisor (EA) to
work on Meta Trader 4 (MT4) and use to trade Forex markets. The EA will run on
one chart only with a chosen timeframe. The EA will monitor three indicators:
Average True Range (ATR); and two Simple Moving Averages. The EA will open long
or short trades based upon the crossing of MA lines. When the short term MA
crosses above the long term MA, go long. When the shorter term MA crosses below
the longer term MA, go short.
Only take one trade at a time and
each trade should be closed out with a take profit or stop loss before starting
the next trade. Once a trade has been opened, the EA will decide stop loss and
take profit positions based upon a percentage of the Average True Range (ATR)
indicator.
Specifications:
Please code the following input variables.
|
Variables
|
Units
|
Description
|
1
|
Sample Size
|
|
Number of trade outcomes (e.g. 20 outcomes).
|
3
|
Higher Moving Average
|
|
Higher Indicator (e.g. 13 M15). – Simple MA
|
4
|
Lower Moving Average
|
|
Lower Indicator (e.g. 5 M15). Simple MA. Enter long or short
trades when lower indicator crosses higher one. e.g. When lower indicator is
above higher indicator, long trades and vice versa.
|
5
|
Total Lots
|
|
All lot sizes – Standard, Mini, Micro (e.g. 0.3 lots)
|
6
|
Take Profit 1
|
%
|
Choose percentage of Average True Range (ATR)
e.g. 30%
|
7
|
Take Profit 1 Lots
|
|
Number of lots to close at Take Profit 1 (e.g. 1
lot)
|
8
|
Take Profit 2
|
%
|
Choose percentage of Average True Range (ATR)
e.g. 60%
|
9
|
Take Profit 2 Lots
|
|
Number of lots to close at Take Profit 2 (e.g. 1
lot)
|
10
|
Take Profit 3
|
%
|
Choose percentage of Average True Range (ATR)
e.g. 90%
|
11
|
Take Profit 3 Lots
|
|
Number of lots to close at Take Profit 3 (e.g. 1
lot)
|
12
|
Stop Loss 1
|
%
|
Choose percentage of Average True Range (ATR)
e.g. -90%
|
13
|
Stop Loss 1 Lots
|
|
Number of lots sold at Stop Loss 1 (e.g. 3 lots)
|
14
|
Stop Loss 2
|
|
Only activated once Take Profit 2 has been reached.
Stop Loss 2 is set to close the trade when any point is reached under the
starting point (based upon real time trade, not close of candle). When
activated, Stop Loss 2 closes all remaining lots immediately.
|
15
|
Stop Loss 2 Lots
|
|
Number of lots sold at Stop Loss 2 (e.g.
remaining number of lots)
|
Q: Can EA calculate brokerage fees?
비슷한 주문
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
I need help fixing my EA for MT5. It’s a very simple EA, and I currently cannot solve an issue where webrequest communicates with OpenAi API without error. Please only apply if you can help solve this issue
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. # MANUAL ZONE MARKING # THREE TYPES OF ENTRIES (
p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} li.li1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} ol.ol1 {list-style-type: decimal} I have an EA that open trades when my entry conditions are met. It usually executes one trade per day. I'd like to add an option
у нас есть стратегия, нам нужно написать mql5-код для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена после согласования цены
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)