Raw Ideas - page 27

 

indicators of EURUSD and GBPUSD

Hello, Friends

I am needing indicators of EURUSD and GBPUSD for MT4 of Northfinance and of as they work.

Thank you for the attention,

 

I need Help to finish my Expert Advisor

here are my my indicator and EA , could you complete the EA using the indicator ?

Files:
 

EA For Jurik Indicators

Could anyone make an EA for Jurik Indicator-JRSX.

It gives very good results and it has no false signals, lagging etc.

Only thing is one got to stick with the indicator and have truck loads of patience. yeah....the usual stuff to be patient, hardworking and deciplined goes here too.

An EA would do a better job as I would be able to manage all currencies and be free

For newbies...put the JJMA series in include folder inside metatrader folder in program files and JRSX in indicators folder.

I hope Igorad and codersguru will have a look at it and would make an EA..thanks

Files:
jsrx.zip  8 kb
 

price explosion

any one have develop a method to trade price explosions usong bollinger band or any thing like that ..or any one have indecators to trade this conditions..........!!!!!!!!!!!!!!

 

Pivot Strategies

first

Calculating Pivot Points

By definition, a pivot point is a point of rotation. The prices used to calculate the pivot point are the previous period's high, low and closing prices for a security. These prices are usually taken from a stock's daily charts, but the pivot point can also be calculated using information from hourly charts. Most traders prefer to take the pivots, as well as the support and resistance levels, off of the daily charts and then apply those to the intraday charts (for example, hourly, every 30 minutes or every 15 minutes). If a pivot point is calculated using price information from a shorter time frame, this tends to reduce its accuracy and significance.

to calculate pivot :

http://www.investirent.info/pivotcalculator.html

Applying Pivot Points to the FX Market

Generally speaking, the pivot point is seen as the primary support or resistance level. The following chart is a 30-minute chart of the currency pair GBP/USD with pivot levels calculated using the daily high, low and close prices.

The green line is the pivot point (P).

The red lines are resistance levels (R).

The blue lines are support levels (S).

The yellow lines are mid-points (M).

more details here

http://investirent.info/forum/index.php/topic,80.0.html

 

Pivot

Hi,

thanks for your pivot information...

Until now I'm still using camarilla pivot for daily trading + break system ofcourse..

==================

Forex Indicators Collection

 

Simple EA Programming Help

Hello,

I have this simple EA that is based on the OsMA indicator. It'd not designed to get rich but I'm trying to get a hang of this programming thing. I would like to add two things to it. I was wondering if anyone can help, here they are:

1. I only want one trade opened per a bar. Right now, it Open/Closes an order in a single bar because the Open signal is based on simply being above and below 0. Therefore as it fluctuates around 0 a bunch of losing trades are executed.

2. Also, how do you make an EA that holds on making a trade until the conditions are met again. Right now, I guess my condition is almost always met, but I would like it to take the profit and then wait for the reversal, not buy again because the condition of being above 0 is met.

Any thoughts or help?

Thanks

Eric

Files:
 

Best parameter for RSI

Hi

Can any1 tell me the best parameter for RSI for 4 hour time frame.

Thnx

kevin

 

help with ema

Hi all,

I would like some help please with an indicator.

I'm looking to plot the pip spread of two ema's set @median price, to futher understand a stat.

thanks in advance

 

anybody can help me ?my code goes wrong

i'm a newbie in mql4 programming

i try to write my first Indicator

when the macd's value changed from under zero to above zero

play the sound .

i wrote it in start function

but when the data changed it always alert. i just want play ones

here is the code. any body here can help see what's wrong?

i use a variable bAlert to set the whether alert but it doesn't work!!!

//+------------------------------------------------------------------+

//| Custom MACD.mq4 |

//| Copyright ?2004, MetaQuotes Software Corp. |

//| http://www.metaquotes.net/ |

//+------------------------------------------------------------------+

#property copyright "Copyright ?2004, MetaQuotes Software Corp."

#property link "http://www.metaquotes.net/"

//---- indicator settings

#property indicator_separate_window

#property indicator_buffers 4

#property indicator_color1 Silver

#property indicator_color2 Red

#property indicator_color3 Green

#property indicator_color4 Red

#property indicator_width1 0

//---- indicator parameters

extern int FastEMA=12;

extern int SlowEMA=26;

extern int SignalSMA=9;

//---- indicator buffers

double MacdBuffer[];

double SignalBuffer[];

double ArrowUpBuffer[];

double ArrowDownBuffer[];

//---- alert Set

int bAlert=1;

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

//---- drawing settings

SetIndexStyle(0,DRAW_HISTOGRAM);

SetIndexStyle(1,DRAW_LINE,3);

SetIndexStyle(2,DRAW_ARROW);

SetIndexStyle(3,DRAW_ARROW);

SetIndexArrow(2,233);

SetIndexArrow(3,234);

SetIndexDrawBegin(1,SignalSMA);

IndicatorDigits(Digits+1);

//---- indicator buffers mapping

SetIndexBuffer(0,MacdBuffer);

SetIndexBuffer(1,SignalBuffer);

SetIndexBuffer(2,ArrowUpBuffer);

SetIndexBuffer(3,ArrowDownBuffer);

//---- name for DataWindow and indicator subwindow label

IndicatorShortName("MACD("+FastEMA+","+SlowEMA+","+SignalSMA+")");

SetIndexLabel(0,"MACD");

SetIndexLabel(1,"Signal");

SetIndexLabel(2,"ArrowUp");

SetIndexLabel(3,"ArrowDown");

//---- initialization done

return(0);

}

//+------------------------------------------------------------------+

//| Moving Averages Convergence/Divergence |

//+------------------------------------------------------------------+

int start()

{

int limit;

int counted_bars=IndicatorCounted();

//---- last counted bar will be recounted

if(counted_bars>0) counted_bars--;

limit=Bars-counted_bars;

//---- macd counted in the 1-st buffer

for(int i=0; i<limit; i++){

MacdBuffer=iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,i)-iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,i);

}

//---- set arrowbufs

for(i=0; i<limit; i++){

//up

if (MacdBuffer0){

if(Digits==4)

ArrowUpBuffer=MacdBuffer- 0.0005;

else

ArrowUpBuffer=MacdBuffer- 0.1;

if(bAlert==1/*&& Period()==15*/){

Alert("up i1 here",Bid);

PlaySound("alert.wav");

bAlert=0;

}

}

else if (MacdBuffer0&& MacdBuffer>0){

//if(Period()==15)

if(Digits==4)

ArrowUpBuffer=MacdBuffer- 0.0005;

else

ArrowUpBuffer=MacdBuffer- 0.1;

Alert("up i2 here",Bid);

bAlert =1;

}

else if (MacdBuffer0&& MacdBuffer>0&& MacdBuffer>0){

if(Digits==4)

ArrowUpBuffer=MacdBuffer- 0.0005;

else

ArrowUpBuffer=MacdBuffer- 0.1;

}

//down

if (MacdBuffer>0 && MacdBuffer<0){

if(Digits==4)

ArrowDownBuffer=MacdBuffer+ 0.0005;

else

ArrowDownBuffer=MacdBuffer+ 0.1;

if(bAlert==1/*&& Period()==15*/){

Alert("down here",Bid);

PlaySound("alert.wav");

bAlert=0;

}

}

else if (MacdBuffer>0 && MacdBuffer<0&& MacdBuffer<0){

if(Digits==4)

ArrowDownBuffer=MacdBuffer+ 0.0005;

else

ArrowDownBuffer=MacdBuffer+ 0.1;

Alert("down i2 here",Bid);

bAlert=1;

}

else if (MacdBuffer>0 && MacdBuffer<0&& MacdBuffer<0&& MacdBuffer<0){

if(Digits==4)

ArrowDownBuffer=MacdBuffer+ 0.0005;

else

ArrowDownBuffer=MacdBuffer+ 0.1;

}

}

//---- signal line counted in the 2-nd buffer

//for(i=0; i<limit; i++)

// SignalBuffer=iMAOnArray(MacdBuffer,Bars,SignalSMA,0,MODE_SMA,i);

//---- done

return(0);

}

//+------------------------------------------------------------------+

Reason: