Trabalho concluído

Tempo de execução 1 dia
Comentário do cliente
Developer understands and works very quickly. Very impressed

Termos de Referência

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)



Respondido

1
Desenvolvedor 1
Classificação
(20)
Projetos
19
11%
Arbitragem
2
50% / 50%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(37)
Projetos
59
27%
Arbitragem
25
20% / 52%
Expirado
10
17%
Trabalhando
3
Desenvolvedor 3
Classificação
(5)
Projetos
6
17%
Arbitragem
0
Expirado
0
Trabalhando
4
Desenvolvedor 4
Classificação
(63)
Projetos
99
29%
Arbitragem
1
100% / 0%
Expirado
2
2%
Livre
5
Desenvolvedor 5
Classificação
(56)
Projetos
82
54%
Arbitragem
9
33% / 33%
Expirado
7
9%
Trabalhando
6
Desenvolvedor 6
Classificação
(183)
Projetos
234
59%
Arbitragem
7
29% / 29%
Expirado
8
3%
Trabalhando
7
Desenvolvedor 7
Classificação
(322)
Projetos
350
52%
Arbitragem
5
80% / 20%
Expirado
1
0%
Trabalhando
Pedidos semelhantes
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
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
Need EA programmer to create an MT4 EA that will be able to leverage trades in favour of the market direction ,the EA should be able to operate to any broker. The EA must trade on a clear trend not when the Market is ranging. More will be explained once your application has been accepted for the job
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
looking for help to get my ibkr automated, i have strategies already built in composer and have JSON for them, i really just need to he setup and explanation on how to maintain it and add new strategies
Hi there - Overview We are seeking an experienced developer to create a Forex Robot Expert Advisor (EA) tailored to specific trading strategies and conditions. The EA will focus on the London trading session and will automate trades based on pre-defined calculations and market movements. *Responsibilities:* 1. *London Session Analysis:* - Develop functionality to highlight the London trading session on the forex
MT4 Developer Needed 30 - 35 USD
Hey greetings. Am in need of a programmer that can find the best configuration for best profit/ risk of mt4 EA . All I have is the ex4 file of the EA . Kindly bid for it if it is what you can do for me . Thanks

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD