Convert Pine to MT5 Expert Advisor

MQL5 Uzman Danışmanlar

İş Gereklilikleri

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


Yanıtlandı

1
Geliştirici 1
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(15)
Projeler
24
21%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
7
29%
Serbest
3
Geliştirici 3
Derecelendirme
(219)
Projeler
370
42%
Arabuluculuk
145
17% / 41%
Süresi dolmuş
124
34%
Serbest
4
Geliştirici 4
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(49)
Projeler
134
27%
Arabuluculuk
62
13% / 53%
Süresi dolmuş
58
43%
Serbest
Benzer siparişler
1. Overview The bot is designed to execute a dual grid trading strategy with both buy and sell orders placed at predefined grid intervals. It is non-directional , meaning it does not follow any signals or trends. The bot operates continuously, opening new orders as soon as a TAKEPROFIT or STOPLOSS is triggered. It is optimized for synthetic indices but can be adapted to other assets. 2. Core Features Dual Grid
Hello All 4 EA have 100% same setting just indicators are different I need 4 EA with 4 different different indicators, in the pictures I mention 3 EA but there are 4 But make sure all setting all data built in EA and able to modify indicator setting directly from EA no need to attach indicator EA must show Arrow TP SL etc.... which indicator show on chart EA's Panel work perfectly and auto calculate all previous TP
I’m in need of a professional developer to review and test my MQL5 file. It’s essential to ensure that the code is optimized, error-free, and functioning as intended for trading purposes. A qualified developer can thoroughly analyze the file, identifying any issues or inefficiencies and suggesting improvements. They can also run comprehensive tests to validate performance under various scenarios. This support is
I need a forex Robot that will trade based on the order block and candle stick pattern, the robot should scalp and swing. It should open trades on Order block and continue to open more trades as per candle stick in order of time frames. The robot should buy and sell. If the Market is buying the robot should open buy trades only, if the Market is selling, sells only and each trades open if the last candle stick was
Hi! Do you have a highly profitable Expert Advisor (EA) forex trading robot that’s compatible with both MT4 and MT5? If so, I’d love to see any supporting details about the EA’s performance. This includes backtesting results—either screenshots or videos—as well as a demo version to test the algorithm’s accuracy so as to make a purchase. Additionally, a brief explanation of the trading strategy used to develop the EA
Hi Everyone, I am looking to hire a developer to create an Expert Advisor (EA) for MetaTrader 5, utilizing two custom indicators: HalfTrend and Squeeze Momentum . The EA should be designed based on specific trading conditions which I will detail below, and it should also include comprehensive optimization and backtesting. Project Details: Indicators to be Used: HalfTrend Indicator : Should generate buy/sell
I have a complex indicator which is made by another coder before , but if i open a chart and run the indicator, then after some times i open new chart the same as before and run indicator on new chart again, the the recent signals on new chart is diffrent from the chart which was opened before!!! if anyone can solve it message me
Hi, Thanks for looking at the requirement. This job is like adding few rules and CSV export to signals generated in an indicator. please look at the specs and let me know if u have any queries. Thanks :) 1. Filters Candles Based on Open: True/False Buy candles arrows should have the open above the EMA Sell Candles arrows should have the open below the EMA 2. Limit Placement Criteria: True/False When an
I am looking for a very simple MQL5 function or EA to read the last message from a Discord channel. Ideally using base MQL5 code, and using websockets not webrequest ... it could be as simple as setting this EA but for Discord
The robot needs to notify me of the right time to buy or sell. It needs to indicate the signals of a profit or loss I will pay the amount that is needed to help me. I need help to understand how to trade better from your advice

Proje bilgisi

Bütçe
150+ USD
Geliştirici için
135 USD
Son teslim tarihi
from 1 to 5 gün