Pueden dejar comentarios los usuarios que hayan comprado o alquilado el producto
Aravind Kolanupaka  

Hello @Tomas Kremen,

Could you specify the arrow buffers for iCustom call please ?

I scanned for the exposed buffers, but I did not find the right ones

Thank you

Tomas Kremen  
Aravind:

Hello @Tomas Kremen,

Could you specify the arrow buffers for iCustom call please ?

I scanned for the exposed buffers, but I did not find the right ones

Thank you

Hello,  no problem. Here is the sample code:

double arrow_up = get_bounce(0);
double arrow_down = get_bounce(1);

if(arrow_up != 0)   //.....BUY
if(arrow_down != 0) //.....SELL

double get_bounce (int buff)
{
   double mab_val = iCustom(Symbol(), PERIOD_CURRENT, "\\Market\\MA bounce lite - arrows.ex4",
                            "---",
                            20,            //Current MA period
                            MODE_SMA,      //Current MA type
                            PRICE_CLOSE,   //Current MA applied price
                            0,             //HTF line method (0 - Long term, 1 - Short term)
                            10,            //Filter period
                            1000,          //Bars limit
                            "---",
                            200,           //HTF MA period
                            MODE_SMA,      //MA type
                            PRICE_CLOSE,   //MA applied price
                            PERIOD_H1,     //Timeframe for HTF MA
                            "---",
                            false,         //Use alerts
                            false,         //Use push notifications
                            false,         //Use email notifications
                            "---",
                            true;          //Show bounces from HTF MA
                            233,           //Arrow style UP
                            234,           //Arrow style DOWN
                            "---",
                            buff,
                            1);
   return (mab_val);
}
Tomas Kremen  
I just updated inticator to version 1.2. There are few new inputs, so I'm posting updated iCustom code:

double arrow_up = get_bounce(0);
double arrow_down = get_bounce(1);

if(arrow_up != 0)   //.....BUY
if(arrow_down != 0) //.....SELL

double get_bounce (int buff)
{
   double mab_val = iCustom(Symbol(), PERIOD_CURRENT, "\\Market\\MA bounce lite - arrows.ex4",
                            "---",
                            20,            //Current MA period
                            MODE_SMA,      //Current MA type
                            PRICE_CLOSE,   //Current MA applied price
                            0,             //TD line source for calculation (0 - Oscillators, 1 - Price)
                            0,             //TD line method (for oscillators source) (0 - Long term, 1 - Short term)
                            10,            //Filter period (for oscillators source)
                            100,           //TD line averaging period (for price source)
                            1,             //TD line precision (0.1 - 1) (for price source)
                            5000,          //Bars limit
                            "---",
                            200,           //HTF MA period
                            MODE_SMA,      //MA type
                            PRICE_CLOSE,   //MA applied price
                            PERIOD_H1,     //Timeframe for HTF MA
                            "---",
                            false,         //Use alerts
                            false,         //Use push notifications
                            false,         //Use email notifications
                            "---",
                            true,          //Show bounces from HTF MA
                            233,           //Arrow style UP
                            234,           //Arrow style DOWN
                            buff,
                            1);
   return (mab_val);
}
Tomas Kremen  

Hello, version 1.3 is now available. 2 new buffers are added for HTF arrows, so here is updated iCustom function:


double arrow_up = get_bounce(0);
double arrow_down = get_bounce(1);
double arrow_upHTF = get_bounce(2);
double arrow_downHTF = get_bounce(3);

if(arrow_up != 0 || arrow_upHTF != 0)   //.....BUY
if(arrow_down != 0 || arrow_downHTF != 0) //.....SELL

double get_bounce (int buff)
{
   double mab_val = iCustom(Symbol(), PERIOD_CURRENT, "\\Market\\MA bounce lite - arrows.ex4",
                            "---",
                            20,            //Current MA period
                            MODE_SMA,      //Current MA type
                            PRICE_CLOSE,   //Current MA applied price
                            0,             //TD line source for calculation (0 - Oscillators, 1 - Price)
                            0,             //TD line method (for oscillators source) (0 - Long term, 1 - Short term)
                            10,            //Filter period (for oscillators source)
                            100,           //TD line averaging period (for price source)
                            1,             //TD line precision (0.1 - 1) (for price source)
                            5000,          //Bars limit
                            "---",
                            200,           //HTF MA period
                            MODE_SMA,      //MA type
                            PRICE_CLOSE,   //MA applied price
                            PERIOD_H1,     //Timeframe for HTF MA
                            "---",
                            false,         //Use alerts
                            false,         //Use push notifications
                            false,         //Use email notifications
                            "---",
                            233,           //Arrow style UP
                            234,           //Arrow style DOWN
                            true,          //Show bounces from HTF MA
                            241,           //HTF arrow style UP
                            242,           //HTF arrow style DOWN
                            buff,
                            1);
   return (mab_val);
}
Pueden dejar comentarios los usuarios que hayan comprado o alquilado el producto