Elite indicators :) - page 1336

 
mladen:

And here is the version with alerts too

Can you add interpolation?
 
mladen:

And here is the version with alerts too

Thanks much
 
mladen:

Murali

Wave trend oscillator already has alerts

Yes  sorry i am wasting your time

murali 

 
sebastianK:
Can you add interpolation?

sebastianK

Here is a version with interpolation added

 
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)
 
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)

 

mladen

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


thank you

Ray

Files:
 
Hello Mladen !
I have always wanted to create an expert advisor of the value chart indicators , but the way i create them is to using the indicators buffer , but when i look at the buffers from a value chart indicator they are mostly all black ,are there a hidden pattern in what buffers are used or are they calculated as price itself or maybe bearish and bullish candles ?
Hope you understand my question ! :)
 
timmyhanke:
Hello Mladen !
I have always wanted to create an expert advisor of the value chart indicators , but the way i create them is to using the indicators buffer , but when i look at the buffers from a value chart indicator they are mostly all black ,are there a hidden pattern in what buffers are used or are they calculated as price itself or maybe bearish and bullish candles ?
Hope you understand my question ! :)

timmyhanke

They are having the 4 "prices" of value chart : vc open, vc high, vc low and vc close. Those "prices" should not be confused with the regular prices

 
mladen:

timmyhanke

They are having the 4 "prices" of value chart : vc open, vc high, vc low and vc close. Those "prices" should not be confused with the regular prices

Thanks for the answer , in other words , it can never ever create something out of that hahaha ;)
Reason: