Convert Pine to MT5 Expert Advisor

MQL5 Experten

Spezifikation

Hi

 

Need this Pine Script Indicator converted to MT5 Expert Advisor

 

Functions

1/Open and Close trade on opposite signal 

 

2/ Need the Indicators and Arrows displayed on the Chart

 

 3/Have a setting to automatically increase lot size on the next trade, if previous trade was a losing trade.

 

4/No repaint as the Tradeview Indicator does repaint sometimes

 

5/If a Trade is closed manually the EA will open a trade on the next signal.

 

6/If after closing a Trade manually and then I set a Stop Order in the direction of the current Signal and the Stop Order is Triggered the EA will take over and close the Trade on the next opposite signal.

 

7/If after closing a Trade manually and then re-open a Trade Manually in the direction of the Signal the EA will take over and close the Trade on the next opposite signal.

 

See the Indicator on a Chart on TradeView - Click - "Make it mine"

 

https://www.youtube.com/watch?v=5yKroPKDL-g

 

Link to Trade View in YouTube Description.

 

 Skype and TeamViewer to verbally confirm conditions if helpful


Code

Here is code free to use for anyone by coder


//@version=2

//Heikin Ashi Strategy  V2 by breizh29


strategy("Heikin Ashi Strategy  V2",shorttitle="HAS V2",overlay=true,default_qty_value=1000,initial_capital=100000,currency=currency.EUR)

res = input(title="Heikin Ashi Candle Time Frame", type=resolution, defval="60")

hshift = input(1,title="Heikin Ashi Candle Time Frame Shift")

res1 = input(title="Heikin Ashi EMA Time Frame", type=resolution, defval="180")

mhshift = input(0,title="Heikin Ashi EMA Time Frame Shift")

fama = input(1,"Heikin Ashi EMA Period")

test = input(1,"Heikin Ashi EMA Shift")

sloma = input(30,"Slow EMA Period")

slomas = input(1,"Slow EMA Shift")

macdf = input(false,title="With MACD filter")

res2 = input(title="MACD Time Frame", type=resolution, defval="15")

macds = input(1,title="MACD Shift")


//Heikin Ashi Open/Close Price

ha_t = heikinashi(tickerid)

ha_open = security(ha_t, res, open[hshift])

ha_close = security(ha_t, res, close[hshift])

mha_close = security(ha_t, res1, close[mhshift])


//macd

[macdLine, signalLine, histLine] = macd(close, 12, 26, 9)

macdl = security(ha_t,res2,macdLine[macds])

macdsl= security(ha_t,res2,signalLine[macds])


//Moving Average

fma = ema(mha_close[test],fama)

sma = ema(ha_close[slomas],sloma)

plot(fma,title="MA",color=lime,linewidth=2,style=line)

plot(sma,title="SMA",color=red,linewidth=2,style=line)


//Strategy

golong =  crossover(fma,sma) and (macdl > macdsl or macdf == false )

goshort =   crossunder(fma,sma) and (macdl < macdsl or macdf == false )


strategy.entry("Buy",strategy.long,when = golong)

strategy.entry("Sell",strategy.short,when = goshort)


 

Thanks


Bewerbungen

1
Entwickler 1
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(15)
Projekte
24
21%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
7
29%
Frei
3
Entwickler 3
Bewertung
(219)
Projekte
370
42%
Schlichtung
145
17% / 41%
Frist nicht eingehalten
124
34%
Frei
4
Entwickler 4
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(49)
Projekte
134
27%
Schlichtung
62
13% / 53%
Frist nicht eingehalten
58
43%
Frei
Ähnliche Aufträge
Martingle EA 30+ USD
Create martingle grid EA with my own logic. Add Moving Avarage Filter. 2 engine with same logic. Sl TP by $ amount. Profit loss Dashboard Virtual all trade close Button
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. When sending
I need a graphic designer that is good at voice overs and object animation. I have a dialogue project that I intend it to deliver a certain message for marketing purposes. The project is to be done by cartoons and they should be much humanized in terms of graphics. The project has to be in the form of video that lasts up to 3 minutes longest and not less than 2 minutes. Creativity is the most important requirement
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
RSI trading bot 50 - 80 USD
Good morning, I'm looking to have an RSI based trading bot developed, which focuses on having many options for closing trades in order to diversify my trading opportunities, and to be good for experimentation in backtesting. Here are the features I'd like: -Being able to have as many of the following options activated as I want, to try all combinations of them -To work on all timeframes, though I will be focusing on
Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one

Projektdetails

Budget
150+ USD
Für die Entwickler
135 USD
Ausführungsfristen
von 1 bis 5 Tag(e)