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
評価
(879)
プロジェクト
1394
67%
仲裁
117
32% / 42%
期限切れ
215
15%
2
開発者 2
評価
(356)
プロジェクト
590
70%
仲裁
14
43% / 7%
期限切れ
28
5%
類似した注文
Hello, am in need of a developer that can help in developing a trading bot that can effectively navigate the foreign exchange (Forex) market or other financial markets to generate passive income. My objective is to create a sophisticated algorithmic trading system that can consistently produce profitable trades with minimal manual intervention. I am seeking a reliable and efficient solution that can be tailored to my
am looking for who help me convert tradingview indicator to mt5 car trading strategy and make sure you are an expert before u apply to this and also my budget for this is 30$ so the name of the indicator is Breaker Blocks with Signals (LuxAlgo) ### 1. ** Entry Condition **: - ** For Long**: The trade is entered **after BB + ** is confirmed. - ** For Short *: The trade is entered **after BB -* is confirmed. ### 2nd
I have a custom MT4 indicator that I need converted to MT5. I'll share the source code with the applicants. Please only apply if you have vast experience in converting complex indicators successfully to MT5, and making sure that the MT5 version functions exactly the same as the MT4 version
I need an expert to help me convert chopzone traingview pinescript to mt4, I need an expert to get it done for me on between 1 to 2 days i hope this will be done by then, i will attach the file and my budget is $30 as of minimum here
Looking for someone to edit/optimize and existing NN (neural network) in my EA so it is more compatible/profitable with the multiple strategies. The expert advisor is a portfolio expert advisor consisting of 33 separate advisors/strategies compiled into one. A NN has been added to the EA but it does not compliment or help the EA's performance. I've attached the original EA (without NN) as well as the EA with the NN
Procuro programador que consiga modificar essas estratégias, com a mesma capacidade de alteração das suas funcionalidades. Reitero, não consegui contato com o programador da fonte, nem mesmo mandando diversas mensagens no telegram! br.tradingview.com/script/PfpFNXyI-Braid-Filter/ br.tradingview.com/script/kv8N05R7-AlphaTrend-Screener/ Ambos os indicadores precisam agir em conjunto, tanto para as funcionalidades em
--- ### Basic Rules for You 1. **Time Management**: - All tasks should be completed within the agreed-upon timeframe. Clear deadlines will be set, and it's essential to adhere to them to ensure smooth progress. 2. **Fixed Budget**: - The budget for this project is fixed. Please ensure that all work done remains within this budget. Any additional costs must be discussed and agreed upon before proceeding. 3
CORREÇÃO NOTIFICAÇÕES Ø O indicador muda a cor dos candles e da MA200 quando ocorre as entradas e é somente nesse momento que ele deve enviar notificação de entrada porem está enviando em outros momentos que não atende as condições conforme imagem abaixo. Ø Sempre que abro o MT5, mudo o time frame ou a plataforma perde conexão o indicador me envia notificações de entradas passadas, o indicador deve enviar
Hi I have an indicator that i have tried to create an EA with, this is a simple EA that should have bought on green indicator value if previous candle indicator value was yellow. Then it should have sold when indicator value was red with previous value being yellow. Now, i would not say that i am a coder, by any stretch of the imagination, but something this simple should have been easy, instead, the EA would open
Hello experts I need you assistance to develop and Volume data indicator which will show the buy sell volume of a Candle . demo before selection would be recommended if anyone have built anything similar already . I want to use combination of Fibo bar + Swing HL bar to identify Volume zone . Example

プロジェクト情報

予算
10 - 15 USD
VAT(付加価値税) (22%): 2.2 - 3.3 USD
合計: 12.2 - 18.3 USD
開発者用
9 - 13.5 USD
締め切り
最低 1 最高 3 日