I am looking for a simple reliable trend indicator. I really like the one being used in Electra, see the code below, not sure if anyone has it or could code it, any advice or other suggestions would be much appreciated.
I am looking for a simple reliable trend indicator. I really like the one being used in Electra, see the code below, not sure if anyone has it or could code it, any advice or other suggestions would be much appreciated.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
not EA but RIDI LEVELS MT4 (indi)
Use 111111111
I love RIDI to plot sup and res in high time frames
thx mr.chik
that indi most powerfull
This indicator is on this thread: https://www.mql5.com/en/forum/178329
This indicator is on this thread: https://www.mql5.com/en/forum/178329
Tks. ND !!
You guys know it, so how
If you guys know this indicator can anyone tell how to use it?
I see arrow and numbers near each line!
Share...
I love RIDI to plot sup and res in high time frames
please share few about RIDI Levels ?
Trend indicator
Hi Everyone,
I am looking for a simple reliable trend indicator. I really like the one being used in Electra, see the code below, not sure if anyone has it or could code it, any advice or other suggestions would be much appreciated.
Thanks in advance
//============================= Trend Detection =============
double MA1=iMA(NULL,PERIOD_M5,MAPeriod1,0,MODE_SMA,PRICE_ MEDIAN,1);
double Close1=iClose(NULL,PERIOD_M5,1);
int M5Bars=iBars(Symbol(),5);
if (M5Bars<200)
{
if (TimeCurrent()>TimeStart+DataTimeout)
{
Print(" Less than 200 bars of data on M5 Timeframe!!!. Execution stopped until data arrive.");
TimeStart=0;
}
Comment("\n Waiting to load M5 Data, We need at least 200 bars of data to run the M5 Moving Average Indicator");
return(0);
}
if (Close1 > MA1) {M5_Trend="UP";}
if (Close1 < MA1) {M5_Trend="DW";}
...
...
...
//========================== Comments =================
...
...
...
ObjectSetText("has_1",Symbol()+" TREND",10, "Arial Bold", LightBlue);
ObjectSetText("has_2","_______________",10, "Arial Bold", LightBlue);
ObjectSetText("has_3","H4 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_31",H4_Trend);
ObjectSetText("has_4","H1 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_41",H1_Trend);
ObjectSetText("has_5","M15 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_51",M15_Trend);
ObjectSetText("has_6","M5 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_61",M5_Trend);
...
...
...
//
//=================== Chart Trend Arrow ======================
//
void TrendArrow(string objname, string trend)
{
if (trend=="") ObjectSetText(objname,"?",9,"Arial Bold", Yellow);
if (trend=="UP") ObjectSetText(objname,"\xC7",10, "Wingdings 3", Lime);
if (trend=="DW") ObjectSetText(objname,"\xC8",10, "Wingdings 3", Red);
}
Hi Everyone,
I am looking for a simple reliable trend indicator. I really like the one being used in Electra, see the code below, not sure if anyone has it or could code it, any advice or other suggestions would be much appreciated.
Thanks in advance
//============================= Trend Detection =============
double MA1=iMA(NULL,PERIOD_M5,MAPeriod1,0,MODE_SMA,PRICE_ MEDIAN,1);
double Close1=iClose(NULL,PERIOD_M5,1);
int M5Bars=iBars(Symbol(),5);
if (M5Bars<200)
{
if (TimeCurrent()>TimeStart+DataTimeout)
{
Print(" Less than 200 bars of data on M5 Timeframe!!!. Execution stopped until data arrive.");
TimeStart=0;
}
Comment("\n Waiting to load M5 Data, We need at least 200 bars of data to run the M5 Moving Average Indicator");
return(0);
}
if (Close1 > MA1) {M5_Trend="UP";}
if (Close1 < MA1) {M5_Trend="DW";}
...
...
...
//========================== Comments =================
...
...
...
ObjectSetText("has_1",Symbol()+" TREND",10, "Arial Bold", LightBlue);
ObjectSetText("has_2","_______________",10, "Arial Bold", LightBlue);
ObjectSetText("has_3","H4 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_31",H4_Trend);
ObjectSetText("has_4","H1 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_41",H1_Trend);
ObjectSetText("has_5","M15 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_51",M15_Trend);
ObjectSetText("has_6","M5 Trend:",10, "Arial Bold", CadetBlue);
TrendArrow("has_61",M5_Trend);
...
...
...
//
//=================== Chart Trend Arrow ======================
//
void TrendArrow(string objname, string trend)
{
if (trend=="") ObjectSetText(objname,"?",9,"Arial Bold", Yellow);
if (trend=="UP") ObjectSetText(objname,"\xC7",10, "Wingdings 3", Lime);
if (trend=="DW") ObjectSetText(objname,"\xC8",10, "Wingdings 3", Red);
}its simple moving average base indicator shown aero on chart