Convert simple pinescript study into an EA

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 5 ore
Feedback del 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.
Feedback del dipendente
Fast decision , good communication, trusful person

Specifiche

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.


Con risposta

1
Sviluppatore 1
Valutazioni
(9)
Progetti
11
45%
Arbitraggio
0
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(356)
Progetti
632
26%
Arbitraggio
89
73% / 13%
In ritardo
12
2%
Gratuito
3
Sviluppatore 3
Valutazioni
(14)
Progetti
15
40%
Arbitraggio
0
In ritardo
1
7%
Gratuito
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(19)
Progetti
27
19%
Arbitraggio
6
33% / 33%
In ritardo
2
7%
Gratuito
6
Sviluppatore 6
Valutazioni
(68)
Progetti
111
26%
Arbitraggio
17
6% / 71%
In ritardo
15
14%
Gratuito
7
Sviluppatore 7
Valutazioni
(163)
Progetti
193
48%
Arbitraggio
2
50% / 50%
In ritardo
1
1%
Gratuito
8
Sviluppatore 8
Valutazioni
(4)
Progetti
4
0%
Arbitraggio
1
0% / 100%
In ritardo
1
25%
Gratuito
9
Sviluppatore 9
Valutazioni
(41)
Progetti
46
28%
Arbitraggio
9
0% / 100%
In ritardo
7
15%
Gratuito
10
Sviluppatore 10
Valutazioni
(586)
Progetti
1048
49%
Arbitraggio
39
28% / 41%
In ritardo
49
5%
Gratuito
11
Sviluppatore 11
Valutazioni
(549)
Progetti
826
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
In elaborazione
12
Sviluppatore 12
Valutazioni
(66)
Progetti
143
34%
Arbitraggio
10
10% / 60%
In ritardo
26
18%
Gratuito
Ordini simili
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
We are seeking a skilled developer who can convert a Tradingview indicator written in Pinescript to a NinjaTrader indicator written in C#. The goal is to create a profitable trading strategy using this indicator. The successful candidate will have expertise in both Pinescript and C# programming languages, as well as a strong understanding of trading indicators and strategies. The main responsibilities will include
I am seeking an experienced MQL5 developer to create a user-friendly manual Grid Trading Expert Advisor (EA) with the following key features: Dynamic Grid Trading: Adjustable Grid Distance: Traders can manually input grid distance in pips via an intuitive, movable table. Take Profit Management: Fixed TP for the initial positions (e.g., first 5 trades). Stop-Loss (Optional): Traders can choose to use a stop-loss with
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot
I would like to modify the RSI Epert Avisor with a developer. I would like to use the RSI Expert on the inverse mode and the base setting doesnt conatain this strategy mode
Profitable EA HFT 50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
I need help fixing my EA for MT5. It’s a very simple EA, and I currently cannot solve an issue where webrequest communicates with OpenAi API without error. Please only apply if you can help solve this issue

Informazioni sul progetto

Budget
30 - 50 USD
Per lo sviluppatore
27 - 45 USD
Scadenze
a 5 giorno(i)