Convert simple pinescript study into an EA

MQL4 전문가

작업 종료됨

실행 시간 5 시간
고객의 피드백
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.
피고용인의 피드백
Fast decision , good communication, trusful person

명시

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.


응답함

1
개발자 1
등급
(9)
프로젝트
11
45%
중재
0
기한 초과
0
무료
2
개발자 2
등급
(356)
프로젝트
632
26%
중재
89
73% / 13%
기한 초과
12
2%
무료
3
개발자 3
등급
(14)
프로젝트
15
40%
중재
0
기한 초과
1
7%
무료
4
개발자 4
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
5
개발자 5
등급
(19)
프로젝트
27
19%
중재
6
33% / 33%
기한 초과
2
7%
무료
6
개발자 6
등급
(68)
프로젝트
111
26%
중재
17
6% / 71%
기한 초과
15
14%
무료
7
개발자 7
등급
(163)
프로젝트
193
48%
중재
2
50% / 50%
기한 초과
1
1%
무료
8
개발자 8
등급
(4)
프로젝트
4
0%
중재
1
0% / 100%
기한 초과
1
25%
무료
9
개발자 9
등급
(41)
프로젝트
46
28%
중재
9
0% / 100%
기한 초과
7
15%
무료
10
개발자 10
등급
(586)
프로젝트
1049
49%
중재
39
28% / 41%
기한 초과
49
5%
무료
11
개발자 11
등급
(550)
프로젝트
829
73%
중재
15
53% / 13%
기한 초과
193
23%
작업중
12
개발자 12
등급
(67)
프로젝트
144
34%
중재
10
10% / 60%
기한 초과
26
18%
무료
비슷한 주문
I am developing a master EA that integrates several sub-EAs. The project is complex, and the documentation is thoroughly structured, spanning 50 pages with detailed step-by-step procedures. 1st sub-EA: This EA opens trades without using indicators. Instead, it opens a new trade based on the color or status of the last candle. For instance, if the last candle was green, a new buy trade is opened. 2nd sub-EA: This EA
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer
Trade Manger EA 30+ USD
Hello Programmer! I am looking to build an EA that will place my trade and manage it. Once i have manually found my setup, I will want an EA to open the trade, set the R:R and manage it according to my specifications. please take a look at the attached to get an Idea of what I would like. I will require the source code once completed
Hello there i need someone who will create a robot that will calculate the movement between buy/sell and show where to take profit the robot should work with all currency and indices including stock
EA to send account history to web request. It should send every 5 mins or when there is an update. It then sends the json to a web request where gain, drawdown, balance, equity will be displayed
I have a full strategy based on indicator and candle based on . i would like to make it into a robot which will trade for me on a specific time and specific rules. i need a person who can do this project for me. If you have done this type of job . you are most welcome for this. Apply only if you know binary trading option and binomo trading platform well and how it works
Preciso de um EA, que faça o fecho automático de operações abertas no final da sessão e nas notícias de alto impacto. Um EA simples com apenas 1 função. Fecho das operações abertas
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable

프로젝트 정보

예산
30 - 50 USD
개발자에게
27 - 45 USD
기한
 5 일