I need a help to calculate in my ea the flat Kijun of ichimoku

 

Hello everybody,

I'm programming an Expert Advisor  which work with ichimoku.

I want to wrire a function() which deliver me the precedent flat of Kijunsen.

Is there anybody who can help me ?

Thank you very much.

 
  1. No idea what you mean by “precedent flat.” Use simple language structure when using mechanical translation. (2013)

  2. Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
              No free help (2017)

    Or pay someone. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum (2018)

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
              No free help (2017)

 
Well, it is the high of precedent period plus teh low of precedent period and the result divided by two. The average of high and low of precedent period.
Reason: