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!")
Pedidos semelhantes
I am looking for an experienced MQL5 developer to create a custom indicator for MetaTrader 5. The project requirements and indicator logic will be shared privately with the selected candidate to protect the concept and implementation details. Requirements: Strong experience with MQL5 indicator development. Ability to create clean, efficient, and well-structured code. Experience with custom buffers, chart objects
Hello, I am looking to develop a commercial-grade Expert Advisor for MT5 specifically optimized for XAUUSD (Gold). The underlying logic should be an intelligent, trend-filtered cost-averaging grid system focused on capital preservation. The EA must include the following functional architecture: 1. Core Strategy Structure: - Must feature a multi-strategy logic entry module. I want to use a combination of 3-4 standard
Generate a signal and place 2 arrows on the chart when these conditions happen. Rules: Levels up:price is below the Kijunsen and Senku A value is less than Senku B value Kijun sen close = previous kijun sen close; Kijun sen close value is LESS than Senku B close value Senkou B close = previous senku B close. Levels down: price is above Kijunsen. Senku A value is above Senku B value
i need the EA same working on trading view chart with same specifications of enter in a trade and sl/tp open 2 trades and 1 trade set tp1 & second trade set to tp 3 but sl should move to breakeven when tp1 hit and go to tp2 sl on tp1
preciso de um programa paracido com o CAP channel com botao de refresh e opcaos de alterar o periodo. utilizava um muito bom, mas o vendedor acredito ter sido excluido da comunidade, sumiu. e o que tinha parou de funcionar
Требуется напи сать пользовательский форекс-индикатор на основе стандартного индикатора ZigZag для торговой платформы МТ5 с фильтрацией колен (граней) по их минимальной длине. Пояснение: используя стандартный индикатор ZigZag для МТ5, добавить в его настройки функцию\опцию задания минимальной длины граней зигзага (чтобы индикатор игнорировал мелкие грани, а рисовал \ отмечал только те грани, длина которых составляет
ZigZag based on oscillators is needed The idea of the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
EA specification for MT5 developer (coder‑ready spec) You can copy‑paste this directly into an MQL5 Freelance job. --- 1. General * Platform: MetaTrader 5 (MT5) * Type: Expert Advisor (EA) * Markets: Major FX pairs (configurable list via inputs) * Execution: Market orders only * Timeframes: EA must work on any timeframe, but I will mainly use it on M15–H1 --- 2. Indicators & definitions * EMA 20: Exponential Moving
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
Hey I need help with the development of my ea. I am using a built in indicator and a custom indicator. It shouldn't take too long. I will tell you the conditions and then I just need some help with the coding but I have some experience. Thanks we can chat on whatsap or telegram