Indicators with alerts/signal - page 1325

 

Made more user friendly stochastic (and some code simplification) : stochhistogram__arrows__alerts_mtf_1_1.mq4

 

hi mladen can you point me to a stoch indi which alerts when stoch crosses at 80/70 and 20/30 at the next candle?

with arrows would also be great

ive tried some but they will alert long after the crosses

 
shay14:
hi mladen can you point me to a stoch indi which alerts when stoch crosses at 80/70 and 20/30 at the next candle?

with arrows would also be great

ive tried some but they will alert long after the crosses

Shay14, have this one maybe it will work for you.

stochastic_obos_alerts__arrows.mq4

 
ruckser:
Re: Indicators with alerts/signal

Hello Brothers, i need help with MBFX Timing is it possible to add an alert when a yellow color appear on MBFX so i can be alerted? If its possible please i need your help or if there is anyone with the MBFX Timing indicator with specification i mentioned he can share with me i will appreciate it.

Thanks.

Mrtools, I honestly thought that mq4 extension files are source code! So how does one identify decompiled versions if this one is decompiled? Such a basic question!

 

Hi, mladen/ mrtools, please modify attached indicator. I dont want support 1,2,3, and resistance 1,2,3.also stoploss and candle time on main chart, . I want only

buy/sell price and profit in pips. Also I want Alert when signal appears[current/closed candle] Doda-Donchian_v2_mod_fix (1).mq4

 
Jozy:
Mrtools, I honestly thought that mq4 extension files are source code! So how does one identify decompiled versions if this one is decompiled? Such a basic question!

Jozy, actually they are the source code, but not the original source code. One way to identify if the file has been decompiled is if in the header of the code it says this

/*

Generated by EX4-TO-MQ4 decompiler V4.0.224.1 []

Website: http://purebeam.biz

E-mail : purebeam@gmail.com

*/

another way if the parameters read like this

int g_period_76 = 20;

double gd_80 = 2.0;

int g_period_88 = 13;

int g_period_92 = 21;

double gd_96 = 2.0;

int gi_104 = 1;

int g_period_108 = 21;

int gi_112 = 50;

int gi_116 = 50;

when it originally probably was like this

int BandsPeriod = 20;

double BandsDeviation = 2.0

int MaPeriod1 = 13;

etc.

when the file has been decompiled the decompiling process makes the normal easy to understand code almost impossible to understand.

 

Mrtools, I am very grateful for the tuition! Excellent

 

NEED ALERT IN THIS CODE PLZ HELP //+------------------------------------------------------------------+ //| MA_BBands.mq4 | //| Copyright 2005-2014, MetaQuotes Software Corp. | //| http://www.mql4.com | //| E-MAIL:40468962@qq.com | //+------------------------------------------------------------------+ #property copyright "2005-2014, MetaQuotes Software Corp." #property link "http://www.mql4.com" #property indicator_chart_window #property indicator_buffers 5 #property indicator_color1 White #property indicator_color2 White #property indicator_color3 Blue #property indicator_color4 Red #property indicator_color5 Yellow #property indicator_width1 2 #property indicator_width2 2 #property indicator_width3 1 #property indicator_width4 1 #property indicator_width5 1 extern int MoveShift = 12; extern int MAPeriod = 9 ; extern int OsMA = 3 ; extern int Dist2 = 20 ; //------------------------- extern double Std = 0.4 ; //0.5 extern int BPeriod = 20 ; //------------------------- double ExtMapBuffer1[]; double ExtMapBuffer2[]; double ExtMapBuffer3[]; double ExtMapBuffer4[]; double ExtMapBuffer5[]; //------------------- int init() { IndicatorBuffers(5); SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,ExtMapBuffer1); SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(1,ExtMapBuffer2); SetIndexStyle(2,DRAW_ARROW); SetIndexArrow(2,233); SetIndexBuffer(2,ExtMapBuffer3); SetIndexEmptyValue(2,0.0); SetIndexStyle(3,DRAW_ARROW); SetIndexArrow(3,234); SetIndexBuffer(3,ExtMapBuffer4); SetIndexEmptyValue(3,0.0); SetIndexStyle(4,DRAW_LINE); SetIndexBuffer(4,ExtMapBuffer5); return(0); } //---------------------------------------- int deinit() {return(0);} //---------------------------------------- int start() { Comment( " MA_BBands_USDJPY_M5" ); int counted_bars=IndicatorCounted(); if(counted_bars0) counted_bars--; int limit=Bars-counted_bars; double OsMA_Now, OsMA_Pre; for(int i=limit-1; i>=0; i--) { double MAUP1 = iMA(NULL,0,MAPeriod,-MoveShift,MODE_SMA,PRICE_HIGH,i); double BB_UP = iBands(NULL,0,BPeriod,Std,0,PRICE_HIGH,MODE_UPPER,i); double MA_HIGH = iMA(NULL,0,4,0,MODE_LWMA,PRICE_HIGH,i); double MADN1 = iMA(NULL,0,MAPeriod,-MoveShift,MODE_SMA,PRICE_LOW,i); double BB_DN = iBands(NULL,0,BPeriod,Std,0,PRICE_LOW ,MODE_LOWER,i); double MA_LOW = iMA(NULL,0,4,0,MODE_LWMA,PRICE_LOW,i); if (MAUP1>BB_UP) {ExtMapBuffer1=MAUP1+Dist2*Point; BB_UP=EMPTY_VALUE ;} else if (MAUP10.0 ) { if ( MADN1BB_DN) { ExtMapBuffer2=BB_DN ; MADN1=EMPTY_VALUE ; } } if (MADN1 ==0.0 ) { ExtMapBuffer2=BB_DN; MADN1=EMPTY_VALUE ;} //------------------------------------------------------------ OsMA_Now = iOsMA(NULL,0,5,9,OsMA,PRICE_CLOSE,i) ; OsMA_Pre = iOsMA(NULL,0,5,9,OsMA,PRICE_CLOSE,i+1) ; //------------------- if((OsMA_Now>0 && OsMA_Pre<0)&&(MA_LOW < ExtMapBuffer2) && (Low < ExtMapBuffer2) ) { ExtMapBuffer3 = Low-30*Point; } if((OsMA_Now0) && (MA_HIGH > ExtMapBuffer1) && (High > ExtMapBuffer1) ) { ExtMapBuffer4 = High+30*Point; } ExtMapBuffer5 = (ExtMapBuffer1 +ExtMapBuffer2)/2.0 ; } return(0); RefreshRates(); } //--------------------------------

 

NEED ALERT IN THIS CODE

Files:
ma_bbands.ex4  11 kb
ma_bbands.txt  5 kb
 
anuraghsr:
NEED ALERT IN THIS CODE

anuraghsr

As far as I see that is a Bollinger bands indicator. You can use any existing Bollinger bands with alerts for that pusrpose

Reason: