Discussion of article "Learn how to design a trading system by ADX" - page 2

 

Hello Mohamed,

Instead of: 

   double ADXArray0[];
   double ADXArray1[];
...
   double ADXValue=NormalizeDouble(ADXArray0[0],2);
   double ADXValueLast=NormalizeDouble(ADXArray1[1],2);

Wouldn't it be enough ?:

      double ADXArray[];
...
      double ADXValue=NormalizeDouble(ADXArray[0],2);
      double ADXValueLast=NormalizeDouble(ADXArray[1],2);

Regards,

Juan Luis

Learn how to design a trading system by ADX
Learn how to design a trading system by ADX
  • www.mql5.com
In this article, we will continue our series about designing a trading system using the most popular indicators and we will talk about the average directional index (ADX) indicator. We will learn this indicator in detail to understand it well and we will learn how we to use it through a simple strategy. By learning something deeply we can get more insights and we can use it better.
 
Juan Luis De Frutos Blanco #:

Hello Mohamed,

Instead of: 

Wouldn't it be enough ?:

Regards,

Juan Luis

Hello Juan,

You are correct, it can be like what you mentioned also.


Regards,

 
Good article: one of the legs of the EA I am building at the moment.
Thanks Mohamed. 🏅🏅🏅

Reason: