Convert simple pinescript study into an EA

MQL4 Experts

Trabalho concluído

Tempo de execução 5 horas
Comentário do cliente
One of the easiest purchases I have made. He gave me a demo of the product which was pretty much perfect. On budget, on time, ideal.
Comentário do desenvolvedor
Fast decision , good communication, trusful person

Termos de Referência

I would like to convert this simple pinescript study into an expert advisor:

study("myStudy1",overlay=true, shorttitle="study1")

boxp=input(5, "BOX LENGTH")

LL = lowest(low,boxp)
k1=highest(high,boxp)
k2=highest(high,boxp-1)
k3=highest(high,boxp-2)

NH =  valuewhen(high>k1[1],high,0)
box1 =k3<k2
TopBox = valuewhen(barssince(high>k1[1])==boxp-2 and box1, NH, 0)
BottomBox = valuewhen(barssince(high>k1[1])==boxp-2 and box1, LL, 0)


plot(TopBox, linewidth=3, color=green, title="TBbox")
plot(BottomBox, linewidth=3, color=red, title="BBbox")


The study looks like this:

Study1


SELL SIGNAL:

When price crosses the red line, open sell at market price

Stop loss is the GREEN line

Take profit target is 4:1 reward ratio, so will depend on the size of the stop loss


BUY SIGNAL:

When the high crosses the green line, open a buy at market price

Stop loss is the RED line

Take profit target is 4:1 reward ratio, so will depend on the size of the stop loss


LOT SIZE:

calculation based on percentage of account, for example if the user chooses 1% risk, then calculation needed to work out the lot size.


EXIT CONDITIONS:

If short, exit the trade anytime that price touches the GREEN line (similar to a trailing stop)

If long, exit the trade anytime that price touches the RED line (similar to a trailing stop)


GENERAL RULES:

Expert should ignore all existing trades without the magic number

No hedging - so if an opposite signal happens during a trade, the expert needs to close the trade first, then open a new trade in the opposite direction

The maximum open trades (opened from the expert advisor) should be 1 per market. While a trade is already open, the expert will ignore new signals in the same direction.

Trades need to alternate - once a sell trade closes, only a buy signal can open next. Once a buy trade closes, only a sell signal can open next etc.


Respondido

1
Desenvolvedor 1
Classificação
(9)
Projetos
11
45%
Arbitragem
0
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(356)
Projetos
632
26%
Arbitragem
89
73% / 13%
Expirado
12
2%
Livre
3
Desenvolvedor 3
Classificação
(14)
Projetos
15
40%
Arbitragem
0
Expirado
1
7%
Livre
4
Desenvolvedor 4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(19)
Projetos
27
19%
Arbitragem
6
33% / 33%
Expirado
2
7%
Livre
6
Desenvolvedor 6
Classificação
(68)
Projetos
111
26%
Arbitragem
17
6% / 71%
Expirado
15
14%
Livre
7
Desenvolvedor 7
Classificação
(163)
Projetos
193
48%
Arbitragem
2
50% / 50%
Expirado
1
1%
Livre
8
Desenvolvedor 8
Classificação
(4)
Projetos
4
0%
Arbitragem
1
0% / 100%
Expirado
1
25%
Livre
9
Desenvolvedor 9
Classificação
(41)
Projetos
46
28%
Arbitragem
9
0% / 100%
Expirado
7
15%
Livre
10
Desenvolvedor 10
Classificação
(586)
Projetos
1045
49%
Arbitragem
39
28% / 41%
Expirado
49
5%
Trabalhando
11
Desenvolvedor 11
Classificação
(546)
Projetos
823
73%
Arbitragem
15
53% / 13%
Expirado
193
23%
Trabalhando
12
Desenvolvedor 12
Classificação
(66)
Projetos
143
34%
Arbitragem
11
9% / 55%
Expirado
26
18%
Trabalhando
Pedidos semelhantes
I am looking to create an automated trading system that runs on meta trader 4. I currently have 200 clients on an automated trading system with over £200,000 in capital and wanting to funnel this into my own trading system. Looking to find someone who can program a bot that will trade on Meta Trader 4, potentially look at the source code of the system we currently use and utilize that
I want you to create a Robot copier from mt4 to ctrader with the following features: 1. mt4- mt4 2. mt4-ctrader + mt4 master sends signal +Ctrader Client & mt4 Client Copy 1-1 Edit Lots Copy (1-input) Close the entire order when positive $ (input) Close the entire order when negative $ (input) Stop trading when daily profit is greater than $(input)
I would like you to create a deriv Forex scalping Robot to trade on smaller accounts starting from $50-$100. The robot is meant to trade deriv synthetic indices ( specifically Volatility 75(1s ) ). Note: Remember that deriv indices are open 24/7 including on weekends , so the robot should work even on weekends and it should have news filters . I want the ROBOT to be entering the market 3-5 times a day until the set
This is a Ready Made grid Automatic EA 1 Need some bug fixing and little modification. 1. This Grid EA has some bug like -After MT4 Restart the EA place 4-5 random trade at the same strike price without any logic. plz fix this bug 2. add RSI for buy sell https://drive.google.com/file/d/1f1_MJR2KoKCAPIlNohvnhaC0NqC6bQ2T/view?usp=sharing Here is a short video. what kind of problem i face
Hello, I have an EA working nice but I required some modification / additions in it. Addition / Modification! 1. EA must follow the Buy - Sell Arrow Alert indicator (copy of Arrow indicator attached) in combination of Heiken Ashi candles and Stochastic Oscillator Indicator to Buy / Sell orders 2. Placing X number of pending orders with an initial distance and proportional increase in distance and lot size. 3. Close
I'm looking for someone who will take the source code of an existing trading bot and make some adjustments and tweaks to it. Mostly is about changing the UI and basic default parameters. No need to change the algorithm itself. The result must be a file that I can install as any other expert advisor in the MT4 terminal. For now I can share the more detailed task in my video
Hello I have purchased an EA from MQL market. The name of the EA is "Eternal Profit" and it works on MT4 only. Its available in market and you can still find it to run DEMO. Though I have purchased the EA but its not working properly for XAUUSD pair owing to some inherent programming issues in the EA. The same EA is working good on currency pair. The key issue is the decimal place in in the pair. Its designed for
Grid EA for MT5 60 - 70 USD
Hi, Coding Skills Required: Experience in coding trading robots for MT5. Ability to implement increasing coefficients for the distance between orders and lot size 1. Project Objective: Develop an automated trading robot for MetaTrader 5 (MT5) as per the specified trading strategy. 2. Trading Strategy: The robot must execute a strategy that includes the following elements: Opening initial orders. Placing pending
I have a robot set up that sends trading signals to my telegram group and the group sends trading signals for (28 forex pairs, 3 crypto pairs, 6 commodities, 6 indexes, & 55 stocks) basically almot 100 CFDs and sends out trend price action breakout, impulse, reversal, and exit indications to each one of those CFDs on different timeframes. I want to make it so that a person can sign up and choose which alerts they
I want to build a Trade Manager Panel Trade Manager Panel Requirements for MT4 1. Overview: The trade manager panel for MT4 is designed to provide me with efficient management of trades on individual charts/symbols. It consists of two main parts: Displaying information on currently running orders. Providing functionalities for setting and activating stop loss (SL), take profit (TP), and break-even (BE) levels

Informações sobre o projeto

Orçamento
30 - 50 USD
Desenvolvedor
27 - 45 USD
Prazo
para 5 dias