Mladen Rakic
201567
Mladen Rakic  

Rsi signals ...

A version of Rsi indicator with signals and alerts made by Ivan Tretyakov

Files:
RIKI OLIVIER SR
259
RIKI OLIVIER SR  

Candle Pips Alerter (Only Alerts Down) - mladen please check code.

mladen,

Good day to you. Can you please take a look at the attached indicator that is supposed to alert when a candle moves x amount of pips up or down. Currently is only giving alerts for down and not up. No programming skills and i would really appreciate it if you can take a look at it for any errors. It is a really small written so program and don't look too complicated. Thank you very much.

riki

secretcode
898
secretcode  

-------------

Mladen Rakic
201567
Mladen Rakic  

...

rikiolivier

This is what I am getting on EURUSD at a moment :

Anyway, since I think that it is better to compare close to open than bid to open (they do not have to match, and often they don't, also bid is always the current bid, can not be retrieved a bid for previous bar (just in case if you plan to add alerts on closed bars)) made some small changes in the code, but already your code did alert the "down" too

rikiolivier:
mladen,

Good day to you. Can you please take a look at the attached indicator that is supposed to alert when a candle moves x amount of pips up or down. Currently is only giving alerts for down and not up. No programming skills and i would really appreciate it if you can take a look at it for any errors. It is a really small written so program and don't look too complicated. Thank you very much.

riki
RIKI OLIVIER SR
259
RIKI OLIVIER SR  

Many thanks for your support.

mladen:
rikiolivier

This is what I am getting on EURUSD at a moment :

Anyway, since I think that it is better to compare close to open than bid to open (they do not have to match, and often they don't, also bid is always the current bid, can not be retrieved a bid for previous bar (just in case if you plan to add alerts on closed bars)) made some small changes in the code, but already your code did alert the "down" too

mladen,

Thank you very very much for your assistance.

riki

Callmeblessed
15
Callmeblessed  

Alerts needed on these indicators

Hello everyone,

Hi Mladen, could you or someone please help me add a pop up with sound and email alerts on

these indicators. Let the alert occur at the first signal arrow or mark.

Or if someone has them with an alerts already, can you post them please. This will be greatly

appreciated.

Thanks in advance for the help.

blessed

Files:
pw79
21
pw79  

Adding alert to indicator??

Hi all,

I'm looking to add an alert to this indicator when the arrows appear. I haven't got a clue where to start. Could someone point me in the right direction please.

dollar-indi.mq4

Many thanks

Files:
Mladen Rakic
201567
Mladen Rakic  

...

Check this thread : https://www.mql5.com/en/forum/172952 )since the "dollar-indi" is a zig zag indicator. There is quite a few zigzag indicators on that thread that already have alerts and will alert you on the same places as "dollar-indi"

pw79:
Hi all,

I'm looking to add an alert to this indicator when the arrows appear. I haven't got a clue where to start. Could someone point me in the right direction please.

dollar-indi.mq4

Many thanks
pw79
21
pw79  
mladen:
Check this thread : https://www.mql5.com/en/forum/172952 )since the "dollar-indi" is a zig zag indicator. There is quite a few zigzag indicators on that thread that already have alerts and will alert you on the same places as "dollar-indi"

Thankyou! That's great.

rayz
20
rayz  

Need Alert For This Fibo Indicator

hello friend.

can someone help to put sound alert in this indicator so that we alert when price in area 38.2 and 23.6.

please help. this is fibo code indicator.

#property copyright "Copyright © 2009, Julien Loutre"

#property link "http://www.forexcomm.com"

#property indicator_chart_window

#property indicator_buffers 2

#property indicator_color1 LightSkyBlue

#property indicator_color2 Plum

extern int Band_Period = 15;

extern int price_type = 0; // 0 = High/Low | 1 = Open/Close

//---- buffers

double WWBuffer1[];

double WWBuffer2[];

double WWBuffer3[];

double ATR;

int init() {

IndicatorBuffers(2);

SetIndexStyle(0,DRAW_LINE,1);

SetIndexStyle(1,DRAW_LINE,1);

SetIndexLabel(0, "High");

SetIndexLabel(1, "Low");

SetIndexBuffer(0, WWBuffer1);

SetIndexBuffer(1, WWBuffer2);

IndicatorDigits(Digits+2);

IndicatorShortName("Automatic Fibonacci");

ObjectCreate("AutoFibo", OBJ_FIBO, 0, Time[0],High[0],Time[0],Low[0]);

return(0);

}

int deinit() {

ObjectDelete("AutoFibo");

}

int start() {

int counted_bars=IndicatorCounted();

int limit,i;

if(counted_bars>0) counted_bars--;

limit=Bars-counted_bars;

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

WWBuffer1 = getPeriodHigh(Band_Period,i);

WWBuffer2 = getPeriodLow(Band_Period,i);

ObjectSet("AutoFibo", OBJPROP_TIME1, Time);

ObjectSet("AutoFibo", OBJPROP_TIME2, Time[0]);

if (Open < Open[0]) { // Up

ObjectSet("AutoFibo", OBJPROP_PRICE1, getPeriodHigh(Band_Period,i));

ObjectSet("AutoFibo", OBJPROP_PRICE2, getPeriodLow(Band_Period,i));

} else {

ObjectSet("AutoFibo", OBJPROP_PRICE1, getPeriodLow(Band_Period,i));

ObjectSet("AutoFibo", OBJPROP_PRICE2, getPeriodHigh(Band_Period,i));

}

}

return(0);

}

double getPeriodHigh(int period, int pos) {

int i;

double buffer = 0;

for (i=pos;i<=pos+period;i++) {

if (price_type == 0) {

if (High > buffer) {

buffer = High;

}

} else {

if (Open > Close) { // Down

if (Open > buffer) {

buffer = Open;

}

} else {

if (Close > buffer) {

buffer = Close;

}

}

}

}

return (buffer);

}

double getPeriodLow(int period, int pos) {

int i;

double buffer = 100000;

for (i=pos;i<=pos+period;i++) {

if (price_type == 0) {

if (Low < buffer) {

buffer = Low;

}

} else {

if (Open > Close) { // Down

if (Close < buffer) {

buffer = Close;

}

} else {

if (Open < buffer) {

buffer = Open;

}

}

}

}

return (buffer);

}