Daily Range Condition for EA

MQL4 Experts

Spécifications

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.


Dossiers :

MQ4
ADR_1.mq4
14.8 Kb

Répondu

1
Développeur 1
Évaluation
(266)
Projets
540
50%
Arbitrage
55
40% / 36%
En retard
224
41%
Travail
2
Développeur 2
Évaluation
Projets
0
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(90)
Projets
159
61%
Arbitrage
40
18% / 63%
En retard
70
44%
Gratuit
4
Développeur 4
Évaluation
(13)
Projets
20
30%
Arbitrage
5
20% / 80%
En retard
5
25%
Gratuit
5
Développeur 5
Évaluation
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
6
Développeur 6
Évaluation
(54)
Projets
164
43%
Arbitrage
43
47% / 16%
En retard
58
35%
Gratuit
Commandes similaires
i have a ready made SMC EA and looking for optimizing and debugging and also adding back the missing things in the requirement file. Basically work with the current code and refine it to fit the requirement file. Most indicator is already in the EA and the requirement file below are mostly finish. here are the things need to add back and debug based on the requirement file 1. TP from the filter and need to check
If you think you can replicate EA ("reverse engineering") from Metarader's Market, and create a new EA from scratch that works 100% the same - please send an offer. I have already managed to find out many features of that EA (entry times, risk management, averaging, trailing...) but I still miss a few
Candle wick bot The bot will have a set amount of wick length to enter trade at candle open price, there will be a set Amount in points that the candle wick has to be to then enter that opposite of the wick direction Settings will look like this : Timeframe: (meaning which candles you’re using to measure open price from for the wick length ) If set to 5 min it’ll be using 5 min candles , if set to 15 it’ll use 15
Looking for a developer to create an MT4 EA based on a custom currency strength indicator and simple moving average. Will provide currency strength indicator code to the selected developer. Buy rules If the EA added in the EURUSD chart and EUR has a currency strength above or equal to 6 and USD has strength less than 2. Wait for the prices comes back to SMA and open the buy trade if the price closes above SMA. Place
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
Sistema HTF EFECTIVO 30 - 60 USD
Hola, me gustaría que un programador experimentado creea un sistema de trading EA que abra y cierre operaciones muy rápido en segundos (HFT). Sería óptimo tener una opción/botón para activar solo para comprar o solo para vender (operaciones unidireccionales). Con una buena interfaz gráfica de usuario. Se agradece la implementación de su propia experiencia con sistemas de trading HFT. Es para mercados volátiles como
Hello, I would like an experienced programmer to create an EA trading system which opens and closes trades very fast within seconds (HFT). To have an option/button to activate either for only buy or only sell (one way trading) would be optimal. With a nice GUI. Implementing your own experience with HFT trading systems is welcomed. It's for volatile markets such as XAUUSD or US30. Taking advantage of order placements
The strategy is a martingale type . i.e if it hits the stop loss , it will double the lot size and place again in that direction, and when it hits the take profit at any level of the martingale, it will start over from the first lot size used initially
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
I'm looking for a developer to assist in creating an Expert Advisor (EA) for use in a prop firm. The EA should be designed for the MT4 trading platform and include the following features: Scalping strategy Maximum drawdown of 3% Please let me know if you're interested and capable of handling this project

Informations sur le projet

Budget
10 USD
TVA (20%): 2 - 2 USD
Total: 12 - 12 USD
Pour le développeur
9 - 9 USD