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

MQL4 Indicadores Conversão

Trabalho concluído

Tempo de execução 53 minutos
Comentário do cliente
Did what I asked for
Comentário do desenvolvedor
Many thanks!

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(646)
Projetos
1294
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
2
Desenvolvedor 2
Classificação
(88)
Projetos
143
39%
Arbitragem
21
19% / 48%
Expirado
30
21%
Livre
3
Desenvolvedor 3
Classificação
(555)
Projetos
922
48%
Arbitragem
300
59% / 25%
Expirado
123
13%
Trabalhando
4
Desenvolvedor 4
Classificação
(586)
Projetos
1045
49%
Arbitragem
39
28% / 41%
Expirado
49
5%
Livre
5
Desenvolvedor 5
Classificação
(82)
Projetos
86
57%
Arbitragem
25
0% / 84%
Expirado
19
22%
Livre
Pedidos semelhantes
"Seeking an adept developer to help realize my custom NT8 strategy. Your expertise is integral to achieving success in this project. Are you interested in teaming up for a productive collaboration? Let's discuss the details together. Thank you!"
NinjaTrader 8 indicator that plots open prices of higher time frame bars. Time frames to choose from in the properties: 15sec, 30sec, 1min, 5min, 15min, 30min, 1hr, 4hr, 1day, 1week, 1month, 1 year (or any time based periods if that would make the development easier). Ability to customize lines is needed (style, color, thickness, etc.). Also, ability to extend certain lines all the way to the right by clicking on
"Looking for a proficient developer to bring my custom NT8 strategy to life. Your expertise is pivotal for the project's success. Interested in joining forces for a fruitful collaboration? Let's delve into the specifics together. Appreciate it!"
"Seeking a skilled developer to code my custom NT8 strategy. Your expertise is crucial for this project's success. If interested, let's discuss further details and ensure a mutually beneficial collaboration. Thank you!"
I need to convert a trading view indicator to mt4. the code was copied from here: Find it here ABC Finder by Melodicfish tv search on goo gl. It is a ABC Pattern finding tool. You can adjust the "Bars Back" setting to include more or less bars in the pattern. I usually have it set to 10 or 15 these settings seem to work well on most assets. The scripts allows you to set up a trade box automatically and has a call out
Looking for a tradingview expert to quickly code a 8 lined description for me (alert based) Apply if you are a proven expert in tradingview and have time to deliver this project under 2_3 days. I'll provide the file to the expert
Hi, I need an Indicator for my EA based on the VWAP and Standard deviation bands. Best if you have it already ready / working. It can look like this: https://ninjatrader.com/futures/blogs/what-is-volume-weighted-average-price-vwap/ https://www.sr-analyst.com/page_studydetail.php?prod=TV0015 It would need to have 2 modes: 1- Anchored one (in between some given hours) - reseting each day. 2- Continous
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Firstly Indicator (1) or the first part \\ Draw a red line at the top of the zero candle _ M1 \\ Draw a blue line at the bottom of the zero _ M1 candle \\ Draw a red line at the top of the zero _ M2 candle \\ Draw a blue line at the bottom of the zero _ M2 candle \\ Draw a red line at the top of the zero candle _ M3 \\ Draw a blue line at the bottom of the zero _ M3 candle \\ Draw a red line at the top of the zero
Description of the work to be done: Two tradingview scripts (3rd Wave and Zigzag) from the creator Lonesometheblue will need to be converted to a single EA for mt4. This EA must consist of the indicator that implements these two tradingview and also be capable of placing the orders that the indicator alerts you to. Description of the indicator: The mt4 indicator must have the same configurable parameters as that of

Informações sobre o projeto

Orçamento
40 - 85 USD
IVA (24%): 9.6 - 20.4 USD
Total: 49.6 - 105.4 USD
Desenvolvedor
36 - 76.5 USD
Prazo
de 1 para 2 dias