Indicators with alerts/signal - page 444

mrkentet
33
mrkentet  

RSIOMA three colors

mrtools:
Hi Mrkentet, Added the color change,

Hi mrtools,

Sorry to keep bother you with asking to created an indicators because I am not really understand to make program code.

Perhaps you have in your collection RSIOMA with three colors ? Or perhaps you can created this indicator ?

It will help alot on suggest my visualisation and my psychology for the current trend.

Here I also included the image for this three colors RSIOMA but its built in another platform I guess ( not MT4 )

Thank you in advance for your help

Files:
William Snyder
9493
William Snyder  
mrkentet:
Hi mrtools,

Sorry to keep bother you with asking to created an indicators because I am not really understand to make program code.

Perhaps you have in your collection RSIOMA with three colors ? Or perhaps you can created this indicator ?

It will help alot on suggest my visualisation and my psychology for the current trend.

Here I also included the image for this three colors RSIOMA but its built in another platform I guess ( not MT4 )

Thank you in advance for your help

Hello Mrkentet,

Made this version looks similar.

mrkentet
33
mrkentet  
mrtools:
Hello Mrkentet, Made this version looks similar.

Hi mrtools,

Its super fantastic that you do for this forum !!!

Thank you very much for your fast on built this indicator for me.

Now I will also try to test the alert on this indicator.

Great Job Master !!!

golestanfx2
12
golestanfx2  
mrtools:
Hello Golestanfx2, In the message part of the alert try changing TimeLocal() to TimeCurrent() that should do it for you.

God bless you man thanks again

dnkzeen
3
dnkzeen  

1-2-3 indicator coding help

can someone please encode this indicator for me so it gives off the alert once the line is equal to or passes the Fibonacci retracement at 50 instead of a 100... i am just curious a trying something. i would really appriciate it.

macerina
161
macerina  

Any possibility to make this non repainting after the bar close

mrtools:
Hi Wolfsch, This is a fixed uni cross, its stand alone but still dangerous to the health of your account. If the arrows move now its because of the half cycle recalculating.

uni_cross_alerts.mq4

Mr tools , This is comparitively a better version but still some times i see the arrow moving Any possibility to make this non repainting after the bar close or is there any other indicator which could give similar results without repainting

Thanks in advance

Files:
William Snyder
9493
William Snyder  
macerina:
uni_cross_alerts.mq4

Mr tools , This is comparitively a better version but still some times i see the arrow moving Any possibility to make this non repainting after the bar close or is there any other indicator which could give similar results without repainting

Thanks in advance

Macerina, the indicator uses TriangularMa Centered Ma, which naturally recalculates, so the signal arrows will move, as far as similar results without repainting probably anything, because the results seen with the TriangularMa Centered Ma unicross are meant for estimation only.

macerina
161
macerina  
mrtools:
Macerina, the indicator uses TriangularMa Centered Ma, which naturally recalculates, so the signal arrows will move, as far as similar results without repainting probably anything, because the results seen with the TriangularMa Centered Ma unicross are meant for estimation only.

Thank You for the update MrTools

I am just searching for some good scalping indicator with good risk reward ratio this is good but still i am hoping to find something better which gives good turning points at support and resistance will keep trying .

Thanks for your help.

legendre
16
legendre  

Hello and congratulations to those who give their time to encode

Is it possible to have arrows or better color bars chart on the intersection of two indicators.

thank you

nonlag_ma_nrp_2.mq4slope_direction_line_alert.mq4

vrashtekar
140
vrashtekar  

Advance Ma code required

Please find below, advance ma indicator in afl code....I need the same in MT4 ..please help

Thanks in advance

/////////////////Optimize////////////////////

x = Optimize("B", 20, 1, 30, 1 );

y = Optimize("S", 20, 1, 30, 1 );

z = Optimize("L", 30, 2, 100, 2 );

/////////////////PercentR////////////////////

function PercentR( periods )

{

return -100 * ( HHV( H, periods ) - C )/( HHV( H, periods ) - LLV( L, periods

) );

}

/////////////////TrendScore ////////////////////

TrendScore =

IIf(C>=Ref(C,-11),1,-1)+

IIf(C>=Ref(C,-12),1,-1)+

IIf(C>=Ref(C,-13),1,-1)+

IIf(C>=Ref(C,-14),1,-1)+

IIf(C>=Ref(C,-15),1,-1)+

IIf(C>=Ref(C,-16),1,-1)+

IIf(C>=Ref(C,-17),1,-1)+

IIf(C>=Ref(C,-18),1,-1)+

IIf(C>=Ref(C,-19),1,-1)+

IIf(C>=Ref(C,-20),1,-1);

/////////////////AROON////////////////////

Period = 14;

LLVBarsSince = LLVBars(L, Period) + 1;

HHVBarsSince = HHVBars(H, Period) + 1;

AroonDn = 100 * (Period - LLVBarsSince) / (Period - 1);

AroonUp = 100 * (Period - HHVBarsSince) / (Period - 1);

/////////////////Basic////////////////////

_SECTION_BEGIN("Price");

SetChartOptions(0,chartShowArrows|chartShowDates);

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g,

Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));

Plot( C, "Close", ParamColor("Color", colorBlack ), styleLine);

_SECTION_END();

_SECTION_BEGIN("EMA");

P = ParamField("Price field",-1);

Periods = Param("Periods", 7, 2, 200, 1, 10 );

Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),

ParamStyle("Style") );

_SECTION_END();

_SECTION_BEGIN("EMA2");

P = ParamField("Price field",-1);

Periods = Param("Periods", 15, 2, 200, 1, 10 );

Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),

ParamStyle("Style") );

_SECTION_END();

_SECTION_BEGIN("EMA1");

P = ParamField("Price field",-1);

Periods = Param("Periods", 15, 2, 200, 1, 10 );

Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),

ParamStyle("Style") );

_SECTION_END();

_SECTION_BEGIN("Percent Bands");

P = ParamField("Price field",-1);

Periods = Param("Periods", 15, 2, 100, 1 );

Width = Param("Width%", 2, 0, 10, 0.05 );

Color = ParamColor("Color", colorCycle );

Style = ParamStyle("Style");

CenterLine = EMA( P, Periods );

Plot( (1 + Width * 0.01) * CenterLine, "%EnvTop" + _PARAM_VALUES(), Color,

Style );

Plot( (1 - Width * 0.01) * CenterLine, "%EnvBot" + _PARAM_VALUES(), Color,

Style );

_SECTION_END();

_SECTION_BEGIN("Percent Bands1");

P = ParamField("Price field",-1);

Periods = Param("Periods", 15, 2, 100, 1 );

Width = Param("Width%", 2, 0, 10, 0.05 );

Color = ParamColor("Color", colorCycle );

Style = ParamStyle("Style");

CenterLine = EMA( P, Periods );

Plot( (1 + Width * 0.01) * CenterLine, "%EnvTop" + _PARAM_VALUES(), Color,

Style );

Plot( (1 - Width * 0.01) * CenterLine, "%EnvBot" + _PARAM_VALUES(), Color,

Style );

_SECTION_END();

_SECTION_BEGIN("EMA3");

P = ParamField("Price field",-1);

Periods = Param("Periods", 15, 2, 200, 1, 10 );

Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),

ParamStyle("Style") );

_SECTION_END();

_SECTION_BEGIN("EMA4");

P = ParamField("Price field",-1);

Periods = Param("Periods", 15, 2, 200, 1, 10 );

Plot( EMA( P, Periods ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),

ParamStyle("Style") );

_SECTION_END();

/////////////////Twiggs Money Flow////////////////////

periods = Param( "Periods", 21, 5, 200, 1 );

TRH=Max(Ref(C,-1),H);

TRL=Min(Ref(C,-1),L);

TR=TRH-TRL;

ADV=V*((C-TRL)-(TRH-C))/ IIf(TR==0,9999999,TR);

WV=V+(Ref(V,-1)*0);

SmV= Wilders(WV,periods);

SmA= Wilders(ADV,periods);

TMF= IIf(SmV==0,0,SmA/SmV);

///////////////////////////Buy/////////////////////////////////

//PositionSize=1500;

Buy=IIf((ADX(14)>20 AND ADX(14)>Ref(ADX(14),-1)) OR V>EMA(V,20)

,EMA(C,5)>EMA(C,63) AND EMA(C,63)>Ref(EMA(C,63),-1)

AND Close>Open

//AND C>1 AND EMA(V,20)*EMA(C,20)>50000

AND AroonUp>70

//AND TMF>0

AND TSF(percentR(14),30)>-50

AND trendscore>5,0);

///////////////////////////Sell/////////////////////////////////

Sell=IIf ((ADX(14)>20 AND ADX(14)>Ref(ADX(14),-1)) OR V>EMA(V,20),

C<EMA(C,30)

//AND Close<Open

//AND EMA(percentR(14),30)<-50

//AND trendscore<-5

AND TMF0 AND C<0.97*EMA(C,30))

AND AroonDn>70

,(EMA(C,5)<0.97*EMA(C,63))

//AND Close<Open

//AND EMA(percentR(14),30)<-50

//AND AroonDn>70

//AND TMF<0

//AND trendscore<-5

)

;

Buy = ExRem( Buy, Sell );

Sell = ExRem( Sell, Buy );

shape = Buy * shapeUpArrow + Sell * shapeDownArrow;

PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High )

);

//GraphXSpace = 105;

///////////////////////////Filter/////////////////////////////////

Filter=C>5;

//EMA(V,20)*EMA(C,20)>50000;

AddColumn( ADX(14), "ADX", 1.2 );

AddColumn( C, "C", 1.2 );

AddColumn( V, "V", 1.2 );

AddColumn( EMA(V,20), "EMAV20", 1.2 );

AddColumn( EMA(V,20)*EMA(C,20), "V*C", 1.2 );