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

MQL4 インディケータ 変換

仕事が完了した

実行時間53 分
依頼者からのフィードバック
Did what I asked for
開発者からのフィードバック
Many thanks!

指定

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

応答済み

1
開発者 1
評価
(646)
プロジェクト
1294
67%
仲裁
84
26% / 49%
期限切れ
338
26%
2
開発者 2
評価
(88)
プロジェクト
143
39%
仲裁
21
19% / 48%
期限切れ
30
21%
3
開発者 3
評価
(555)
プロジェクト
922
48%
仲裁
300
59% / 25%
期限切れ
123
13%
仕事中
4
開発者 4
評価
(586)
プロジェクト
1045
49%
仲裁
39
28% / 41%
期限切れ
49
5%
5
開発者 5
評価
(82)
プロジェクト
86
57%
仲裁
25
0% / 84%
期限切れ
19
22%
類似した注文
Create an EA zigzag 40 - 80 USD
Zigzag EA sends notify on MT4 mobile app indicator have 2 Conditions all are explained in the pictures accurately and clearly https://drive.google.com/file/d/10Y6SrvC2A7RTT_baAJ7vOKytTDaUvRRQ/view?usp=sharing Warning: Do not send me a notification if your offer is higher than $ 100 because I did the project twice for less than $60 And I want to do the project now because there are mistakes on my part that I want to
Hello developers, Thanks in advance for checking my order. I have been creating and trying to mastering this strategies for a long time and finally it's time to automate it. I’m not sure if everything I imagined can be done. I tried my best to explain whats needed for the ea and how it should performance but due my lack of knowledge in programming probably you will have some questions soo feel free to ask.. Only
I need a trading indicator that will give 1 minute and 5 minute accurate signals for only EURUSD pair. the indicator is to be used for Binary options so it has to perform exceptionally
the idea of the bot is to trade based on trend. we are going to use 5 different sma( smoothed moving average). they are sma7,sma20, sma50, sma100 and sma200. the bot will look for only buy trades when all the smas are facing up. the bot will look for only sell trades when all the smas are facing down. when we are in a up trend, the bot will look to enter trades on bullish candles that create fvg. if there is an fvg
Hello there, all i need is to make an RSI indicator to give alerts when it reaches a certain levels, Level 99.9,98, 4 and 0.1. Kindly bid to this post now if this what you can complete
I need Spike DETECTOR EA for Boom and Crash.. which will send me notification or alerts when spike is near. The EA should also be able be buy on crash Index and sell on Boom Index depending on the market..Demo may be provided for faster execution of my order
Hello , I want Machine Learning: Lorentzian Classification (TradingView) indicator to MQL5 indicator.Which is machine learning indicator . Same To Same. And same inputs in it. I want it As soon As possible
ODSMART EA 30 USD
I want an EA developed from this strategy that will buy and sell based on the appearance of these colours. Blue-buy (Enter when the signal indicator is at zero on the blue background) Red -sell( Enter when the signal indicator is at 100) White and brown, exit trade
Crpyto Indicators 75 - 100 USD
2 Indicators: One for BTC/USD and one for ETH/USD Create indicators which plot the MVRV of Bitcoin and Ethereum as a line, standardized by a Z Score Essentially Zscore = ( MC - MCRealized ) / STD ( MC(number of bars ) Indicators should work on the daily timeframe at a minimum, and smaller ones if possible. Indicators should be able to work with future data as well, meaning it can download what's necessary to then
Hi there Here is a video of the logic: its based on market structure and swings using validated highs and lows based on candle closure. Just in case you would like to take a look at the code/indicator here is the link: https://youtu.be/igj0OaQoM7o?si=7nigL8OU2Nt1Zxkx Let me know if you can help

プロジェクト情報

予算
40 - 85 USD
VAT(付加価値税) (24%): 9.6 - 20.4 USD
合計: 49.6 - 105.4 USD
開発者用
36 - 76.5 USD
締め切り
最低 1 最高 2 日