Daily Range Condition for EA

MQL4 エキスパート

指定

I would like someone to create a piece of code for me, a daily range qualifier that I will be able to add to an EA, other code I will create later. I am new to MQL4 and am learning but am already overwhelmed.


I would like to limit my future EA to only look for entries after 50pips of daily range have been completed since daily open. The idea is that this will keep the EA from operating in the Asian sessions where lower volatility is common and other days/periods where there is simply not much volatility in the market.


I need code to:

a) calculate daily range since start of day (GMT/Server time)

b) print this daily range in the lower corner of the main window in real time

c) reset the daily range counter to zero at the start of the next day

d) Set-up the DailyRange level to external so that it can be easily modified higher or lower for more/less volatile pairs.

e) be optimised so that once DailyRange level > 50 then it doesn’t have to run this process again, simply move to the next condition, until the start of the next day

f) build a preliminary If/then condition to test it works without error as an EA, eg demonstrates it triggers 1x trade only with SL and TP if Daily Range=>50 AND if Stoch signal line >60 execute a long trade OR If Stoch signal line < 40 execute a short trade - just an example...

g) with comment code to show me how to integrate this condition with other conditions I hope to code myself in the future… or at least try.


I use ADR 1.MQ4 to display ADR and Daily Range on my chart so it could be a super-simple job of co-opting some of the code included, which I cannot do yet.


ファイル:

MQ4
ADR_1.mq4
14.8 Kb

応答済み

1
開発者 1
評価
(266)
プロジェクト
540
50%
仲裁
55
40% / 36%
期限切れ
224
41%
2
開発者 2
評価
プロジェクト
0
0%
仲裁
2
0% / 100%
期限切れ
0
3
開発者 3
評価
(90)
プロジェクト
159
61%
仲裁
40
18% / 63%
期限切れ
70
44%
4
開発者 4
評価
(13)
プロジェクト
20
30%
仲裁
5
20% / 80%
期限切れ
5
25%
5
開発者 5
評価
(62)
プロジェクト
140
46%
仲裁
19
42% / 16%
期限切れ
32
23%
6
開発者 6
評価
(54)
プロジェクト
164
43%
仲裁
43
47% / 16%
期限切れ
58
35%
類似した注文
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
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 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)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &

プロジェクト情報

予算
10 USD
VAT(付加価値税) (20%): 2 - 2 USD
合計: 12 - 12 USD
開発者用
9 - 9 USD