Elite indicators :) - page 856

talaate
967
talaate  
mladen:
Talaat E Will make the slope version and post it as soon as it is finished

Thanks Mladen

talaate
967
talaate  
mladen:
Talaat E Will make the slope version and post it as soon as it is finished
talaate:
Thanks Mladen

hi great Mladen

I just remembering you

thanks

Talaat E

Mladen Rakic
151615
Mladen Rakic  
talaate:
hi great Mladen

I just remembering you

thanks

Talaat E

Talaat E

Seems that I forgot to post it

Here it is : hma_slope_color_nrp_amp_mtf_amp_alerts__arrows_2.01.mq4

talaate
967
talaate  
mladen:
Talaat E

Seems that I forgot to post it

Here it is : hma_slope_color_nrp_amp_mtf_amp_alerts__arrows_2.01.mq4

Hj king

No problem, as I said before, you are the king of coding

Thanks

Talaat E

Philip Mullins
96
Philip Mullins  
mladen:
Rsi - floating levels - advanced (from here : https://www.mql5.com/en/forum/general) : rsi_-_floating_levels_-_advanced_nmc.mq4

Hi Mladen / MrTools,

Can you please add an arrow and alerts for when the RSI average moves from below and closes above the bottom dotted line or moves from above and closes below the upper dotted line?

Thanks!

William Snyder
9496
William Snyder  
SYKEMAKAVELI:
Hi Mladen / MrTools,

Can you please add an arrow and alerts for when the RSI average moves from below and closes above the bottom dotted line or moves from above and closes below the upper dotted line?

Thanks!

Hi Sykemakaveli, added the arrows and alerts.

Albert Idrisov
945
Albert Idrisov  

Hello, you can make the arrows are issued only when the indicator of the level of 20 or 80?

Gyazo - cb63fc4539b45e012094b73e1c7a6dc1.png

младен:
Талаат E Сделают уклон версии и разместить его, как только она будет закончена
Mladen Rakic
151615
Mladen Rakic  
Alibydubby:
Hello, you can make the arrows are issued only when the indicator of the level of 20 or 80? Gyazo - cb63fc4539b45e012094b73e1c7a6dc1.png

Alibydubby

That indicator is an unbound indicator. It is not like stochastic or rsi that are oscillating between 0 and 100. The easiest way to see that is to change time frames : on 1 minute charts it will have very small values. The higher the time frame the bigger the values will be (it s very similar to macd regarding that issue). Same thing will happen when you change symbols (change from eurusd to usdjpy for example and you shall see a big difference in values)

So, using some fixed levels would not work the same way as those levels are used in stochastic or rsi and in many cases the results would be more or less useless

Albert Idrisov
945
Albert Idrisov  

Пожалуйста, добавьте стрелку на ощупь границы

Gyazo - bcbd7da7b734e448b844817fd2b063d8.png

//+------------------------------------------------------------------+//| asymmetric bands.mq4 |

//| |

//| forex-tsd elite section only |

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

#property copyright "mladen"

#property link "mladenfx@gmail.com"

#property indicator_chart_window

#property indicator_buffers 3

#property indicator_color1 DimGray

#property indicator_color2 Red

#property indicator_color3 LimeGreen

#property indicator_style1 STYLE_DOT

//

//

//

//

//

extern int bandsPeriod = 14;

extern int bandsMethod = MODE_SMA;

extern int bandsPrice = PRICE_CLOSE;

extern double bandsDeviations = 2;

//

//

//

//

//

double maBuffer[];

double upBuffer[];

double dnBuffer[];

double wuBuffer[];

double wdBuffer[];

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

//| |

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

//

//

//

//

//

int init()

{

IndicatorBuffers(5);

SetIndexBuffer(0,maBuffer);

SetIndexBuffer(1,upBuffer);

SetIndexBuffer(2,dnBuffer);

SetIndexBuffer(3,wuBuffer);

SetIndexBuffer(4,wdBuffer);

return(0);

}

int deinit() { return(0); }

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

//| |

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

//

//

//

//

//

int start()

{

int counted_bars=IndicatorCounted();

int i,limit;

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

if(counted_bars>0) counted_bars--;

limit = MathMin(Bars-counted_bars,Bars-1);

//

//

//

//

//

for(i=limit; i>=0; i--)

{

double price = iMA(NULL,0,1 ,0,MODE_SMA ,bandsPrice,i);

maBuffer = iMA(NULL,0,bandsPeriod,0,bandsMethod,bandsPrice,i);

if (i==(Bars-1))

{

upBuffer = maBuffer;

dnBuffer = maBuffer;

wuBuffer = price-maBuffer;

wdBuffer = price-maBuffer;

continue;

}

//

//

//

//

//

double diff = price-maBuffer;

if(diff>=0)

{

wuBuffer = (wuBuffer*(bandsPeriod-1)+MathPow(diff,2))/bandsPeriod;

wdBuffer = wdBuffer*(bandsPeriod-1)/bandsPeriod;

}

else

{

wdBuffer = (wdBuffer*(bandsPeriod-1)+MathPow(diff,2))/bandsPeriod;

wuBuffer = wuBuffer*(bandsPeriod-1)/bandsPeriod;

}

upBuffer = maBuffer + bandsDeviations*MathSqrt(wuBuffer);

dnBuffer = maBuffer - bandsDeviations*MathSqrt(wdBuffer);

}

return(0);

}

Albert Idrisov
945
Albert Idrisov  

And here, too, the arrows on the cross intersection of lines)))

Thank U)

Gyazo - 0abf003bea9e9da4c7ebfbe9fd974931.png

//+------------------------------------------------------------------//|

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

#property copyright "mladen"

#property link "www.forex-tsd.com"

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 PaleVioletRed

#property indicator_color2 DimGray

#property indicator_width1 2

#property indicator_style2 STYLE_DOT

//

//

//

//

//

extern int TrixPeriod = 5;

extern int TrixPrice = PRICE_CLOSE;

extern int SignalPeriod = 8;

//

//

//

//

//

double TrixBuffer[];

double SignBuffer[];

double work[];

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

//|

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

//

//

//

//

//

int init()

{

IndicatorBuffers(3);

SetIndexBuffer(0,TrixBuffer);

SetIndexBuffer(1,SignBuffer);

SetIndexBuffer(2,work);

//

//

//

//

//

IndicatorShortName("Trix ("+TrixPeriod+")");

return(0);

}

//

//

//

//

//

int start()

{

int limit,i,counted_bars=IndicatorCounted();

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

if(counted_bars>0) counted_bars--;

limit = MathMin(Bars-counted_bars,Bars-1);

//

//

//

//

//

for(i=limit; i>=0; i--)

{

work = iEma(iEma(iEma(MathLog(iMA(NULL,0,1,0,MODE_SMA,TrixPrice,i)),TrixPeriod,i,0),TrixPeriod,i,1),TrixPeriod,i,2);

if (work!=0)

TrixBuffer = 10000*(work-work)/work;

else TrixBuffer = 0.00;

SignBuffer = iLinr(TrixBuffer,SignalPeriod,i,0);

}

//

//

//

//

//

return(0);

}

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

//|

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

//

//

//

//

//

double workEma[][3];

double iEma(double price, double period, int r, int instanceNo=0)

{

if (ArraySize(workEma)!= Bars) ArrayResize(workEma,Bars); r = Bars-r-1;

//

//

//

//

//

double alpha = 2.0 / (1.0+period);

workEma[r] = workEma[r-1]+alpha*(price-workEma[r-1]);

return(workEma[r]);

}

//

//

//

//

//

double workLinr[][1];

double iLinr(double price, double period, int r, int instanceNo=0)

{

if (ArraySize(workLinr)!= Bars) ArrayResize(workLinr,Bars); r = Bars-r-1;

//

//

//

//

//

period = MathMax(period,1);

workLinr[r] = price;

double lwmw = period; double lwma = lwmw*price;

double sma = price;

for(int k=1; k=0; k++)

{

double weight = period-k;

lwmw += weight;

lwma += weight*workLinr[r-k];

sma += workLinr[r-k];

}

return(3.0*lwma/lwmw-2.0*sma/period);

}