Code MQL4

 

Hello everyone. I'm having trouble with a code Can someone help me?

Code

In advance, thank you for your answer!

 
Change Period -> period
 
  1. Please do not post an image of code or the editor — it is generally to small to be read.

    Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
              General rules and best pratices of the Forum. - General - MQL5 programming forum
              Messages Editor

  2. Why did you post your MT4 question in the Root / MT5 General section instead of the MQL4 section, (bottom of the Root page?)
              General rules and best pratices of the Forum. - General - MQL5 programming forum
    Next time post in the correct place. The moderators will likely move this thread there soon.

  3. Period (with capital P) is a function call.
              Period - Checkup - MQL4 Reference

  4. Always post all the context. You posted code with Period and period but didn't show their definitions.
 
Merci pour la remarque sur Period avec P majuscule. Le problème est réglé. Merci pour tout.
 
Alfred Wantz: Thanks for the remark on Period with capital P. The problem is solved. Thank you for everything.
Please post only in English on this forum. Use the automatic translation tool if needed. Use simple language structure when using mechanical translation.
 
I have been meaning to make use of these indicator in my trading but noticed it isn't responding in my chart when I try applying it, it might be probably due to an error in the coding.
Need a well meaning individual to help take a look and correct the indicator....Thanks
Files:
 
Mayowa Sonaike:

Don't hijack other threads with your off-topic post - open  your own.