Translate a Pine Script into a MQL4/5 Indicator

MQL5 지표

작업 종료됨

실행 시간 2 시간
피고용인의 피드백
Highly valued client , would definitely like to work with him again anytime 5*
고객의 피드백
I couldn't be happier with the job! He delivered ahead of estimated time, in the exact way it was requested. I will surely come back when I need something fast and in fair price.

명시

I want to translate the Pine Script below into a MQL4/5 Indicator.

The challenge is to create EMA lines for the Heikin Ashi Close prices, not the actual Close price. So a custom MA() function needs to be created. 

The programmer needs to be familiar with TradingView Pine Script programming for the comparison later with the two drawn lines in both platforms that must be exactly the same. 

Pine Script to be translated into a MQL Indicator: 

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

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

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

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

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")



//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])



//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) 

goshort =   crossunder(fma,sma)



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

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


응답함

1
개발자 1
등급
(590)
프로젝트
789
71%
중재
9
33% / 33%
기한 초과
22
3%
무료
2
개발자 2
등급
(24)
프로젝트
27
33%
중재
2
100% / 0%
기한 초과
1
4%
무료
3
개발자 3
등급
(236)
프로젝트
440
26%
중재
125
21% / 57%
기한 초과
96
22%
작업중
4
개발자 4
등급
(163)
프로젝트
193
48%
중재
2
50% / 50%
기한 초과
1
1%
무료
5
개발자 5
등급
(45)
프로젝트
59
42%
중재
5
0% / 60%
기한 초과
12
20%
무료
6
개발자 6
등급
(586)
프로젝트
1048
49%
중재
39
28% / 41%
기한 초과
49
5%
무료
7
개발자 7
등급
(336)
프로젝트
621
38%
중재
39
23% / 64%
기한 초과
93
15%
무료
8
개발자 8
등급
(195)
프로젝트
395
28%
중재
155
20% / 52%
기한 초과
112
28%
무료
9
개발자 9
등급
(35)
프로젝트
73
51%
중재
12
33% / 33%
기한 초과
14
19%
무료
비슷한 주문
Hello, I have a protected Ninja trader Order Flow indicator and I was wondering if you can reverse engineer it to replicate the functionality. H ere are the specifications and indicator: https://docs.google.com/document/d/1KyYwQ7iTL2KWGhnZzxS1gObccu9LPMrGuMc9Mdk_3KY/edit?usp=sharing
I have an EA that need some changes including integrating the indicator code directly into the Expert Advisor. I will give the detailed doc once we settle on the candidate for the job . Please bid if you can work with the stated amount. Thanks
Hello, Need to convert Tradingview Indicator to MQL4 indicator. or if you have this one converted already, let me buy a copy please. If we're good, then will definitely buy it and ask to convert into EA on new order. Supertrend by KivancOzbilgic
Fix bug or modify an existing Trading view indicator to display correct. The indicator is working but not displaying/plotting all the information i want. So i want it adjusted to plot all the info
Here's a brief requirement you can use: **Description:** I am seeking an experienced MQL5 developer to create a (EA). The EA should include features for placing pending orders (Buy Stop and Sell Stop) based on market spread, managing trades effectively at the opening of new candlesticks, and implementing take profit and stop loss strategies. Additionally, I would like the option to adjust parameters based on market
I have an EA which i need to do below modifications. Variable Inputs to be added Order Type : Market , Pending Trade Type : Buy, Sell , Buy & Sell Pending Pips Step : ( Pips Value can be negative or positive to decide on what type of Pending Order ) // If trade type Buy is selected Close Type : Close All ( Bulk Close Option in MT5 ) , Close Individually Close Option : %of Equity , %of Balance , Amount $ , %of No
Add multiplier to grid recovery system. For example: Grid Trade 2-3 Spacing; 1.0 Multiplier Grid Trade 4-6 Spacing; 2.0 Multiplier Grid Trade 7+ Spacing; 1.6 Multiplier Need quick turn around. Need it done ASAP
Objects reader PIN 70 - 100 USD
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
I want an indicator and its source code that returns the value of: - two moving averages in different selectable timeframes, with method Exponential and price calculation price_open; - Opening, closing, maximum and minimum of the candle in different timeframes And that returns the values ​​regardless in a chart of one minute. The input parameters: * select timeframe media1 = {1,2,3,4,5,...} * select timeframe media2
Hello, I want offline Renko chart based on pips and time. Trading View Renko chart is a perfect example of what I require, it prints renko bricks at close of time frame chosen which is more cleaner. The Trading View Renko chart wait until end of desired timeframe candle to close before final renko bricks are drawn. Best is to look at Trading View renko charts to see exactly how this works. I currently have an

프로젝트 정보

예산
30+ USD
개발자에게
27 USD
기한
 10 일