Code help!!!

MQL4 지표

작업 종료됨

실행 시간 4 시간
고객의 피드백
very professional programmer. He showed a lot of patience and was a breeze !! Highly recommended !!!!

명시

Hi ! I wrote this code where if the RSI2 reaches level 90 and if the previous RSI is below 90 the arrow appears. I wish that after the first signal, the indicator revalue the situation after X number of candles and if the RSI2 again is> = 90 the arrow reappears, otherwise you break the cycle. Thank you.


#property indicator_chart_window
#property indicator_buffers 1

#property indicator_type1 DRAW_ARROW
#property indicator_width1 1
#property indicator_color1 clrAqua
#property indicator_label1 "Buy"



//--- indicator buffers

double Buffer1[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int OnInit()
  {
   IndicatorBuffers(1);
   SetIndexBuffer(0,Buffer1);
   SetIndexEmptyValue(0,0);
   SetIndexArrow(0,241);


   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);

//--- initial zero
   if(prev_calculated<1)
     {
      ArrayInitialize(Buffer1,0);

     }
   else
      limit++;

//--- main loop
   for(int i=limit-1; i>=0; i--)
     {
      if(i>=MathMin(5000-1,rates_total-1-50)) continue;

      //Indicator Buffer 1
      if(iRSI(NULL,PERIOD_CURRENT,2,PRICE_CLOSE,i)>=90
         && iRSI(NULL,PERIOD_CURRENT,2,PRICE_CLOSE,i+1)<90)

        {
         Buffer1[i]=Low[i]-20*Point();
        }
      else
        {
         Buffer1[i]=0;
        }

     }
   return(rates_total);
  }
//+------------------------------------------------------------------+

응답함

1
개발자 1
등급
(878)
프로젝트
1391
67%
중재
117
32% / 42%
기한 초과
215
15%
무료
2
개발자 2
등급
(355)
프로젝트
589
70%
중재
14
43% / 7%
기한 초과
28
5%
무료
비슷한 주문
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
Indicator MT5 from Pine Script 5 (TradingView) indicators Request: Develop 1 Indicator mql5 from 2 TV (Pine script 5) indicators Get only basic features, I just need to get values in Copybuffer() for mql5 expert. Total MT5 indicator: 4 levels in the chart + 1 oscillator (line/histogram) =================================== TV Indicator 1: Smart Money Concepts Just get High/low levels from internal/externals (smaller /
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
I have an indicator i will like to view in form of dashboard across various timeframes, i also will like a push notifications alert feature that will appear on my mt4 mobile to keep track of my trading pairs
Need a dashboard, which can monitor up to 30 selected pairs in selected time frames. It monitors AO, MACD and stochastic. In the cells of dashboard, if AO is positive in the relevant symbol/tf, it writes "UP". When one of AO is above 0 level AND Stochastic is in OS zone it writes "UPUP". When AO is above 0 and when stochastics is oversold minimum of two times,it will alert UPU2 if AO is negative below 0 in the
Looking for custom strength indicators I can add to my EA. An indicator that can measure the strength of buyer and sellers. Please show me what you have, thank you

프로젝트 정보

예산
10 - 15 USD
VAT (22%): 2.2 - 3.3 USD
총: 12.2 - 18.3 USD
개발자에게
9 - 13.5 USD
기한
에서 1  3 일