I need some code assistance with my Ichimoku Indicator EA Trading Robot (MQL5)

MQL5 Indicatori Esperti

Lavoro terminato

Tempo di esecuzione 1 giorno
Feedback del dipendente
Nice customer!!!
Feedback del cliente
The work was done perfectly and very fast. I am very satisfied with the result.

Specifiche

Hi

I have added the  Ichimoku Indicator into my EA (MQL5) and I want to use the cloud values to indicate entry conditions, (or not to enter) based on the position of the cloud.

I am having an issue. When I retrieve the value of the SENKOUSPAN A LINE, I am getting a number such as 30, 35 or 40 etc. I am not getting the actual underlying price value e.g. 1.08995.

I would have expected to be getting the price value. I have done much research to find out how I can get the price value at the SENKOUSPAN A LINE and I still haven't been able to resolve. I am very keen for someone to offer your expert advice in this and tell me what I am doing wrong.

 

Here is the code I wrote to retrieve the value for SENKOUSPAN A LINE. Please note, than visually on my screen, if I hover over the  SENKOUSPAN A LINE, I can see the price value I am after. I just cant seem to retrieve this problematically in MQL5.

 

//---------------------------------------------------------------------

//  ReGetIchimokuValues

//---------------------------------------------------------------------

//---------------------------------------------------------------------

string MyTrend::ReGetIchimokuValues(int Indicator_Handle=INVALID_HANDLE)

{

 

//The buffer numbers: 0 - TENKANSEN_LINE, 1 - KIJUNSEN_LINE, 2 - SENKOUSPANA_LINE, 3 - SENKOUSPANB_LINE, 4 - CHIKOUSPAN_LINE.

 

  double iTENKANSEN_LINE_Buffer[];

  double iKIJUNSEN_LINE_Buffer[];             

  double iSENKOUSPANA_LINE_Buffer[];

  double iSENKOUSPANB_LINE_Buffer[];

  double iCHIKOUSPAN_LINE_Buffer[];

  

  string s = "";

 

  ArraySetAsSeries(iTENKANSEN_LINE_Buffer,true);

  ArraySetAsSeries(iKIJUNSEN_LINE_Buffer,true);

  ArraySetAsSeries(iSENKOUSPANA_LINE_Buffer,true);

  ArraySetAsSeries(iSENKOUSPANB_LINE_Buffer,true);

  ArraySetAsSeries(iCHIKOUSPAN_LINE_Buffer,true);

  

  CopyBuffer(Indicator_Handle,0,0,3,iTENKANSEN_LINE_Buffer); //0 - TENKANSEN_LINE

  CopyBuffer(Indicator_Handle,1,0,3,iKIJUNSEN_LINE_Buffer); //1 - KIJUNSEN_LINE

  CopyBuffer(Indicator_Handle,2,0,3,iSENKOUSPANA_LINE_Buffer); //2 - SENKOUSPANA_LINE

  CopyBuffer(Indicator_Handle,3,0,3,iSENKOUSPANB_LINE_Buffer); //3 - SENKOUSPANB_LINE

  CopyBuffer(Indicator_Handle,4,0,3,iCHIKOUSPAN_LINE_Buffer); //4 - CHIKOUSPAN_LINE

 

   //https://www.mql5.com/en/forum/172986

   //This indicator is based on the 4 time intervals and because of that we may see the 5 different line:

   //- Tenkan-sen is the average value of the price for the first time interval calculated as sum of maximum and minimum for this period of time devided by 2;

   //- Kijun-sen is the average value of the price for the second time interval;

   //- Senkou Span A is the middle of interval between two above mentioned lines (Tenkan-sen and Kijun-sen) shifted onward on the value of the second time interval;

   //- Senkou Span B is the average value of the price for the third time interval shifted onward on the value of the second time interval;

   //- Chinkou Span is the closing price of the current candle shifted back on the value of the second time interval.

   

 

   

   TENKANSEN_LINE_Value =  NormalizeDouble(iTENKANSEN_LINE_Buffer[0],5);

   KIJUNSEN_LINE_Value =  NormalizeDouble(iKIJUNSEN_LINE_Buffer[0],5);            

   SENKOUSPANA_LINE_Value =  NormalizeDouble(iSENKOUSPANA_LINE_Buffer[0],5);

   SENKOUSPANB_LINE_Value =  NormalizeDouble(iSENKOUSPANB_LINE_Buffer[0],5);

   CHIKOUSPAN_LINE_Value =  NormalizeDouble(iCHIKOUSPAN_LINE_Buffer[0],5);   

   

   s = "TENKANSEN_LINE=" + (string)TENKANSEN_LINE_Value + " | KIJUNSEN_LINE=" + (string)KIJUNSEN_LINE_Value + " | SENKOUSPANA_LINE=" + (string)SENKOUSPANA_LINE_Value + " | SENKOUSPANB_LINE=" + (string)SENKOUSPANB_LINE_Value + " | CHIKOUSPAN_LINE=" + (string)CHIKOUSPAN_LINE_Value;

   

   return(s);  

 

   

}


Con risposta

1
Sviluppatore 1
Valutazioni
(512)
Progetti
773
63%
Arbitraggio
33
27% / 45%
In ritardo
23
3%
Gratuito
2
Sviluppatore 2
Valutazioni
(5)
Progetti
7
14%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(256)
Progetti
415
38%
Arbitraggio
86
44% / 19%
In ritardo
70
17%
Occupato
Ordini simili
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Buy an sell symbols and guide showing entry to buy or sell setups and I need it gives and tell me to enter buy or to enter sell by automation nnnnnnnnnn fgggghhuuuiijh hhrddfhuuufffff yygggg hhgt hiidcb hygdfbby gyytdv uttrdd. Httdd hyyydv. Yhygf. Uu juhgff uyttt uuuytdbhy uuuyyy hhhff jjueeiivhgffdgu hyuu7trg yyyyffj yyytd u6tttf uuyrrrhi uytrrfh utterly jyrfgkkttv uhyybhhyy hytfgivuyt utfbh utghjio7t. Uuytg uytru
Utilizing the MQL5 MetaEditor Wizard, I created an Expert Advisor, having the following Signal indicators: I was able to optimize the EA and reached a backtest with the following specifications: I was able to reach a profit level of 30K, as indicated below. However, the Bot is not without faults and following the backtest, I started a forward test with real live data and the results were not so great. The EA took a
Connect from Mt5 via binary deriv account api I have mt5 indicator, need to connect with binary deriv account through api. If anyone can setup via API then contact me. everything control mt5
Hello I am looking for a developer to create an 50% retracement Indicator of the previous candle . So once a candle close the Indicator is supposed to take the full candle size from high to low and make a 61% and 50% level on that candle and I would like the candle to show until the next previous candle is done creating. After this I would look to create an ea with it possibly
Hi, I have 2 indicators which are based on the super trend , the alerts on indicator (1) does not work at all , and on the other indicator the alerts do not come on time on time, which is kind of delayed. see attached file below
Looking for an experienced developer to modify my existing TDI strategy , want to add filter for Buy and Sell Signals, Arrows are displayed on chart and what only to leave high accurate arrows Source code to be provided
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action

Informazioni sul progetto

Budget
30 - 50 USD
Per lo sviluppatore
27 - 45 USD
Scadenze
da 1 a 2 giorno(i)