William Snyder
9552
William Snyder  
ripefx:
Yeah!! I've been looking all night for a HAS MTF with alerts, and no success, please, please...

thanks. Appreciate your hard work, and dedication

Ripefx, maybe this one here: https://www.mql5.com/en/forum/180648/page503

[Deleted]  

hello mladen and mrtools

you guys mind taking a look at this indi and see why isnt it working. is this the mtf pinbar,inside and outside bar indi? Thank you in advance

pini4bbar_aha_0.2.mq4

Files:
William Snyder
9552
William Snyder  
johnjacob:
hello mladen and mrtools

you guys mind taking a look at this indi and see why isnt it working. is this the mtf pinbar,inside and outside bar indi? Thank you in advance

pini4bbar_aha_0.2.mq4

Johnjacob, this version is working, and it's not mtf.

[Deleted]  

Thank you mrtools

[Deleted]  

hello mladen and mrtools,

sorry to bother you guys again , you guys mind changing the 20 80 levels to 25 75 level for this indicator. thank you very much in advance.

key_pa_levels.mq4

Files:
engula
204
engula  

hi mladen & mrtools,

could you pls modify attached indi in order to have a vertical line displayed (only in the subwindow) when it crosses the zero-line and the current bar is closed?

if the color of the vertical line can be customised based on bull- or bear-cross, even better.

all other alerts already present could be removed.

many thanks in advance as always!

ehlers_fisher_transform_histo_mtfalerts.mq4

Albert Idrisov
732
Albert Idrisov  

Пожалуйста, вставьте стрелки на сенсорном дисплее

Gyazo - 5f30aa9e75c9858b8e0ec6decee984bb.png

Цена коснулась верхней границы вниз, цена коснулась нижней границы - стрелка вверх

#property indicator_chart_window#property indicator_buffers 3

#property indicator_color1 Blue

#property indicator_color2 Blue

#property indicator_color3 Blue

double upper[], middle[], lower[];

extern int HalfLength = 48;

//extern int MA_MODE = 0;

extern int PRICE_MODE = 0;

extern int ATR_PERIOD = 100;

extern double K = 2.0;

//extern bool ATR_MODE = false;

int init()

{

SetIndexStyle(0,DRAW_LINE);

SetIndexShift(0,0);

SetIndexDrawBegin(0,0);

SetIndexBuffer(0,upper);

SetIndexStyle(1,DRAW_LINE,STYLE_DOT);

SetIndexShift(1,0);

SetIndexDrawBegin(1,0);

SetIndexBuffer(1,middle);

SetIndexStyle(2,DRAW_LINE);

SetIndexShift(2,0);

SetIndexDrawBegin(2,0);

SetIndexBuffer(2,lower);

//--— indicators

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custor indicator deinitialization function |

//+------------------------------------------------------------------+

int deinit()

{

//--— TODO: add your code here

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start() {

int limit;

int counted_bars=IndicatorCounted();

if(counted_bars<0) return(-1);

if(counted_bars>0) counted_bars--;

limit=Bars-counted_bars;

double avg;

for(int x=0; x<limit; x++) {

middle[x] = iMA(NULL, 0, HalfLength+1 , 0, 3, PRICE_MODE, x);

// if (ATR_MODE)

avg = iATR(NULL,0,ATR_PERIOD, x+10);

// else

// avg = findAvg(ATR_PERIOD, x);

upper[x] = middle[x] + K*avg;

lower[x] = middle[x] - K*avg;

}

return(0);

}

//+------------------------------------------------------------------+

// double findAvg(int period, int shift) {

// double sum=0;

// for (int x=shift;x<(shift+period);x++) {

// sum += High[x]-Low[x];

// }

// sum = sum/period;

// return (sum);

// }
Mladen Rakic
206933
Mladen Rakic  
Alibydubby:
Пожалуйста, вставьте стрелки на сенсорном дисплее

Gyazo - 5f30aa9e75c9858b8e0ec6decee984bb.png

Цена коснулась верхней границы вниз, цена коснулась нижней границы - стрелка вверх

#property indicator_chart_window#property indicator_buffers 3

#property indicator_color1 Blue

#property indicator_color2 Blue

#property indicator_color3 Blue

double upper[], middle[], lower[];

extern int HalfLength = 48;

//extern int MA_MODE = 0;

extern int PRICE_MODE = 0;

extern int ATR_PERIOD = 100;

extern double K = 2.0;

//extern bool ATR_MODE = false;

int init()

{

SetIndexStyle(0,DRAW_LINE);

SetIndexShift(0,0);

SetIndexDrawBegin(0,0);

SetIndexBuffer(0,upper);

SetIndexStyle(1,DRAW_LINE,STYLE_DOT);

SetIndexShift(1,0);

SetIndexDrawBegin(1,0);

SetIndexBuffer(1,middle);

SetIndexStyle(2,DRAW_LINE);

SetIndexShift(2,0);

SetIndexDrawBegin(2,0);

SetIndexBuffer(2,lower);

//--— indicators

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custor indicator deinitialization function |

//+------------------------------------------------------------------+

int deinit()

{

//--— TODO: add your code here

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custom indicator iteration function |

//+------------------------------------------------------------------+

int start() {

int limit;

int counted_bars=IndicatorCounted();

if(counted_bars<0) return(-1);

if(counted_bars>0) counted_bars--;

limit=Bars-counted_bars;

double avg;

for(int x=0; x<limit; x++) {

middle[x] = iMA(NULL, 0, HalfLength+1 , 0, 3, PRICE_MODE, x);

// if (ATR_MODE)

avg = iATR(NULL,0,ATR_PERIOD, x+10);

// else

// avg = findAvg(ATR_PERIOD, x);

upper[x] = middle[x] + K*avg;

lower[x] = middle[x] - K*avg;

}

return(0);

}

//+------------------------------------------------------------------+

// double findAvg(int period, int shift) {

// double sum=0;

// for (int x=shift;x<(shift+period);x++) {

// sum += High[x]-Low[x];

// }

// sum = sum/period;

// return (sum);

// }

Alibydubby

You can use some Keltner channel with arrows (use LWMA fo moving average mode) and then you wil get those results

Albert Idrisov
732
Albert Idrisov  

I'm sorry, but I'm very bad, very very bad understand English, I need the arrows on the touch display, or already estt a ready indicator? can give a link?)

Thank you very much)

mladen:
Alibydubby You can use some Keltner channel with arrows (use LWMA fo moving average mode) and then you wil get those results
William Snyder
9552
William Snyder  
engula:
hi mladen & mrtools,

could you pls modify attached indi in order to have a vertical line displayed (only in the subwindow) when it crosses the zero-line and the current bar is closed?

if the color of the vertical line can be customised based on bull- or bear-cross, even better.

all other alerts already present could be removed.

many thanks in advance as always!

ehlers_fisher_transform_histo_mtfalerts.mq4

Engula added the zero cross lines.