Trabalho concluído
Tempo de execução 104 dias
Termos de Referência
Есть 4 индикатора с открытым кодом на mql4 нужно переписать на mql5.
Переписывать весь код индикатора конечно не нужно. Всю работу можно решить небольшими правками в коде с массивами и подключением mql4_to_mql5 библиотеки.
Два индикатора ищат дивергенции. Один на Макде, другой на Осме. Очень похожи друг на друга. (Есть графика: линии дивергенций рисуются линиями)
Еще один делает несложныые операции с мувингами (код ниже)
Еще один осцилятор вроде стохастика. (код большой, но логика простая)
Открытый код высылаю в личку тем кто отзовется.
В ответ, пожалуйста, укажите стоимость и сроки работы.
Результатом работы являются 4 файла mql5, которые дают те же показания как в МТ4.
Пример одного из индикаторов
#property indicator_separate_window #property indicator_buffers 4 #property indicator_color1 Yellow #property indicator_color2 Blue #property indicator_color3 Red #property indicator_color4 Lime //---- Внешние параметры --------------------------------------------- extern int EMAPeriod =34; // Период ЕМА extern int LSMAPeriod=25; // Период LSMA //---- Буферы индикатора --------------------------------------------- double LineHighEMA[]; double LineLowEMA[]; double LSMABuffer1[]; double LSMABuffer2[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ void init() { IndicatorDigits(2); SetIndexStyle (0, DRAW_LINE, STYLE_SOLID, 3); SetIndexBuffer(0, LineHighEMA); SetIndexStyle (1, DRAW_LINE, STYLE_SOLID, 3); SetIndexBuffer(1, LineLowEMA); SetIndexBuffer(2, LSMABuffer1); SetIndexStyle (2, DRAW_LINE, STYLE_SOLID, 3); SetIndexBuffer(3, LSMABuffer2); SetIndexStyle (3, DRAW_LINE, STYLE_SOLID, 3); Comment(""); } //+------------------------------------------------------------------+ //| Custor indicator deinitialization function | //+------------------------------------------------------------------+ void deinit() { Comment(""); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int i, shift, counted_bars=IndicatorCounted(); int Draw4HowLong, loopbegin; double sum, lengthvar, tmp, wt; //---- if (counted_bars<0) return; if (counted_bars>0) counted_bars--; counted_bars=Bars - counted_bars; for(shift=0; shift<counted_bars; shift++) { LineLowEMA[shift]=-1; LineHighEMA[shift]=-1; //---- double EmaValue=iMA(NULL, 0, EMAPeriod, 0, MODE_EMA, PRICE_TYPICAL, shift); if (Close[shift] > EmaValue) LineHighEMA[shift]=EMPTY_VALUE; else if (Close[shift] < EmaValue) LineLowEMA[shift]=EMPTY_VALUE; } Draw4HowLong=Bars-LSMAPeriod - 5; loopbegin=Draw4HowLong - LSMAPeriod - 1; //---- for(shift=loopbegin; shift>=0; shift--) { sum=0; for(i=LSMAPeriod; i>=1; i--) { lengthvar=LSMAPeriod + 1; lengthvar/=3; tmp=0; tmp=(i - lengthvar)*Close[LSMAPeriod-i+shift]; sum+=tmp; } wt=sum*6/(LSMAPeriod*(LSMAPeriod+1)); //---- LSMABuffer1[shift]=1; LSMABuffer2[shift]=1; //---- if (wt > Close[shift]) LSMABuffer2[shift]=EMPTY_VALUE; else if (wt < Close[shift]) LSMABuffer1[shift]=EMPTY_VALUE; } }
Respondido
1
Classificação
Projetos
94
29%
Arbitragem
4
25%
/
0%
Expirado
4
4%
Trabalhando
Publicou: 3 códigos
2
Classificação
Projetos
650
28%
Arbitragem
112
19%
/
62%
Expirado
319
49%
Livre
3
Classificação
Projetos
628
72%
Arbitragem
14
43%
/
7%
Expirado
28
4%
Livre
Publicou: 9 códigos
4
Classificação
Projetos
339
49%
Arbitragem
21
5%
/
33%
Expirado
24
7%
Livre
5
Classificação
Projetos
156
31%
Arbitragem
24
21%
/
58%
Expirado
3
2%
Trabalhando
6
Classificação
Projetos
146
34%
Arbitragem
13
8%
/
62%
Expirado
26
18%
Livre
Publicou: 6 códigos
7
Classificação
Projetos
189
46%
Arbitragem
34
24%
/
41%
Expirado
58
31%
Livre
Publicou: 12 códigos
Informações sobre o projeto
Orçamento
30 - 100 USD
Prazo
para 5 dias