
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
help plz alert
#property copyright "?2007 RickD"
#property link "https://www.mql5.com/go?link=http://www.e2e-fx.net/"
#define major 1
#define minor 0
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Yellow
#property indicator_width1 1
#property indicator_width2 1
extern int Fr.Period = 6;
extern int MaxBars = 500;
double upper_fr[];
double lower_fr[];
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void init() {
SetIndexBuffer(0, upper_fr);
SetIndexBuffer(1, lower_fr);
SetIndexEmptyValue(0, 0);
SetIndexEmptyValue(1, 0);
SetIndexStyle(0, DRAW_ARROW);
SetIndexArrow(0, 234);
SetIndexStyle(1, DRAW_ARROW);
SetIndexArrow(1, 233);
}
void start()
{
int counted = IndicatorCounted();
if (counted < 0) return (-1);
if (counted > 0) counted--;
int limit = MathMin(Bars-counted, MaxBars);
//-----
double dy = 0;
for (int i=1; i <= 20; i++) {
dy += 0.3*(High[i]-Low[i])/20;
}
for (i=0+Fr.Period; i <= limit+Fr.Period; i++)
{
upper_fr[i] = 0;
lower_fr[i] = 0;
if (is_upper_fr(i, Fr.Period)) upper_fr[i] = High[i]+dy;
if (is_lower_fr(i, Fr.Period)) lower_fr[i] = Low[i]-dy;
}
}
bool is_upper_fr(int bar, int period)
{
for (int i=1; i<=period; i++)
{
if (bar+i >= Bars || bar-i < 0) return (false);
if (High[bar] < High[bar+i]) return (false);
if (High[bar] < High[bar-i]) return (false);
}
return (true);
}
bool is_lower_fr(int bar, int period)
{
for (int i=1; i<=period; i++)
{
if (bar+i >= Bars || bar-i < 0) return (false);
if (Low[bar] > Low[bar+i]) return (false);
if (Low[bar] > Low[bar-i]) return (false);
}
return (true);
}
Hey Tonny!
Great EA.. however TP and SL don't work properly.. I tried with TP 70 and SL 50 but they don't work.. any idea?
There is a debugged version coming soon
2 candle before bottoming sale when you topped
Person who you know, I want to create a starter Thus
We made to put arrows and bell
Thanx in advance.
Please ask dream.
Hey Tonny!
Great EA.. however TP and SL don't work properly.. I tried with TP 70 and SL 50 but they don't work.. any idea?
There is a debugged version coming soon
that's great.. when will the new version be released?
thank you very much indeed
Great EA, Tonny!
Why do you use three MA? What does bc, bp and bl in each MA means?
Thanks in advance.
Ronan
Hy Tonny
Great EA , SL and TP work verry good and for 4 digit
For 4 digit SL will be 1 ( SL 10 pips ) , or 2 for 20 pips ........
Please add trailing , no ather modification
I put this EA on 15 min EUR/USD , GBP/USD , USD/CHF , USD/CAD , NZD/USD , AUD/USD with 10pips TP and 30 SL and every day make 100/150 pips
Hy Tonny
Great EA , SL and TP work verry good and for 4 digit
For 4 digit SL will be 1 ( SL 10 pips ) , or 2 for 20 pips ........
Please add trailing , no ather modification
I put this EA on 15 min EUR/USD , GBP/USD , USD/CHF , USD/CAD , NZD/USD , AUD/USD with 10pips TP and 30 SL and every day make 100/150 pips
care to share your MA values?
Which can Scan all the currency pairs and will ALERT with SOUND when there will be either cross-over or cross-below of PRICE of 50EMA for every 5 miutes.
Wud like to have above scanner/screener on MT4, which can work on 5minutes time frame.
START WITH 5000 IN DEMO ... IN 1ST DAY 160 PIPS EA TF 15 . TP10 SL30,,,,WORKS FINE 2ND DAY FROM 6400 TO 3600(LOST 13 TRADES X 30 PIPS X 1 LOT= -3900$(390PIPS) ..I THINK IT DOES NOT WORK OR NEEDS SOME UPDATES... THX IN ADVANCED...