Elite indicators :) - page 1336

Mladen Rakic
151507
Mladen Rakic  
fabiogeraci:

Sorry I meant to, but i was mobile.

 Thanks

I would need to see how the parameters are declared too (the variable types)

Also, immediately, you are omitting some parameters, and you can not - the colors for example, the levels ...

Mladen Rakic
151507
Mladen Rakic  
metalcapon:

Please add an alert on the indicator when the first bar closes above or below the signal slope. If possible to add price smooth. 

 Thanks.  

metalcapon

That indicator already has price smoothing (it is actually using the John Ehlers favorite way of smoothing : the TMA(4))

In any case, use this for start (what was not necessary in that code at all was removed to make it more efficient and it is made more user friendly). No alerts yet

Mladen Rakic
151507
Mladen Rakic  
metalcapon:

Please add an alert on the indicator when the first bar closes above or below the signal slope. If possible to add price smooth. 

 Thanks.  

And here is the version with alerts too

sebatian
676
sebatian  
mladen:

And here is the version with alerts too

Can you add interpolation?
metalcapon
35
metalcapon  
mladen:

And here is the version with alerts too

Thanks much
MURALI
136
MURALI  
mladen:

Murali

Wave trend oscillator already has alerts

Yes  sorry i am wasting your time

murali 

Mladen Rakic
151507
Mladen Rakic  
sebastianK:
Can you add interpolation?

sebastianK

Here is a version with interpolation added

Fabio Geraci
372
Fabio Geraci  
mladen:

I would need to see how the parameters are declared too (the variable types)

Also, immediately, you are omitting some parameters, and you can not - the colors for example, the levels ...

 

i know there are still missing the call inside the icustom but i am not sure wherr to put them

thanks 

input    int TimeFrame= 5;
input    int FirstWprSP= 8;
input    int FirstWprM=8;
input    int FirstWprP=14;
input    int FirstWprLup=30;
input    int FirstWprLdown=-30;
input    int FirstWprCup=1;
input    int FirstWCup=1;
input    int SecondWprSP=8; 
input    int SecondWpr=8;
input    int SecondWprP=8;
input    int SecondWprLup=30;
input    int SecondWprLdown=-30;
input    int SecondWprCup=1;
input    int SecondWCup=1;
input    bool     DoubleSmooth=false; 
input    bool     AlertsSwitch=false;
input    bool     AlertCurr=false;
input    bool     AlertPopUp=false;
input    bool     AlertNotification=false;
input    bool     AlertEmail=false;

iCustom(Symbol(),Period(),"Chaos Visual averages 1.4", TimeFrame, 
                FirstWprSP, FirstWprM, FirstWprP,
                SecondWprSP, SecondWpr, SecondWprP,
                DoubleSmooth, AlertsSwitch, AlertCurr,
                AlertPopUp, AlertNotification, AlertEmail,
                2,1)
Mladen Rakic
151507
Mladen Rakic  
fabiogeraci:

Try like this

enum enMaTypes
{
   ma_adxvma,  // Adxvma
   ma_ahr,     // Ahrens moving average
   ma_alxma,   // Alexander moving average - ALXMA
   ma_dema,    // Double exponential moving average - DEMA
   ma_dsema,   // Double smoothed exponential moving average - DSEMA
   ma_emas,    // Ema derivative - EMAD
   ma_ema,     // Exponential moving average - EMA
   ma_hull,    // Hull moving average - HMA
   ma_ie2,     // IE/2
   ma_ilinr,   // Integral of linear regression slope
   ma_itl,     // Instantaneous trendline
   ma_lagg,    // Laguerre filter
   ma_lead,    // Leader exponential moving average
   ma_linr,    // Linear regression value - LSMA
   ma_lwma,    // Linear weighted moving average - LWMA
   ma_mcg,     // McGinley Dynamic
   ma_mcma,    // McNicholl ema
   ma_nlma,    // Non lag moving average
   ma_pwma,    // Parabolic weighted moving average - PWMA
   ma_rmta,    // Recursive moving trendline - RMTA
   ma_sma,     // Simple moving average - SMA
   ma_sine,    // Sine weighted moving average
   ma_smma,    // Smoothed moving average - SMMA
   ma_smoo,    // Smoother
   ma_ssm,     // Super smoother
   ma_b3p,     // Three pole Ehlers Butterworth
   ma_s3p,     // Three pole Ehlers smoother
   ma_tma,     // Triangular moving average - TMA
   ma_tema,    // Tripple exponential moving average - TEMA
   ma_b2p,     // Two pole Ehlers Butterworth
   ma_s2p,     // Two pole Ehlers smoother
   ma_vema,    // Volume weighted ema - VEMA
   ma_vwma,    // Volume weighted moving average - VWMA
   ma_zldema,  // Zero lag dema
   ma_zlma,    // Zero lag moving average
   ma_zltema   // Zero lag tema
};

extern ENUM_TIMEFRAMES TimeFrame = PERIOD_CURRENT; // Time frame
extern int       period1         =   8;            // First wpr average smoothing period
extern enMaTypes matype1         = ma_ie2;         // First wpr average smoothing method
extern int       per1            =  14;            // First wpr period
extern double    levu1           =  30;            // First wpr up level
extern double    levd1           = -30;            // First wpr down level
extern color     colorup1        = clrDeepSkyBlue; // Color when up level crossed up
extern color     colordn1        = clrSandyBrown;  // Color when down level crossed down
extern int       period2         =   8;            // Second wpr average smoothing period
extern enMaTypes matype2         = ma_ie2;         // Second wpr average smoothing method
extern int       per2            =  96;            // Second wpr period
extern double    levu2           =  40;            // Second wpr up level
extern double    levd2           = -40;            // Second wpr down level
extern color     colorup2        = clrDeepSkyBlue; // Color when up level crossed up
extern color     colordn2        = clrSandyBrown;  // Color when down level crossed down
extern bool      madouble        = false;          // Should the averages be double smoothed?

And then the call should be like this :

double value = iCustom(NULL,TimeFrame,"Chaos Visual averages 1.4",PERIOD_CURRENT,period1,matype1,per1,levu1,levd1,colorup1,colordn1,period2,matype2,per2,levu2,levd2,colorup2,colordn2,madouble,2,i);         

But you really should consider using buffer No. 12 and 13 in the iCustom() call (read one of my previous posts for an explanation why)

traderduke
531
traderduke  

mladen

Could you make this ttm-mtf into a histogram and allow offline TFs?


thank you

Ray

Files: