Coding help - page 760

 
wojtekpaul:

Thanks a lot for your fast reply!   Could you please tell me where can

I find the current code of the moving averages:

enum enMaTypes
{
   ma_sma,     // simple moving average - SMA
   ma_ema,     // exponential moving average - EMA
   ma_dsema,   // double smoothed exponential moving average - DSEMA
   ma_dema,    // double exponential moving average - DEMA
   ma_tema,    // tripple exponential moving average - TEMA
   ma_smma,    // smoothed moving average - SMMA
   ma_lwma,    // linear weighted moving average - LWMA
   ma_pwma,    // parabolic weighted moving average - PWMA
   ma_alxma,   // Alexander moving average - ALXMA
   ma_vwma,    // volume weighted moving average - VWMA
   ma_hull,    // Hull moving average
   ma_tma,     // triangular moving average
   ma_sine,    // sine weighted moving average
   ma_linr,    // linear regression value
   ma_ie2,     // IE/2
   ma_nlma,    // non lag moving average
   ma_zlma,    // zero lag moving average
   ma_lead,    // leader exponential moving average
   ma_ssm,     // super smoother
   ma_smoo     // smoother
};

As far as I know this is the last list of moving averages available as open code

(other MAs are already in ex4 format).

Sorry, some are not going to be made public ...
 
OK, I understand.  Thanks a lot anyway.  :)
 

Post Deleted.

 

Hi friends...

To use the same expert in "different paritys at the same time", the following magic number sequence is correct? 

 

- Parity A MagicNumber: 12345

- Parity B MagicNumber: 123457

- Parity C MagicNumber:123458

- Parity D MagicNumber: 123459 etc.


 

---------------------------------------------------------------------------------------------------------------------------------------- 

 

 

------------------------------------------------------------------------------------------------------------------------------------------------------ 

 

 

-----------------------------------------------------------------------------------------------------------------------------------------------------

 

 

 
If the EA identifies the orders by a magic number, then it is OK

"simple ( Regularized ema) EA 1.3" does make a difference and it will not mix up orders from different instances of the EA, so it is OK to use it that way
 
mladen:
If the EA identifies the orders by a magic number, then it is OK

"simple ( Regularized ema) EA 1.3" does make a difference and it will not mix up orders from different instances of the EA, so it is OK to use it that way

Does this different code design also apply to "simple (stepma of rsi adaptive ema 2.9) EA" ?

 
oguz:

Does this different code design also apply to "simple (stepma of rsi adaptive ema 2.9) EA" ?

Yes
 
mladen:
Yes

Vaoouw!

Perfect :) 

 
mladen:
If the EA identifies the orders by a magic number, then it is OK

"simple (Regularized ema) EA 1.3" does make a difference and it will not mix up orders from different instances of the EA, so it is OK to use it that way

mladen,

"simple (Regularized ema) EA 1.3" was active in 5 different parities at the same time from 10 am to 9 pm but it did not open any orders!

Is there a problem in this ea for opening orders?

 

P.S: They were (ecn-pro) tickmill demo chart.

 
oguz:

mladen,

"simple (Regularized ema) EA 1.3" was active in 5 different parities at the same time from 10 am to 9 pm but it did not open any orders!

Is there a problem in this ea for opening orders?

 

P.S: They were (ecn-pro) tickmill demo chart.

No idea. Check if you got any error messages in the terminal or experts tab and check your settings
Reason: