Работа завершена
Время выполнения 1 час
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Отзыв от исполнителя
Best Wishes...
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Отзыв от заказчика
Excellent job! well done and executed ...very fast and same day delivery...infact 1 hour delivery...even help with installation...will use you again...thank you
Техническое задание
Hello I need you to fix this indicators code to display the arrows according to the main indicator. I have atachhed the icustom code and the main indicaction in mql4 file.
The first indictor is StockRSI...I created the icustom code but its not working see the icustom code below:
//+------------------------------------------------------------------+ //| Indicator: Fixa.mq4 | //| Created with EABuilder.com | //| https://www.eabuilder.com | //+------------------------------------------------------------------+ #property copyright "Created with EABuilder.com" #property link "https://www.eabuilder.com" #property version "1.00" #property description "" #property tester_indicator "Stoch RSI" #include <stdlib.mqh> #include <stderror.mqh> //--- indicator settings #property indicator_chart_window #property indicator_buffers 2 #property indicator_type1 DRAW_ARROW #property indicator_width1 1 #property indicator_color1 0xFFAA00 #property indicator_label1 "Buy" #property indicator_type2 DRAW_ARROW #property indicator_width2 1 #property indicator_color2 0x0000FF #property indicator_label2 "Sell" //--- indicator buffers double Buffer1[]; double Buffer2[]; extern int InpStockKPeriod = 3; extern int InpStockDPeriod = 3; extern int InpRSIPeriod = 14; extern int InpStochastikPeriod = 14; double myPoint; //initialized in OnInit void myAlert(string type, string message) { if(type == "print") Print(message); else if(type == "error") { Print(type+" | Fixa @ "+Symbol()+","+IntegerToString(Period())+" | "+message); } else if(type == "order") { } else if(type == "modify") { } } //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { IndicatorBuffers(2); SetIndexBuffer(0, Buffer1); SetIndexEmptyValue(0, EMPTY_VALUE); SetIndexArrow(0, 241); SetIndexBuffer(1, Buffer2); SetIndexEmptyValue(1, EMPTY_VALUE); SetIndexArrow(1, 242); //initialize myPoint myPoint = Point(); if(Digits() == 5 || Digits() == 3) { myPoint *= 10; } return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int prev_calculated, const datetime& time[], const double& open[], const double& high[], const double& low[], const double& close[], const long& tick_volume[], const long& volume[], const int& spread[]) { int limit = rates_total - prev_calculated; //--- counting from 0 to rates_total ArraySetAsSeries(Buffer1, true); ArraySetAsSeries(Buffer2, true); //--- initial zero if(prev_calculated < 1) { ArrayInitialize(Buffer1, EMPTY_VALUE); ArrayInitialize(Buffer2, EMPTY_VALUE); } else limit++; //--- main loop for(int i = limit-1; i >= 0; i--) { if (i >= MathMin(5000-1, rates_total-1-50)) continue; //omit some old rates to prevent "Array out of range" or slow calculation //Indicator Buffer 1 if(iCustom(NULL, PERIOD_CURRENT, "Stoch RSI", InpStockKPeriod, InpStockDPeriod, InpRSIPeriod, InpStochastikPeriod, PRICE_CLOSE, 0, i) > iCustom(NULL, PERIOD_CURRENT, "Stoch RSI", InpStockKPeriod, InpStockDPeriod, InpRSIPeriod, InpStochastikPeriod, PRICE_CLOSE, 1, i) //Stoch RSI > Stoch RSI ) { Buffer1[i] = Low[i]; //Set indicator value at Candlestick Low } else { Buffer1[i] = EMPTY_VALUE; } //Indicator Buffer 2 if(iCustom(NULL, PERIOD_CURRENT, "Stoch RSI", InpStockKPeriod, InpStockDPeriod, InpRSIPeriod, InpStochastikPeriod, PRICE_CLOSE, 0, i) < iCustom(NULL, PERIOD_CURRENT, "Stoch RSI", InpStockKPeriod, InpStockDPeriod, InpRSIPeriod, InpStochastikPeriod, PRICE_CLOSE, 1, i) //Stoch RSI < Stoch RSI ) { Buffer2[i] = High[i]; //Set indicator value at Candlestick High } else { Buffer2[i] = EMPTY_VALUE; } } return(rates_total); } //+------------------------------------------------------------------+
The second iindictor is fractal-adaptive-moving-average...I created the icustom code but its not working see the icustom code below:
//+------------------------------------------------------------------+ //| Indicator: Fixa2.mq4 | //| Created with EABuilder.com | //| https://www.eabuilder.com | //+------------------------------------------------------------------+ #property copyright "Created with EABuilder.com" #property link "https://www.eabuilder.com" #property version "1.00" #property description "" #property tester_indicator "fractal-adaptive-moving-average" #include <stdlib.mqh> #include <stderror.mqh> //--- indicator settings #property indicator_chart_window #property indicator_buffers 2 #property indicator_type1 DRAW_ARROW #property indicator_width1 1 #property indicator_color1 0xFFAA00 #property indicator_label1 "Buy" #property indicator_type2 DRAW_ARROW #property indicator_width2 1 #property indicator_color2 0x0000FF #property indicator_label2 "Sell" //--- indicator buffers double Buffer1[]; double Buffer2[]; extern int RPeriod = 16; extern double multiplier = 4.6; extern double signal_multiplier = 2.5; double myPoint; //initialized in OnInit void myAlert(string type, string message) { if(type == "print") Print(message); else if(type == "error") { Print(type+" | Fixa @ "+Symbol()+","+IntegerToString(Period())+" | "+message); } else if(type == "order") { } else if(type == "modify") { } } //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { IndicatorBuffers(2); SetIndexBuffer(0, Buffer1); SetIndexEmptyValue(0, EMPTY_VALUE); SetIndexArrow(0, 241); SetIndexBuffer(1, Buffer2); SetIndexEmptyValue(1, EMPTY_VALUE); SetIndexArrow(1, 242); //initialize myPoint myPoint = Point(); if(Digits() == 5 || Digits() == 3) { myPoint *= 10; } return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int prev_calculated, const datetime& time[], const double& open[], const double& high[], const double& low[], const double& close[], const long& tick_volume[], const long& volume[], const int& spread[]) { int limit = rates_total - prev_calculated; //--- counting from 0 to rates_total ArraySetAsSeries(Buffer1, true); ArraySetAsSeries(Buffer2, true); //--- initial zero if(prev_calculated < 1) { ArrayInitialize(Buffer1, EMPTY_VALUE); ArrayInitialize(Buffer2, EMPTY_VALUE); } else limit++; //--- main loop for(int i = limit-1; i >= 0; i--) { if (i >= MathMin(5000-1, rates_total-1-50)) continue; //omit some old rates to prevent "Array out of range" or slow calculation //Indicator Buffer 1 if(iCustom(NULL, PERIOD_CURRENT, "fractal-adaptive-moving-average", RPeriod, multiplier, signal_multiplier, 0, i) > iCustom(NULL, PERIOD_CURRENT, "fractal-adaptive-moving-average", RPeriod, multiplier, signal_multiplier, 1, i) //fractal-adaptive-moving-average > fractal-adaptive-moving-average ) { Buffer1[i] = Low[i]; //Set indicator value at Candlestick Low } else { Buffer1[i] = EMPTY_VALUE; } //Indicator Buffer 2 if(iCustom(NULL, PERIOD_CURRENT, "fractal-adaptive-moving-average", RPeriod, multiplier, signal_multiplier, 0, i) < iCustom(NULL, PERIOD_CURRENT, "fractal-adaptive-moving-average", RPeriod, multiplier, signal_multiplier, 1, i) //fractal-adaptive-moving-average < fractal-adaptive-moving-average ) { Buffer2[i] = High[i]; //Set indicator value at Candlestick High } else { Buffer2[i] = EMPTY_VALUE; } } return(rates_total); } //+------------------------------------------------------------------+
The last indictor is Fractal_Bands...I created the icustom code but its not working see the icustom code below:
//+------------------------------------------------------------------+ //| Indicator: Fixa.mq4 | //| Created with EABuilder.com | //| https://www.eabuilder.com | //+------------------------------------------------------------------+ #property copyright "Created with EABuilder.com" #property link "https://www.eabuilder.com" #property version "1.00" #property description "" #property tester_indicator "fractal-bands" #include <stdlib.mqh> #include <stderror.mqh> //--- indicator settings #property indicator_separate_window #property indicator_buffers 2 #property indicator_type1 DRAW_ARROW #property indicator_width1 1 #property indicator_color1 0xFFAA00 #property indicator_label1 "Buy" #property indicator_type2 DRAW_ARROW #property indicator_width2 1 #property indicator_color2 0x0000FF #property indicator_label2 "Sell" //--- indicator buffers double Buffer1[]; double Buffer2[]; extern int e_period = 30; extern int normal_speed = 30; extern double alpha = 2.0; double myPoint; //initialized in OnInit void myAlert(string type, string message) { if(type == "print") Print(message); else if(type == "error") { Print(type+" | Fixa @ "+Symbol()+","+IntegerToString(Period())+" | "+message); } else if(type == "order") { } else if(type == "modify") { } } //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { IndicatorBuffers(2); SetIndexBuffer(0, Buffer1); SetIndexEmptyValue(0, EMPTY_VALUE); SetIndexArrow(0, 241); SetIndexBuffer(1, Buffer2); SetIndexEmptyValue(1, EMPTY_VALUE); SetIndexArrow(1, 242); //initialize myPoint myPoint = Point(); if(Digits() == 5 || Digits() == 3) { myPoint *= 10; } return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int prev_calculated, const datetime& time[], const double& open[], const double& high[], const double& low[], const double& close[], const long& tick_volume[], const long& volume[], const int& spread[]) { int limit = rates_total - prev_calculated; //--- counting from 0 to rates_total ArraySetAsSeries(Buffer1, true); ArraySetAsSeries(Buffer2, true); //--- initial zero if(prev_calculated < 1) { ArrayInitialize(Buffer1, EMPTY_VALUE); ArrayInitialize(Buffer2, EMPTY_VALUE); } else limit++; //--- main loop for(int i = limit-1; i >= 0; i--) { if (i >= MathMin(5000-1, rates_total-1-50)) continue; //omit some old rates to prevent "Array out of range" or slow calculation //Indicator Buffer 1 if(Close[i] > iCustom(NULL, PERIOD_CURRENT, "fractal-bands", e_period, normal_speed, alpha, 0, PRICE_CLOSE, 0, i) //Candlestick Close > fractal-bands ) { Buffer1[i] = Low[i]; //Set indicator value at Candlestick Low } else { Buffer1[i] = EMPTY_VALUE; } //Indicator Buffer 2 if(Close[i] < iCustom(NULL, PERIOD_CURRENT, "fractal-bands", e_period, normal_speed, alpha, 0, PRICE_CLOSE, 0, i) //Candlestick Close < fractal-bands ) { Buffer2[i] = High[i]; //Set indicator value at Candlestick High } else { Buffer2[i] = EMPTY_VALUE; } } return(rates_total); } //+------------------------------------------------------------------+
see below all indicators mql4 files.
Please let me know if this something you can do. you can even go ahead do it, send me screen short or ex4 file to check. if everything is okay, then we can conclude fast.
Откликнулись
1
Оценка
Проекты
401
31%
Арбитраж
63
19%
/
68%
Просрочено
51
13%
Загружен
2
Оценка
Проекты
561
33%
Арбитраж
24
67%
/
8%
Просрочено
16
3%
Свободен
3
Оценка
Проекты
29
45%
Арбитраж
0
Просрочено
1
3%
Свободен
4
Оценка
Проекты
97
24%
Арбитраж
11
18%
/
18%
Просрочено
12
12%
Работает
5
Оценка
Проекты
143
34%
Арбитраж
10
10%
/
60%
Просрочено
26
18%
Свободен
6
Оценка
Проекты
81
11%
Арбитраж
12
67%
/
25%
Просрочено
5
6%
Свободен
7
Оценка
Проекты
46
28%
Арбитраж
9
0%
/
100%
Просрочено
7
15%
Свободен
Похожие заказы
Need Hedging Grid EA for MT5
40 - 50 USD
need hedging grid EA for MT5 with these properties: continues to open a buy and a sell trade simultaneously at the same price after a specific points move. (the points should be set in input) Hits TP for each trade after specific price (should be set in input) If a buy trade hits its TP and is closed, it should open a buy trade again at the same price where the closed buy trade was opened, whereas the sell trade
Kagi Chart on MT4
50 - 100 USD
Hello, I need a developer who can develop new indicator for mt4 in order to have Kagi Chart on Meta Trader 4. I found this indicator from current web site but it can not load history as well. Please some body help me. If you can develop it for motivewave platform so let me know. Thanks
To replicate current EA inputs plus add code for customisable pipstep the deeper martingale executes
50+ USD
I wish to add a customisable varying pipstep as martingale takes deeper trades in. I have a current EA that I am happy with , apart from that is has a pipstep rate that you can only control them all with. I’m finding if I put it to 300 it is much safer and of course spreads out the open martingale trades better for market trend runaways, but I am missing the fast $1 TP scalping turnarounds (normally 120 pipstep)
Create a EA based on CandleStick Strategy
50 - 100 USD
I want to create an EA where we have impulse Candle with big body close and the next candle is a red candle. I want to take a buy order when there is a break of the high of the candle for long with 1:1.5 RR and the Stoploss is setup below the low. Please see the screenshots attached for long and short trades and let me know how you will implement it. I will need to have inputs for Risk% or static lots, RR changes
SCANNER BREAKOUT SNR MULTI TIMEFRAME
30 - 100 USD
I want to create an EA MT5 that can 1. identify support and resistance (based on close candles) 2. mark snr breakout 3. multitimeframe breakout scanner 4. scan the valid setup that appears 5. available for manual marking, INFO SPREAD & TIME NEXT BAR 6. sends alert notification to Telegram I need a professional and experienced developer with fast and good work according to what I want. if you are interested I will
EA Requirements No Risk Strategies like Martingale or Grid Must have nice entries and Exits Leverage 1:50 Profit 10% ( shown on inputs) Maxim Drawdown ( shown on inputs) Max Daily Loss 4% ( shown on inputs) All trades with Stop loss No trades During and After High Impact News( News Filter) No weekend Trades Profitable Back test for 1 year Trades Forex Mainly Gold EA Needs to have proven Results of Passing challenges
Hello, I have 2 expert advisors. One written in MQL5 and the other is the same EA written in MQL4. I need someone to modify both to pass MQL5.com market validation by adding functions like CheckVolume, CheckEnoughMoney, CheckBeforeOrder, CheckBeforeModifyOrder, CheckBeforeModifyPositions. Please add the above functions to it, so it can pass MQL5.com validation. Also give me 3 copies of the compiled EA to check, so it
Trading Idea
30 USD
This is the most important section of Requirements Specification. It provides the description of conditions, market states and indicator values, under which a Buy deal should be performed. To describe each condition required for generating a Buy signal, choose the numeric parameter affecting the emergence of a signal. For example, this may be the smoothing type and period for a Moving Average. These important
Update/create a scalping EA with increasing/customisable pipsteps the more martingale trades it opens
30 - 50 USD
The default of my current EA is 120 pipstep to catch the quick turnaround scalps, but as the market runs away and more martingale levels are taken on the stuck trade, I would like the option to increase the pipstep (n amount) after (n amount) of trades open (fully customisable) I currently am using an EA I am happy with but don’t have the source code to customise. So would like to keep all the current inputs the
Terio bot
30+ USD
I have expert of crossing MA. I need who can add Fibonacci retrecement on it. So the fibo levels will be used for pending orders And TP/SL. When MA cross and open a trade Fibo must measure the trend put TP/SL of the trade and putt pending onderd in levels. And it must report the trade open and TP/SL in Telegram
Информация о проекте
Бюджет
30+ USD
Исполнителю
27
USD