Convert simple pinescript study into an EA

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 5 saat
Müşteri tarafından geri bildirim
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.
Geliştirici tarafından geri bildirim
Fast decision , good communication, trusful person

İş Gereklilikleri

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.


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(9)
Projeler
11
45%
Arabuluculuk
0
Süresi dolmuş
0
Ücretsiz
2
Geliştirici 2
Derecelendirme
(356)
Projeler
632
26%
Arabuluculuk
89
73% / 13%
Süresi dolmuş
12
2%
Ücretsiz
3
Geliştirici 3
Derecelendirme
(14)
Projeler
15
40%
Arabuluculuk
0
Süresi dolmuş
1
7%
Ücretsiz
4
Geliştirici 4
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Ücretsiz
5
Geliştirici 5
Derecelendirme
(19)
Projeler
27
19%
Arabuluculuk
6
33% / 33%
Süresi dolmuş
2
7%
Ücretsiz
6
Geliştirici 6
Derecelendirme
(68)
Projeler
111
26%
Arabuluculuk
17
6% / 71%
Süresi dolmuş
15
14%
Ücretsiz
7
Geliştirici 7
Derecelendirme
(163)
Projeler
193
48%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
1
1%
Ücretsiz
8
Geliştirici 8
Derecelendirme
(4)
Projeler
4
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
25%
Ücretsiz
9
Geliştirici 9
Derecelendirme
(41)
Projeler
46
28%
Arabuluculuk
9
0% / 100%
Süresi dolmuş
7
15%
Ücretsiz
10
Geliştirici 10
Derecelendirme
(586)
Projeler
1046
49%
Arabuluculuk
39
28% / 41%
Süresi dolmuş
49
5%
Ücretsiz
11
Geliştirici 11
Derecelendirme
(546)
Projeler
823
73%
Arabuluculuk
15
53% / 13%
Süresi dolmuş
193
23%
Çalışıyor
12
Geliştirici 12
Derecelendirme
(66)
Projeler
143
34%
Arabuluculuk
11
9% / 55%
Süresi dolmuş
26
18%
Çalışıyor
Benzer siparişler
I want to create a EA that will use 2 EMAs to trade I want the EA to trade price when price closes above or below the 2 EMAs and I want the EA to trade A EMA cross along with that I want to add Risk management buttons to the front end of the EA Please Let Me Know if you can do this job asap. also Im the guy who tried to convert a mt4 EA but after many failed attempts and speaking to a profession it was advised to
j'ai besoin d'un programmeur qui peut modifier mon ea en quelque ligne , l ea est Deja fais , j'attends qu'il soit le mieux optimise pour une rentabilite maximum sur le graphique du btc , et sur nimporte quel courtier , je veux qu'une fois qu'il est modifier qu'il marche tout de suite , sans plein de reglage merci
I need someone to convert MQL4 EA file to MQL5. I will attached MQL4 EA file, please check the file above and give me your quote to get this project done
I need someone to convert MQL4 EA file to MQL5. I will attached MQL4 EA file, please check the file above and give me your quote to get this project done
HI, I'm looking for an experienced person who can add buy/sell indications/Alerts on existing Pinescript code along with little modification of the script and the script should connect to MT5 platform using pineconnector MT5 platform should excute trade instantly as based on the alerts/indications on tradingview script
I need an experienced metatrader 4 programmer to create and design a well automated expert advisor that run well without any issues on metatrader 4, only apply for this job if you have the right skills, this is very important project, needed for quick execution thanks
I already have my EA completed. I just need to add 2 params and fix the Global Variables (GV) to make sure that no order is missed for any reason. Maybe GV is not enough and need to add another feature. Interested in this small project
Good morning! I‘m looking for an experienced mql5 dev to code several strategies in the future. I’m running a community which wants to code their strategies. I‘m also coding but the amount of orders is too high. I‘m collecting the orders, creating the specs incl. inputs and make a profit split. Your skills: at least 5 years of MQL5 experience Trading know-how: You know what FVG, liquidity runs, patterns, orderblocks
i need local ea copier with reverse option only copier trades reversed to another mt5 .. it's simple I think it dont have alot of options the ea must copier reversal trades to another mt5 close trades when i close master account trades
I'm a professional trader looking to see how much a bot would cost. This method is profitable and tested like my other 7 other systematic methods that are created already. the method consists of a range being broken high or low and enters on a reversal sign. The method uses fractals, set pip distance tp with set tp stop loss. There will be more work if this relationship goes well. Thank you

Proje bilgisi

Bütçe
30 - 50 USD
Geliştirici için
27 - 45 USD
Son teslim tarihi
to 5 gün