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
Isn't the centre line that from which the outer lines' deviation is calculated? One thing is for sure, it's worth plotting that line as it is often a place of price reaction.
Hello ! everybody, this is what i done but i think it's cut, not cut down. Somebody help me :
int Order = SIGNAL_NONE;
double iBB = iBands(NULL,0,18,2,0,PRICE_CLOSE,MODE_SIGNAL,0);
double EMA = iMA(NULL,0,3,1,MODE_EMA,PRICE_CLOSE,0);
double MACD = iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,0);
double RSI = iRSI(NULL,0,14,PRICE_CLOSE,0);
if(iBB==EMA && RSI > 50 && MACD > 0 ) Order = SIGNAL_BUY;
if(iBB==EMA && RSI < 50 && MACD < 0 ) Order = SIGNAL_SELL;
//==================================================================
if (Order == SIGNAL_BUY){
Print("I am ready to BUY");
}
if (Order == SIGNAL_SELL){
Print("I am ready to SELL");
}
Hello ! everybody, this is what i done but i think it's cut, not cut down. Somebody help me :
int ......
Replace your code use SRC button
for giving code use SRC button see How to use the SRC button.
and replace your code..... then we can see how we translate your words into code
Now i want to check when EMA 3 cut down Middle Bollinger bands and
RSI 14 over 50%
and MACD Histogram over 0 the code return to me BUY.
IF EMA 3 cut down Middle Bollinger bands
and RSI 14 below 50%
and MACD Histogram below 0 the code return to me SELL.
RSI 14 over 50% return to me BUY.
RSI 14 below 50% return to me SELL.
Check this code..... line for line
next to do easy part same for....
MACD Histogram over 0 the code return to me BUY.
MACD Histogram below 0 the code return to me SELL.
you can make it show it...
But it is NOT an EMA. Look at Bands.mql4:
I didn't suggest anything other than that a centre line ought be included as it's part and parcel of the calculation of the bands themselves and as such can be an area of confluence. It's up to the EA's author to code it correctly, according to whatever their requirements are.
Just for info, taken from: http://www.investopedia.com/articles/technical/102201.asp
"Bollinger Bands® consist of a center line and two price channels (bands) above and below it. The center line is an exponential moving average; the price channels are the standard deviations of the stock being studied. The bands will expand and contract as the price action of an issue becomes volatile (expansion) or becomes bound into a tight trading pattern (contraction)."