Indicators with alerts/signal - page 372

Mladen Rakic
154494
Mladen Rakic  

...

Sorry

Finding peaks (which is what fractals do) is not possible without "repainting" so ... it does not matter what settings you use, there are and always will be situations when fractal will be repainted (it is its nature)

user92:
thank you. Another important issue:

What is in your mind the best setting for the fractal period, say a 4h chart?

and how to stop the repaint stuff, is it a fractal.. ok.. paint and alert, but dont change it after some minutes...

how can we solve this problem?
pavaka
4412
pavaka  

...

Funny...for the last few days I was testing a system involving fractals/repainting, w/Mladen's indicator/non-repainting for confirmation, and I haven't had a loosing trade since the beginning of my test...on 1 minute chart which is more difficult...I am going to use that system on higher time frames...which is more reliable w/bigger moves...so far it was like a dream...trades lasting 5-25 minutes, with nice profit...

...and I do catch peaks with that system consistently...

user92
69
user92  
Pava:
Funny...for the last few days I was testing a system involving fractals/repainting, w/Mladen's indicator/non-repainting for confirmation, and I haven't had a loosing trade since the beginning of my test...on 1 minute chart which is more difficult...I am going to use that system on higher time frames...which is more reliable w/bigger moves...so far it was like a dream...trades lasting 5-25 minutes, with nice profit... ...and I do catch peaks with that system consistently...

is it the same indicator which mladen postet above, or is it another? can you please post it here?

thank you...

pavaka
4412
pavaka  

...

user92:
is it the same indicator which mladen postet above, or is it another? can you please post it here? thank you...

may be...still testing...not same...similar

rpasupathy
108
rpasupathy  

Thanks Mladen.

I renamed it for my convenience.

If possible can you code an EA sir. I will be very happy.

Thanks in advance.

Ganesh

mladen:
Nice indi :):)

But why is it renamed from "Elder impulse - mtf & histo" to StopAndReverse and why is the author name (whom I happen to know personaly) removed from the source?

As of EA : any EA that works using Elder impulse should work on that renko chart. If not, see Keit's thread of how can it be "forced" to work (this thread : https://www.mql5.com/en/forum/181239 )
pinkkrebs
51
pinkkrebs  

ichi - channel alert combined

Hello

would someone be so kind to help me with an alert for this indi? The idea for a combination of ichi breakouts and a Fibo-Channel is from me but the original code parts are not from me (one part from ichi360, the other from a coder named Kay)...i've just combined them.

I'm already getting an arrow but i would need a popup and email alert.

Thank you

#property indicator_chart_window

#property indicator_buffers 8

#property indicator_color1 Red

#property indicator_color2 Aqua

#property indicator_color3 GreenYellow

#property indicator_color4 GreenYellow

#property indicator_color5 Red

#property indicator_color6 Aqua

#property indicator_color7 Red

#property indicator_color8 Red

extern int TenkanSen = 9;

extern int KijunSen = 26;

extern int SenkoSpan = 52;

extern color BullishTextColor = RoyalBlue;

extern color BearishTextColor = Tomato;

extern bool KumoBreakoutSignal = TRUE;

extern bool KijunSenBreakoutSignal = FALSE;

extern bool TSKSCrossoverSignal = FALSE;

extern int SignalSize = 1;

extern int ArrowDistanceInPips = 10;

extern string PERIOD = "Enter Period for the Envelops";

extern int period = 55;

extern string DisplayLocation = "X and Y coord of Display";

extern int xEnvelops = 5;

extern int yEnvelops = 20;

bool gi_unused_116 = FALSE;

bool gi_unused_120 = FALSE;

double g_ibuf_76[];

double g_ibuf_80[];

double g_ibuf_84[];

double g_ibuf_88[];

double g_ibuf_92[];

double g_ibuf_96[];

double g_ibuf_100[];

double g_ibuf_104[];

int gi_348 = 0;

double filtersignal;

double filtersignal1;

int alertsignal;

int init() {

SetIndexStyle(0, DRAW_NONE);

SetIndexBuffer(0, g_ibuf_76);

SetIndexStyle(1, DRAW_NONE);

SetIndexBuffer(1, g_ibuf_80);

SetIndexStyle(2, DRAW_LINE);

SetIndexBuffer(2, g_ibuf_84);

SetIndexStyle(3, DRAW_LINE);

SetIndexBuffer(3, g_ibuf_88);

SetIndexStyle(4, DRAW_NONE);

SetIndexBuffer(4, g_ibuf_92);

SetIndexStyle(5, DRAW_NONE);

SetIndexBuffer(5, g_ibuf_96);

SetIndexStyle(6, DRAW_LINE);

SetIndexBuffer(6, g_ibuf_100);

SetIndexStyle(7, DRAW_LINE);

SetIndexBuffer(7, g_ibuf_104);

SetIndexLabel(6, "Top 138.2");

SetIndexLabel(2, "Top 61.8");

SetIndexLabel(3, "Bottom 61.8");

SetIndexLabel(7, "Bottom 138.2");

return (0);

}

int deinit() {

ObjectsDeleteAll();

return (0);

}

int start() {

double l_ichimoku_0;

double l_ichimoku_8;

double l_ichimoku_16;

double l_ichimoku_24;

double l_ichimoku_32;

double l_ichimoku_40;

double l_ichimoku_48;

double l_ichimoku_56;

double l_ichimoku_64;

double l_ichimoku_72;

double l_ichimoku_80;

double l_ichimoku_88;

ObjectsDeleteAll(0, OBJ_ARROW);

double ld_112 = ArrowDistanceInPips / 10000;

int li_unused_120 = 1;

bool UptrendAlert3,DntrendAlert3;

int li_0 = IndicatorCounted();

if (li_0 > 0) li_0--;

int li_4 = Bars - li_0;

for (int li_8 = li_4; li_8 >= 0; li_8--) {

g_ibuf_76[li_8] = Close[li_8] + MathSin(1.94052 * (High[li_8] - Low[li_8]));

g_ibuf_80[li_8] = Close[li_8] - MathSin(1.94052 * (High[li_8] - Low[li_8]));

g_ibuf_92[li_8] = Close[li_8] + MathSin(4.33948 * (High[li_8] - Low[li_8]));

g_ibuf_96[li_8] = Close[li_8] - MathSin(4.33948 * (High[li_8] - Low[li_8]));

}

for (li_8 = li_4; li_8 >= 0; li_8--) {

g_ibuf_84[li_8] = iMAOnArray(g_ibuf_76, 0, period, 0, MODE_LWMA, li_8);

g_ibuf_88[li_8] = iMAOnArray(g_ibuf_80, 0, period, 0, MODE_LWMA, li_8);

g_ibuf_100[li_8] = iMAOnArray(g_ibuf_92, 0, period, 0, MODE_LWMA, li_8);

g_ibuf_104[li_8] = iMAOnArray(g_ibuf_96, 0, period, 0, MODE_LWMA, li_8);

}

for (int li_124 = 1; li_124 <= Bars; li_124++) {

l_ichimoku_0 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_TENKANSEN, li_124);

l_ichimoku_8 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_TENKANSEN, li_124 + 1);

l_ichimoku_16 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_TENKANSEN, li_124 + 2);

l_ichimoku_24 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_KIJUNSEN, li_124);

l_ichimoku_32 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_KIJUNSEN, li_124 + 1);

l_ichimoku_40 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_KIJUNSEN, li_124 + 2);

l_ichimoku_48 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_SENKOUSPANA, li_124);

l_ichimoku_56 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_SENKOUSPANB, li_124);

l_ichimoku_64 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_SENKOUSPANA, li_124 + 1);

l_ichimoku_72 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_SENKOUSPANB, li_124 + 1);

l_ichimoku_80 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_SENKOUSPANA, li_124 + 2);

l_ichimoku_88 = iIchimoku(NULL, 0, TenkanSen, KijunSen, SenkoSpan, MODE_SENKOUSPANB, li_124 + 2);

string Msg,Subj;

if (KumoBreakoutSignal == TRUE) {

if (iClose(NULL, 0, li_124 + 2) < l_ichimoku_80 || iClose(NULL, 0, li_124 + 2) < l_ichimoku_88) {

if (iClose(NULL, 0, li_124 + 1) < l_ichimoku_64 || iClose(NULL, 0, li_124 + 1) < l_ichimoku_72) {

if (iClose(NULL, 0, li_124) > l_ichimoku_48 && iClose(NULL, 0, li_124) > l_ichimoku_56) {

filtersignal = iClose(NULL, 0, li_124) + 0.00170;

g_ibuf_84[li_124] = iMAOnArray(g_ibuf_76, 0, period, 0, MODE_LWMA, li_124);

if (g_ibuf_84[li_124] > filtersignal) {

ObjectCreate("KumoBreakoutBullish" + li_124, OBJ_ARROW, 0, Time[li_124], Low[li_124] - ld_112);

ObjectSet("KumoBreakoutBullish" + li_124, OBJPROP_ARROWCODE, 233);

ObjectSet("KumoBreakoutBullish" + li_124, OBJPROP_WIDTH, SignalSize);

ObjectSet("KumoBreakoutBullish" + li_124, OBJPROP_COLOR, BullishTextColor);

}

}

}

}

if (iClose(NULL, 0, li_124 + 2) > l_ichimoku_80 || iClose(NULL, 0, li_124 + 2) > l_ichimoku_88) {

if (iClose(NULL, 0, li_124 + 1) > l_ichimoku_64 || iClose(NULL, 0, li_124 + 1) > l_ichimoku_72) {

if (iClose(NULL, 0, li_124) < l_ichimoku_48 && iClose(NULL, 0, li_124) < l_ichimoku_56) {

filtersignal1 = iClose(NULL, 0, li_124) - 0.00170;

g_ibuf_88[li_124] = iMAOnArray(g_ibuf_80, 0, period, 0, MODE_LWMA, li_124);

if (g_ibuf_88[li_124] < filtersignal1) {

ObjectCreate("KumoBreakoutBearish" + li_124, OBJ_ARROW, 0, Time[li_124], High[li_124] + ld_112);

ObjectSet("KumoBreakoutBearish" + li_124, OBJPROP_ARROWCODE, 234);

ObjectSet("KumoBreakoutBearish" + li_124, OBJPROP_WIDTH, SignalSize);

ObjectSet("KumoBreakoutBearish" + li_124, OBJPROP_COLOR, BearishTextColor);

}

}

}

}

}

}

return (0);

}
Mladen Rakic
154494
Mladen Rakic  

Colored moving average with alerts ...

This is a non-repainting colored multi time frame moving average indicator with alerts added. In the alerts parameters you can choose if you want the alerts issued on current (still opened) bar or previous bar, do you want a message, sound and / or email. It will alert when the slope changes to up, down or (but it will happen very, very rarely) it goes flat

PS: time frames can be entered as text, no need to remember numbers. It uses the text from the periodicity bar. So weekly is W1 (you can enter 10080, but why remembering all those numbers )

ZANKY
49
ZANKY  

Is there anyone who can modify this indicator so the lines are shorter

not all away across the chart?

thanks in advance.

something like this would be great.

Mladen Rakic
154494
Mladen Rakic  

...

Try this one out

It is limited at exactly the periods it is using for finding highest high and lowest low in calculation

ZANKY:
Is there anyone who can modify this indicator so the lines are shorter

not all away across the chart?

thanks in advance.

something like this would be great.

Files:
Mladen Rakic
154494
Mladen Rakic  

Double ZigZag with no repaint alerts

This is a DoubleZigZag indicator with alerts added when bot ZigZags are aligned (orange dot on the chart). Since it is a ZigZag, it alerts the time when the zig zags were aligned and waits for another alignment. FractalZigZag indicator is needed by the double zig zag in order to work