Convert Pine to MT5 Expert Advisor

MQL5 Experts

Specification

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


Responded

1
Developer 1
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(15)
Projects
24
21%
Arbitration
1
0% / 100%
Overdue
7
29%
Free
3
Developer 3
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
4
Developer 4
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Similar orders
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
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have

Project information

Budget
150+ USD
For the developer
135 USD
Deadline
from 1 to 5 day(s)