BAR STRADDLE EA

Spécifications

Hello Coding Wizards. 

I need an EA that places pending buy above / sell below orders on a specific bar as it closes. Stop loss orders for both pending orders are on opposite ends of the bar. It needs to have fast execution speed with functions as follows;

Position size based on X % risk of account balance.

Works on whatever chart the EA is active on. 

Identification of "Primary Bar" based on server time entered manually.

Optional addition of X number of prior bars in H/L range calculation (0-9).

Addition of X points to allow for spread/buffer beyond primary bar high/ low.

Optional ''One cancels other order'' (OCO) function, deleting other pending order when one is triggered.

Optional Cancel all pending orders after X number of bars (0-9).

Optional Set profit target in X points.

Optional Move stop to half initial range/dollar risk when X points in profit.

Optional Move stop to original entry level when X points in profit.

See attached for concept diagram.


Dossiers :

Répondu

1
Développeur 1
Évaluation
(2104)
Projets
2675
62%
Arbitrage
114
46% / 25%
En retard
420
16%
Chargé
2
Développeur 2
Évaluation
(7)
Projets
9
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
3
Développeur 3
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(2442)
Projets
3079
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Gratuit
5
Développeur 5
Évaluation
(558)
Projets
1344
59%
Arbitrage
28
82% / 0%
En retard
10
1%
Gratuit
6
Développeur 6
Évaluation
(11)
Projets
26
27%
Arbitrage
3
0% / 0%
En retard
1
4%
Chargé
7
Développeur 7
Évaluation
(173)
Projets
246
22%
Arbitrage
17
65% / 18%
En retard
1
0%
Chargé
8
Développeur 8
Évaluation
(28)
Projets
35
14%
Arbitrage
6
33% / 50%
En retard
5
14%
Gratuit
9
Développeur 9
Évaluation
(2)
Projets
3
33%
Arbitrage
2
0% / 100%
En retard
2
67%
Gratuit
10
Développeur 10
Évaluation
(28)
Projets
47
23%
Arbitrage
13
31% / 15%
En retard
12
26%
Gratuit
11
Développeur 11
Évaluation
(50)
Projets
71
28%
Arbitrage
8
50% / 13%
En retard
14
20%
Travail
12
Développeur 12
Évaluation
(12)
Projets
16
44%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
13
Développeur 13
Évaluation
(30)
Projets
36
31%
Arbitrage
0
En retard
1
3%
Travail
14
Développeur 14
Évaluation
(257)
Projets
341
58%
Arbitrage
7
14% / 71%
En retard
9
3%
Gratuit
15
Développeur 15
Évaluation
(19)
Projets
33
55%
Arbitrage
5
80% / 20%
En retard
3
9%
Gratuit
16
Développeur 16
Évaluation
(145)
Projets
258
35%
Arbitrage
12
25% / 58%
En retard
42
16%
Gratuit
17
Développeur 17
Évaluation
(96)
Projets
109
36%
Arbitrage
3
0% / 0%
En retard
4
4%
Travail
18
Développeur 18
Évaluation
(261)
Projets
426
38%
Arbitrage
86
44% / 19%
En retard
71
17%
Chargé
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
EA gold HB king5 100+ USD
// เริ่มต้นโปรแกรม EA input double LotSize = 0.1; // ขนาดของล็อต input double TakeProfit = 50; // จุดกำไร input double StopLoss = 50; // จุดขาดทุน // ฟังก์ชันที่เรียกเมื่อมีการสั่งซื้อ void OnTick() { double MA = iMA(NULL, 0, 14, 0, MODE_SMA, PRICE_CLOSE, 0); // Simple Moving Average (SMA) 14 double Price = Bid; if(Price > MA) // เงื่อนไขสำหรับการซื้อ { if(OrderSelect(0, SELECT_BY_POS) == false) //
I’m looking to turn into code. Trading Instrument - Crude Oil Futures (CL) Chart and Timeframe - 30-second chart Entry Setup 1. Time Focus on the first 30-second candle after 11:00:00 AM New York time. (11:00:00 candle) 2. Candle Size Limit : Skip the trade if the first candle is greater than 10 points. 3. Entry Orders - Place stop orders at the high and low of the first 30-second candle after 11:00:00. - Long Entry
Variable Inputs to be added Order Type : Market , Pending Trade Type : Buy, Sell , Buy & Sell Pending Pips Step : ( Pips Value can be negative or positive to decide on what type of Pending Order ) // If trade type Buy is selected Close Type : Close All ( Bulk Close Option in MT5 ) , Close Individually Close Option : %of Equity , %of Balance , Amount $ , %of No: of Trades Close Type : Buy Only , Sell Only , Buy & Sell
hello there I need a copy trade for mt4 can ANYONE help me with and let discuss on how to go about it kindly send me message to signify and let discuss mind you i need this urgently let connect to discuss and conclude
Below is the pine eidtor script convert it to MQL5 coding language and create bot based on following condition 1. This all should be on 5-minute chart timeframe 2. For Buy side, buy after closing of second candle when buy signal is given and hold buy position until sell signal is given. 3. For sell side, sell after closing of second candle when sell signal is given and hold sell position until next buy signal will be
I would like the better volume indicator 1.6 in a scanner format. Scanning multiple timeframe and pairs of which can be picked. Would like it to provide all standard notifications and also if pressed to go to the a template timeframe and pair. *To be placed in a table format as the one added. To be able to add which time frame you want to see. *To advise me of the following Climax High - turn the text green High
i have a JavaScript of a code which is a indicator of trading view, i want to convert into python script and make a mql5 automated trading bot which can take automatic trade and also exit when the signals come by the indicator
Here's the bot's trading strategy in a nutshell>>> I would like to make a simple scalping MT5 EA trading bot for the synthetic indices, specifically for the Boom 1000 Index. This MT5 EA trading bot will be based off of the 10 period moving average that follows specific rules for entry. The parameters of the moving average are as follows: Period:10 Shift:1 Method:Linear Weight Apply to:Close The bot will only initiate
I would like an existing, older MT4 EA I had developed converted into an MT5 EA and debugged where necessary. The EA is attached and should be fairly self-explanatory. It is a breakout order entry EA with customisable parameters
I require an MT4 Expert Advisor (EA) that automatically places hedge orders when a buy or sell order is placed by me or another EA. The hedge orders will consist of a stop order (either Buy Stop or Sell Stop), with the same lot size as the original order, deployed at a predefined price distance. The EA must ensure that only one hedge order is placed for each trade. The system should monitor trades based on specific

Informations sur le projet

Budget
60 - 100 USD
Délais
à 5 jour(s)

Client

(1)
Commandes passées2
Nombre d'arbitrages0