Pine script v2 to MQ4L Pivot point calculation with entry,exit,close, profits in ticks

MQL4 Indicadores Conversión

Trabajo finalizado

Plazo de ejecución 53 minutos
Comentario del Cliente
Did what I asked for
Comentario del Ejecutor
Many thanks!

Tarea técnica

Hey,

I would like to convert my old Forex script in pine v2 to MQ4L so i can test this strategy in strategy tester in MT4 and maybe later try automated trading. Correct me if the desired file format mq4 is not fit for this.

Code includes (D,W) Pivot point calculations in multiple periods, entry/exit/profit conditions, plotting some of the pivot points, highlighting some of the plotting points, alerts (if MQL4 allows them in same file).

I would like it to written as "simple" as possible (similar to pine/dummy style, because i'm a tester not a programmer) and such as mentioned above should be easily changed;

periods of PP's, entry, exits and alerts and so on. Should include graphical panel for these and entry/exit arrows too.

It is watched mostly in 1H charts but should work 15m, 30m and 2h charts too.

Overall lenght is under ~200 lines, some of the lines are unusable and unnecessary etc.

Here's some code of the out of contex:


WmHigh  = security(tickerid,"W", high[1])

WmHigh  = security(tickerid,"W", high[0]) ..-> these [0] period pivot would move due to price action as horizontal line

WsHigh  = security(tickerid,"W", high[2])

price_60_close = security(tickerid,"60", close)

long_formation_M = MxvPP > MPP and MPP > MvPP

long_entry = price_60 < PP and price_60 >= vPP

stoploss_short = input(1200, title='Stop Loss in Ticks', type=integer)

plot(cvPP, color=#FFEB3B, title="cvPP", style = line, linewidth = width3)

color_action = iff(long_form_sum and long_entry, #00E676, iff(short_form_sum and short_entry, #FF5252, iff(long_form_sum, #FFEB3B, iff(short_form_sum, #DC22F5, na))))

plot(PP, color=color_action, title="PP", style = line, linewidth = width1)

if long_form and long_form_M
    
    strategy.entry("BUY", strategy.long, 10000.0, when = long_entry)

short_alert = short_form and short_form_M and short_entry
alertcondition(short_alert, "SHORT!","SHORT!") 

Han respondido

1
Desarrollador 1
Evaluación
(647)
Proyectos
1295
67%
Arbitraje
84
26% / 49%
Caducado
338
26%
Libre
2
Desarrollador 2
Evaluación
(88)
Proyectos
143
39%
Arbitraje
21
19% / 48%
Caducado
30
21%
Libre
3
Desarrollador 3
Evaluación
(564)
Proyectos
933
47%
Arbitraje
302
59% / 25%
Caducado
125
13%
Trabajando
4
Desarrollador 4
Evaluación
(586)
Proyectos
1048
49%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
5
Desarrollador 5
Evaluación
(82)
Proyectos
86
57%
Arbitraje
25
0% / 84%
Caducado
19
22%
Libre
Solicitudes similares
Hello! I am looking for an experienced Pine Script coder to create a custom indicator for mapping market structure based on fractals. The developer must be skilled in Pine Script and have a solid understanding of how to code market structure indicators. Looking forward to working with a talented developer
Hello developers, I would like to hire someone can convert the Radar Signal indicator: https://www.youtube.com/watch?v=5DmKcy7rb-U&nbsp ; to it's TradingView equivalent. Radar signal indicator is the combination of 7 classic MT4 indicators. They include ADX, RSI , CCI , OsMA, ATR, WPR. The indicator shows the values of these indicators in blue and red. Red color indicates a bearish market condition and the blue shows
Hi , i want a indicator that shows the trades history on the chart, just for current day, like : first trade : -54 Second trade : -52 Third trade : +126 , and after three trades, display "No more trades"
Hello i need someone who can convert a trading view indicator into an mt5 indicator that can work smoothly also need to add an alert on the indicator i will require to test the indicator run it for 1-2days to confirm all is okay thank you
Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the open): Draw a Fibonacci Retracement: From the highest price to the lowest price of this candle. Check the
Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the open): Draw a Fibonacci Retracement: From the highest price to the lowest price of this candle. Check the
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
Hello, is it possible to be made accommodation of provided signal for Forex for mt4? I bought a signal for multiple pairs. it is executing all pair.I want to use it on couple of pairs.Is it possible to be made some modifications?I do not have codes for the signal
I have an MT4 indicator, I want to receive an alert on WhatsApp when the indicator gives a buy or sell signal, I already have an API that will send the message, just send the json with the content, I will pass the API link when I have the proposal: { "symbol": "xauusd", "cellphonenumber": "00000000", "message": "test" }

Información sobre el proyecto

Presupuesto
40 - 85 USD
IVA (24%): 9.6 - 20.4 USD
Total: 49.6 - 105.4 USD
Para el ejecutor
36 - 76.5 USD
Plazo límite de ejecución
de 1 a 2 día(s)