Bar Indicator to send order and close order

MQL5 Experten

Spezifikation

 

Requirements:

1.      Send buy order when N continuous bar is UP (N in input variable)

2.      Send Sell Order when N continuous bar is DOWN (N is input variable)

3.      Above check will only happen when bar change to new BAR . ie if Time frame is H1 (in input variable)  and  N =5 then code need to check “H1[2],H1[1] AND if both bar are going up then buy order same if both bar is down then SELL ORDER

4.      While sending order take 1% of lot size of total balance always put stop loss and take profit . apply take profit very minimal 5$ on .01 lot size -OPTION 1 SET USING FLAG

5.      Further to check if order need to close in between: check below condition and close the order.

a.      If first 5 Bar (H1)is UP then apply Buy order but once 3(Dynamic) continuous (H1 Or 30M dynamic timeframe global variable) order is down then close the order.

b.      Same wat if first 5 ber is down then apply sell order but once 3 (Dynamic) continuous (H1 Or 30M dynamic timeframe global variable) order is up then close the order.

 

 

 

need input variable to choose dynamic time stamp for send order.

input variable for number of bar to check continuous bar up or down

need input variable to choose dynamic time stamp for check close order.

input variables for number of bar check continuous bar up or down to close order

 

function to check if bar is complete bar ( this should be called based on flag so if needed then apply else don’t apply

A screenshot of a graph

Description automatically generated


Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(253)
Projekte
316
29%
Schlichtung
34
26% / 65%
Frist nicht eingehalten
10
3%
Frei
2
Entwickler 2
Bewertung
(16)
Projekte
35
23%
Schlichtung
4
0% / 50%
Frist nicht eingehalten
2
6%
Arbeitet
3
Entwickler 3
Bewertung
(6)
Projekte
8
25%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
2
25%
Frei
4
Entwickler 4
Bewertung
(77)
Projekte
243
74%
Schlichtung
7
100% / 0%
Frist nicht eingehalten
1
0%
Frei
Veröffentlicht: 1 Artikel
5
Entwickler 5
Bewertung
(163)
Projekte
258
61%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
10
4%
Frei
6
Entwickler 6
Bewertung
(45)
Projekte
46
24%
Schlichtung
34
9% / 85%
Frist nicht eingehalten
10
22%
Frei
7
Entwickler 7
Bewertung
(37)
Projekte
59
27%
Schlichtung
26
19% / 54%
Frist nicht eingehalten
10
17%
Arbeitet
Veröffentlicht: 1 Beispiel
8
Entwickler 8
Bewertung
(618)
Projekte
1428
59%
Schlichtung
31
81% / 0%
Frist nicht eingehalten
10
1%
Frei
9
Entwickler 9
Bewertung
(568)
Projekte
641
41%
Schlichtung
25
48% / 36%
Frist nicht eingehalten
46
7%
Arbeitet
10
Entwickler 10
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
(72)
Projekte
80
10%
Schlichtung
38
8% / 58%
Frist nicht eingehalten
6
8%
Frei
12
Entwickler 12
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
Ähnliche Aufträge
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was
Rsi divergence 30+ USD
You need to create an EA that executes buy and sell based on the signals of an rsi divergence indicator in trading view. The indicator is not in MT5 and must be added separately. pine script availabel

Projektdetails

Budget
30+ USD