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)
项目
1044
49%
仲裁
39
28% / 41%
逾期
49
5%
工作中
5
开发者 5
等级
(82)
项目
86
57%
仲裁
25
0% / 84%
逾期
19
22%
空闲
相似订单
I have the source code attached which is my attempt at merging / converting: Into MQL5 code, but instead of being an indicator I just need it to return the same values as the indicator. What I need help with: I need the values in the comments to return similar to the demo indicator below - currently it is showing values near the price, but would instead expect - values from -80 to 80 like the indicator How to test: -
Hello, I have a TMA dashboard and want to modify it. The dashboard tracks if price is above or below the TMA bands, and creates a signal based on the daily or weekly open. Changes: Replace 2 columns that track the daily and weekly open (with arrows) to track the previous Heiken Ashi candle instead(Up arrow for previous bullish candle, Down arrow for previous bearish candle. Correct the Dashboard signals since we are
EA is based on Zig Zag indicator and candlestick patterns and is not catching all valid trades due to Zig Zag limitations, lagging last leg or repainting I guess. Before I will select you please present me a solution for this issue. I am so sorry, but I haven't got time for an amateur programmers. I am searching a programmer for a longer co-operation
I'm looking for an experienced developer to make some modifications to my MT4 Currency Strength Table indicator. Key Requirements: - I would like to have the add on feature of delta or the difference of the strength of currencies displayed in the new table and showing as B or S of only the currency pair when the delta or difference arises. the delta will change values as the difference of strength of compared
I'm looking for an experienced developer to make some modifications to my MT4 Currency Strength Table indicator. Key Requirements: - I would like to have the add on feature of delta or the difference of the strength of currencies displayed in the new table and showing as B or S of only the currency pair when the delta or difference arises. the delta will change values as the difference of strength of compared
Hello! I want to create an exact replica of a momentum indicator (MQL4) that also uses Bollinger bands. See pics attached. I do not have source code. I generally take entry when mom candle exits BB. I will appreciate a push alert when this happens on candle close. Keep it simple, keep it accurate. Inputs I generally use are attached. I don't show the EMA lines on the indicator. To the developer that will support me
Hello there and how have you been !!I I need a developer who is ready to take up a project ..I would like to convert Ninjatrader indicator to Tradingview all the details about the project will be sent directly to you via the inbox…
Looking for a developer to create an MT4 indicator and an EA / Robot. Indicator-based strategy consisting of several moving averages, PSAR Indicator and Pinescript indicator called Coral Trend Indicator by LazyBear (pinescript source code will be provided and will need converting to MT4 code - 34 lines of code). Strategy to be an intra-day trading period on 5-minute timeframe for the European session but “Trading”
Modify EA 30+ USD
please make it work so the EA places the Trade once the indicators are on the same direction. say No3 SELL signal is showing but the trend is BUY, so once the trend changes to SELL then EA places the trade. like wise with MACD ZZ Level - Enable / Disable zTrend - Enable / Disable MACD - Enable / Disable also a Smart TP/SL (Enable/Disable) feature = for ones when the trend changes, then EA uses this indicator signal
Hi, I need a progrmmer who can build an EA based on Currency strength indicator brought from MQL5 website, some body already build an alert indicator based on that indicator, now i want to build an EA based on that alerts. Details of EA will be provided in specifications. If interested then reply me back asap. thanks

项目信息

预算
40 - 85 USD
VAT (24%): 9.6 - 20.4 USD
总计: 49.6 - 105.4 USD
开发人员
36 - 76.5 USD
截止日期
 1  2 天