Forum

Direction of High and Low prices - no zeros allowed

I try to write an indicator which shows the direction of Highs and Lows. It should return 1 for higher values and -1 for lower ones. In the case of equal highs or equal lows it should neither return 0 (zero), nor EMPTY_VALUEs, but instead return the previous direction (the direction when the highs

Problem in EA using CCFp

While experimenting with various versions of the “CCFp” indicator, by Semen Semenich, I tried to incorporate such an indicator in an EA. The problem is that the MT4 strategy tester seems to be using different values than those I see on the chart. My last attempts were made with “CCFp mtf & alerts

Labels updating problem

As a newcomer to the forum and also to MT4 and to MQL I would first like to thank you all for sharing your knowledge and experience, your trading tools and ideas. This first post of mine is a question about text labels. What I am trying to do is to have a table with indicator values regarding