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

MQL5 Indicateurs Experts

Tâche terminée

Temps d'exécution 1 jour
Commentaires de l'employé
Nice customer!!!
Commentaires du client
The work was done perfectly and very fast. I am very satisfied with the result.

Spécifications

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

 

   

}


Répondu

1
Développeur 1
Évaluation
(513)
Projets
776
63%
Arbitrage
33
27% / 45%
En retard
23
3%
Gratuit
2
Développeur 2
Évaluation
(5)
Projets
7
14%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(261)
Projets
427
38%
Arbitrage
86
44% / 19%
En retard
71
17%
Chargé
Commandes similaires
Hey greetings am in need of a developer that can convert my simple tradingview indicator to MT4 I have the source code of the indicator and is also a public indicator on Tradingview site Kindly bid and let started
I want to buy the functional source code of the manager for mt5/mt4, make your proposal, send me a demonstration, the system asks for a text of 30 words plus the summary and that I want to buy a library
Hey MQL COMMUNITY, I have some ideas trading that needed to come to life based on my expected trading target, I have the details strategy ready so I wanted to be programmed as PineScript Indicators based on my trading specifications for TradingView platform, please reach out if you are well skilled in programming algo trading system for tradingview using PineScript coding solutions and can run without any problem
Hello i am seeking a skilled MetaTrader 5 (MQL5) developer to modify an existing Telegram signal copier. The goal is to enhance the copier's functionality, reliability, and user experience. kindly bid this job to get started immediately
Hello, I’m looking for assistance with creating or customizing a TradingView indicator to suit my trading needs. If you have experience in this area, please reach out. Your help would be greatly appreciated. Thanks
Where are my developers colleagues . i want you to support me on existing work i just need a little addon on it. Am still a student kindly support me. You will be get paid at the end of the work. If you want more details maybe the worth of the project or any other thing let me know. THNAKS FOR THE SUPPORT
** Entry Condition **: - ** For Long**: The trade is entered **after BB + ** is confirmed. - ** For Short *: The trade is entered **after BB -* is confirmed. ### 2nd **Stop Loss **: - ** For long Entries *: stop loss is triggered on a ** candle close above the high* of the breaker block shown by the indicator. - ** For Short Entries **: stop loss is triggered on a ** candle close below the low ** of the breaker block
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

Informations sur le projet

Budget
30 - 50 USD
Pour le développeur
27 - 45 USD
Délais
de 1 à 2 jour(s)