Check if position exists if not open trade.

MQL4 エキスパート

仕事が完了した

実行時間2 時間
依頼者からのフィードバック
Absolutely perfect, quality work, great communication. Delivered work much quicker than I anticipated, highly recommended. Would hire again.
開発者からのフィードバック
Calm, patient and provide full detail to the work,.. will want to work with him again and again.. Thanks

指定

Hello,


I simply want an EA that will be a utility. when it is launched it will simply check for open positions, and open an opposite trade. example on what this EA needs to do.


1) on launch and check every second if there is no active order (any direction) do nothing.

2) If there is 1 or more buy orders but no sell orders, place a sell market order at that price where it is right now. 

3) If there is 1 or more sell orders but no buy orders, place a buy market order at that price where it is right now.


once the trade has been opened, keep monitoring all active trades, and once there are no more active BUY orders place a sell order, or when there is no more active SELL orders place a buy order.


PS: I would need you to give me the MQ4 version (source) any questions feel free to ask.

応答済み

1
開発者 1
評価
(590)
プロジェクト
789
71%
仲裁
9
33% / 33%
期限切れ
22
3%
2
開発者 2
評価
(169)
プロジェクト
204
30%
仲裁
25
40% / 44%
期限切れ
12
6%
3
開発者 3
評価
(115)
プロジェクト
129
18%
仲裁
11
27% / 55%
期限切れ
4
3%
4
開発者 4
評価
(19)
プロジェクト
35
26%
仲裁
10
30% / 70%
期限切れ
5
14%
5
開発者 5
評価
(5)
プロジェクト
7
29%
仲裁
1
0% / 100%
期限切れ
0
6
開発者 6
評価
(409)
プロジェクト
537
75%
仲裁
9
44% / 0%
期限切れ
24
4%
7
開発者 7
評価
(12)
プロジェクト
14
29%
仲裁
0
期限切れ
0
8
開発者 8
評価
(114)
プロジェクト
154
47%
仲裁
2
0% / 50%
期限切れ
4
3%
類似した注文
Hey Guys i've a PineScript /Source Code / ( Trading View ) indicator which has Buy and Sell Sign . i wanna make a MT5/4 Robot by it with some features . I need it has a simple panel to shows some details of robot at screen
Hi dear coders, I have an EA and for this EA I want additional code for Risk Management at my code, trade is triggered with this line int TheTicket = OrderSend(_Symbol,TradeType,(double)DoubleToString(TheLots,2),TradeType==OP_BUY?Ask:Bid,10,TheSL,TheTP,TheComment,MagicNumber,0,TradeType==OP_BUY?clrBlue:clrRed); I want you create a code and tutorrial how to change my code. the new code will be Risk Management Inputs
I'm seeking a Forex HFT Scalping EA that operates on live streaming tick data and candlestick patterns, executing a high frequency of trades without balance restrictions. The EA should be compatible with major currency pairs like EUR/USD, GBP/USD, USD/JPY, AUD/USD, GBP/JPY, GBP/AUD, and XAU/USD, as well as US30 indices. Given its HFT nature, it should focus on the 1-minute, 5-minute, 15-minute, and 30-minute
I need a custom MT5 EA that can place trades (Buy & Sell) from two Telegram channels. One telegram channel will give the trend signal (Bullish or Bearish) and the second telegram channel will give buy and sell signals
hello i like to have zigzag added to my EA and set orders when it makes a pullback strategy (Higerlow/Lowerhigh) or break of market structure strategy Higherhigh/Lowerlow break set order entry I want it to be able to do these 2 things but one at a time. -Zigzag makes a pullback into an HigherLow/LowerHigh set order entry -Zigzag breaks structure HigherHigh/LowerLow set order entry - For PULLBACK STRATEGY i just want
Looking for a indicator that can show where the majority of retail stop losses are placed Please can someone advise me how best to achieve this but it needs to be accurate
I have a grid trading bot that needs debugging. its perfect apart from a random stop loss I encountered. It’s supposed to have a stop loss at 99% but it one time closed trades at around 25% loss. Here is a list of potential things causing it to bug out (it’s running on MQL VPS MT5, I also want to retain the ability to close positions manually); - Chart change (symbol or timeframe) - Recompiling the EA - Server
Me gustaría poder crear automaticamente varias ordenes que se queden pendientes pudiendo definir los siguientes parámetros: Tipo de orden (Buy y sell stop, buy y sell limit. Precio de compra / venta. Pudiendo entrarlo manualmente o como un numero de puntos a sumar/restar del precio actual de marcado. Numero de puntos que ocuparan en total las ordenes y numero de ordenes a insertar (Ejemplo: 200 puntos, 4 ordenes, es
tardes desarolladores, quiero hacer un sistema semiatomatico, el deberia abrir las operaciones de venta o compra en un punto donde yo haga el analisis cumpliendo siertos criterios, por ejemplo abrir la operacion despues de que tresvelas del mismo color salga de un punto donde yo deje marcado , abriendo una operación 1/1 tenuendo en cuenta dos lineas que yo dejare marcadas
Hi developer, I need a EA bot with forex news filtering for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy) and USD currency pairs (audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). That's no problem if you can share your own profitable ea to me for 100 usd. I don't have any idea about ea strategy. But, I need profit in this ea Please share backtest, strategy, how ea works and ea's features

プロジェクト情報

予算
30+ USD
開発者用
27 USD