Convert custom pinescript indicator to MT4

MQL4 Indicators Converting

Job finished

Execution time 7 days

Specification

Dears Developer,

I am looking for an expert coder to complete a small pinescript  to mt4:


Here is the code.

if you can convert it today within a few hours please let me know.


//@version=4

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/

// © RedKTrader


study("Comp_Ratio_MA", shorttitle = "CoRa Wave", overlay = true, resolution ="")


// ======================================================================    

// Compound Ratio Weight MA function

// Compound Ratio Weight is where the weight increases in a "logarithmicly linear" way (i.e., linear when plotted on a log chart) - similar to compound ratio

// the "step ratio" between weights is consistent - that's not the case with linear-weight moving average (WMA), or EMA 

// another advantage is we can significantly reduce the "tail weight" - which is "relatively" large in other MAs and contributes to lag

//

// Compound Weight ratio     r = (A/P)^1/t - 1

// Weight at time t         A = P(1 + r)^t 

//                            = Start_val * (1 + r) ^ index

// Note: index is 0 at the furthest point back -- num periods = length -1

//

f_adj_crwma(source, length, Start_Wt, r_multi) =>

    numerator = 0.0, denom = 0.0, c_weight = 0.0

    //Start_Wt = 1.0    // Start Wight is an input in this version - can also be set to a basic value here.

    End_Wt = length     // use length as initial End Weight to calculate base "r"

    r = pow((End_Wt / Start_Wt),(1 / (length - 1))) - 1

    base = 1 + r * r_multi

    for i = 0 to length -1

        c_weight    := Start_Wt * pow(base,(length - i))

        numerator   := numerator + source[i] * c_weight 

        denom       := denom + c_weight

    numerator / denom    

// ====================================================================== ==   


data        = input(title = "Source",                 type = input.source,      defval = hlc3)

length      = input(title = "length",                 type = input.integer,     defval = 20,  minval = 1)

r_multi     = input(title = "Comp Ratio Multiplier",  type = input.float,       defval = 2.0, minval = 0, step = .1)

smooth      = input(title = "Auto Smoothing",         type = input.bool,        defval = true,                    group = "Smoothing")

man_smooth  = input(title = "Manual Smoothing",       type = input.integer,     defval = 1, minval = 1, step = 1, group = "Smoothing")


s           = smooth ? max(round(sqrt(length)),1) : man_smooth

cora_raw    = f_adj_crwma(data, length, 0.01, r_multi)    

cora_wave   = wma(cora_raw, s)


c_up        = color.new(color.aqua, 0)

c_dn        = color.new(#FF9800   , 0)

cora_up     = cora_wave > cora_wave[1]

plot(cora_wave, title="Adjustible CoRa_Wave", color = cora_up ? c_up : c_dn, linewidth = 3)


Responded

1
Developer 1
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
2
Developer 2
Rating
(126)
Projects
160
36%
Arbitration
4
25% / 50%
Overdue
13
8%
Free
3
Developer 3
Rating
(94)
Projects
190
66%
Arbitration
8
25% / 50%
Overdue
2
1%
Free
4
Developer 4
Rating
(225)
Projects
255
62%
Arbitration
3
33% / 67%
Overdue
5
2%
Loaded
Similar orders
I need an experienced developer who can turn my simply strategy to an EA on MT5 and MT4, will be using two EMAs and MACD and a risk management setting, please message me on time so we start work on it, waiting for you
Dear expert developer I have been trading futures and mainly indices for about 5 years and would now like to automate my trading strategy with the help of an intelligently set up bot. My strategy, which would have to be implemented, is mainly based on the following indicators: CCI / RSI / MACD and Stochastic I analyze the market according to volume peaks, the daily highs and lows and the prominent points and look for
Tim: //+------------------------------------------------------------------+ //| ggjhjh.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property indicator_chart_window #property indicator_buffers 1
I need a developer that can turn my strategy to an EA, We will be using Fib, some indicators and a risk management settings, please message me on time so we start work on it, waiting for you
hello developers.i am currently looking for a simple line chart custom indicator,whenever the line char makes a horizontal line and the next bar closes bullish after the horizontal line an up arrow should draw and if we get a bearish bar a down arrow should draw...the indicator should also be able to send out all types of alerts.thank you
Hello I want to change my TREND indicator. The conditions for the alerts do not need to be changed, the indicator works very very well. I would like to add visible Stop and Tp level lines. Attached is the source code and text file. If you think you could do this job, let me know. Thanks in advance
i have an existing EA that takes trades when you reach a preset value of Demarker ( or RSI , or MACD, or combination of those 3) it buys at oversold zones it sells at overbought zones. I currently have an option to take more than one trade but it is not a typical martingale style. it just takes the same trade every certain distance that you set. i need someone to modify that and let EA make martingale trades with a
So looking to prevent multiple trades opening at the same time and fine a way to remove the draw down spikes that i see happening when optimising and converting it mt5 and what's your budget for this
I need an experienced developer to build the Cypher pattern scanner. Cypher pattern is a Harmonic pattern which consists of 5 legs (X-A-B-C-D), I will provide rules and conditions for the pattern and Scanner. Should be able to scan multi timeframes and multi patterns, create alert based on set conditions and should draw pattern on timeframe where pattern was discovered. Dashboard to display identified pattern based
Hello Developer, I am Darshan Galani. i want to Convert Tradingview Indicator to MQ4 & MQ5 file.i also want to source code that must be easy to understand. TradingView Indicator: LuxAlgo Trendlines with Breaks

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
to 1 day(s)