仕事が完了した

実行時間1 日
依頼者からのフィードバック
Developer understands and works very quickly. Very impressed

指定

Hi


I want a very CLEAN BASIC Martingale code as follows:

A - INPUTS

1. Initial Lots

2. Lots for Positions 2 to 5

3. Lots for Positions 6 to 10

4. Distance in points to open Position 2 to 5 (from each previous position price) 

5. Distance in points to open Position 6 to 10 (from each previous position price)

6. Dropdown for "Sell Only", "Buy Only", "Buy and Sell at the same time"

7. Take Profit in points (not pips)


B - WORKINGS

1. It must always trade. First trades must always be either a buy, sell or both depending on input selected

2. Then it must Martingale from there as per the inputs. It must always place the next order as a pending order in the system. As it triggers, the next pending order goes in and so on.

3. VERY IMPORTANT - The EA must continuously recalculate the average cost of all buy and sell positions separately (Total cost/Total lots for "buy" = average cost for "BUY") and  (Total cost/Total lots for "sell" = average cost for "SELL")

4. The take profit in points added to the average price of "SELL" and "BUY" must be sent as a pending order immediately - BUY positions and SELL positions separately.

5. Once BUY or SELL positions gets closed with take profit, it must immediately open either a buy or sell again and start over.


C-  EXAMPLE

Buy EURUSD at 1.09000 for 1 lots with 100 points take profit and 100 points distance to Martingale (Assume all trades at 1 lot and 100 distance BUT obviously it must work as per the inputs I mentioned above where it will be different for trades 2 to 5 and 6 to 10)

1. EA Immediately puts 1.09100 as TP order and another pending buy order at 1.08900

2. Price goes down to 1.08900 the EA opens another BUY as per the pending order. The EA now immediately puts another buy at 1.08800. At the same time the EA also now recalculates the two open positions cost which is ((1.09000x1) +(1.08900x1))/2 = 1.08950. The EA deletes the previous TP (1.09100) in the system and updates it to 1.09050 (1.08950 new average cost plus 100)

3. Price goes down to 1.08800 the EA opens another BUY as per the pending order. The EA now immediately puts another buy at 1.08700. At the same time the EA also now recalculates the three open positions cost which is ((1.0900x1) +(1.08900x1)+(1.08800x1))/3 = 1.08900. The EA deletes the previous TP (1.09050) in the system and updates it to 1.0900 (1.08900 new average cost plus 100)

4. Price goes to 1.0900 and take profit kicks in. EA immediately starts again.

5. The same principles applies for SELL trades (If I selected buy and sell at the same time)



応答済み

1
開発者 1
評価
(20)
プロジェクト
19
11%
仲裁
2
50% / 50%
期限切れ
0
2
開発者 2
評価
(37)
プロジェクト
59
27%
仲裁
25
20% / 52%
期限切れ
10
17%
仕事中
3
開発者 3
評価
(5)
プロジェクト
6
17%
仲裁
0
期限切れ
0
仕事中
4
開発者 4
評価
(63)
プロジェクト
99
29%
仲裁
1
100% / 0%
期限切れ
2
2%
5
開発者 5
評価
(56)
プロジェクト
82
54%
仲裁
9
33% / 33%
期限切れ
7
9%
仕事中
6
開発者 6
評価
(183)
プロジェクト
234
59%
仲裁
7
29% / 29%
期限切れ
8
3%
仕事中
7
開発者 7
評価
(322)
プロジェクト
350
52%
仲裁
5
80% / 20%
期限切れ
1
0%
仕事中
類似した注文
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
I need a chart to replicate/track my equity + Balance Curve into my mt4. Also this chart i need to be able to add Stochastic / Bollingerband / Moving average on the equity/balance curve. Besides the equity curve i would like the indicator to show the Line-chart of my win + 1 and my loss -1 which results in a win-loss curve. ( i will discuss this with the choosen developer in depth. ) More information on what i want
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1
Hello, I need someone who have a great experience in ATAS platforms, I use ATAS software for orderflow and i would like tradingview to draw some light information from ATAS to tradingview. If you are capable of this please send me a message and let's proceed
I was looking around for a robot to trade with and came across one that looked like it had some promising results, i would like to optimize the existing robot for even better and more consistent results and convert the mql4 code to mql5 so that i can run it on my live account after testing. I would like the expert to be run on the 5 minute time frame. Note: The robot is based on the martingale system. I have provided
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
Job Description: We are seeking an experienced EA programmer to create an EA that utilizes SnR + Trendlines + Multi timeframe confluence Project Requirements: - Support and Resistance, Open Close levels/kissing candles/Rejection block, Support broken becomes Resistance(SbR), Resistance broken becomes Support(RbS), Quasimodo Levels, Asian Range, London Killzone, London Open, New York Killzone, New York Open

プロジェクト情報

予算
30+ USD
開発者用
27 USD