AN EXPERT BASED ON PENDING BUY STOP AND SELL STOP ORDERS

Specifiche

This is a MQL4 trading robot code that seems to implement a basic grid trading strategy. It opens two pending orders (a BuyStop and a SellStop) for a specified symbol when the current server time matches the specified trading time. It then modifies the stop loss and take profit of each order based on their type (BuyStop or SellStop). The lot size of each order is calculated using a risk percentage (RiskPercent) and the free margin available in the account.

Here are some of the important variables and functions used in this code:

Variables:

  • BuyPips: the distance in pips between the BuyStop and the current market price
  • SellPips: the distance in pips between the SellStop and the current market price
  • RiskPercent: the risk percentage used to calculate the lot size of each order
  • Ntokozo: a string variable used to display a comment on the chart
  • TradingTime: the time when the robot should start trading
  • ContractSize: the contract size used to calculate the lot size of each order
  • maxPendingOrders: the maximum number of pending orders that can be opened for each symbol
  • pendingOrdersCount: an array that keeps track of the number of pending orders for each symbol
  • symbolInitialized: a boolean array that keeps track of whether each symbol has been initialized or not

Con risposta

1
Sviluppatore 1
Valutazioni
(19)
Progetti
26
27%
Arbitraggio
3
0% / 100%
In ritardo
2
8%
Gratuito
2
Sviluppatore 2
Valutazioni
(2)
Progetti
5
0%
Arbitraggio
1
0% / 100%
In ritardo
0
In elaborazione
3
Sviluppatore 3
Valutazioni
(37)
Progetti
59
27%
Arbitraggio
25
20% / 52%
In ritardo
10
17%
In elaborazione
4
Sviluppatore 4
Valutazioni
(6)
Progetti
10
50%
Arbitraggio
6
17% / 50%
In ritardo
3
30%
In elaborazione
5
Sviluppatore 5
Valutazioni
(63)
Progetti
99
29%
Arbitraggio
1
100% / 0%
In ritardo
2
2%
Gratuito
6
Sviluppatore 6
Valutazioni
(568)
Progetti
641
41%
Arbitraggio
21
57% / 29%
In ritardo
47
7%
In elaborazione
7
Sviluppatore 7
Valutazioni
(38)
Progetti
40
25%
Arbitraggio
20
15% / 75%
In ritardo
8
20%
Occupato
8
Sviluppatore 8
Valutazioni
(3)
Progetti
4
0%
Arbitraggio
2
0% / 100%
In ritardo
1
25%
Gratuito
9
Sviluppatore 9
Valutazioni
(253)
Progetti
408
38%
Arbitraggio
86
43% / 19%
In ritardo
70
17%
In elaborazione
10
Sviluppatore 10
Valutazioni
(68)
Progetti
77
8%
Arbitraggio
33
9% / 55%
In ritardo
6
8%
In elaborazione
11
Sviluppatore 11
Valutazioni
(264)
Progetti
538
50%
Arbitraggio
55
40% / 36%
In ritardo
224
42%
In elaborazione
12
Sviluppatore 12
Valutazioni
(121)
Progetti
155
43%
Arbitraggio
20
60% / 20%
In ritardo
8
5%
In elaborazione
13
Sviluppatore 13
Valutazioni
(36)
Progetti
44
32%
Arbitraggio
6
17% / 33%
In ritardo
8
18%
In elaborazione
14
Sviluppatore 14
Valutazioni
(87)
Progetti
131
22%
Arbitraggio
7
57% / 0%
In ritardo
33
25%
Gratuito
15
Sviluppatore 15
Valutazioni
(6)
Progetti
8
25%
Arbitraggio
1
100% / 0%
In ritardo
3
38%
Gratuito
16
Sviluppatore 16
Valutazioni
(363)
Progetti
389
70%
Arbitraggio
3
100% / 0%
In ritardo
2
1%
Caricato
Ordini simili
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
The wiper 35 - 48 USD
a ll traders want to find market behavior patterns, which could help identify favorable moments for performing trading operations. They also want to eliminate randomness and influence of external factors, such as rumors, news releases, fatigue, and so on. Traders monitor charts and may formulate some formal rules, which enable objective analysis of price or tick charts. Technical indicators can facilitate such
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Informazioni sul progetto

Budget
30 - 50 USD
Per lo sviluppatore
27 - 45 USD
Scadenze
da 1 a 2 giorno(i)