Forex
Google

Go Back   Forex Trading > Discussion Areas > Suggestions for Trading Systems
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2005, 09:28 PM
donb01 donb01 is offline
Member
 
Join Date: Nov 2005
Posts: 53
donb01 is on a distinguished road
GBP 50pip need programmer

I have a system that I have consistently gotten 50 pips per day for the last two years and would like to share it.

however I need someone to program an ADX indicator with the following parameters for MT4 and the abillity to change the settings of DI and ADX:


Directional Movement Index (DMI)

formula

1. The Directional movement:
If today's High is higher than yesterday's High then:
+DM = today's High - yesterday's High

If today's Low is lower than yesterday's Low then:
-DM = yesterday's Low - today's Low

If +DM is greater than -DM then:
-DM = 0
If +DM is less than -DM then:
+DM = 0

2. The true range:
True range is the largest of:
today's High - today's Low,
|today's High - yesterday's Close|, and
|yesterday's Close - today's Low|

3. Moving average of +DM, -DM and True Range:
+DMMA = exponential moving average of +DM
-DMMA = exponential moving average of -DM
TRMA = exponential moving average of True Range

4. The Directional Indicators:
+DI = +DMMA / TRMA
-DI = -DMMA / TRMA

5. Directional Index:
DX = |(+DI - (-DI))| / (+DI + (-DI))

6. The Average Directional Movement Index:
ADX = the exponential moving average of DX

resource codes

for(i=0; i<n; i++)
{
if(m_aHigh[i]>m_aHigh[i+1])
aPDM[i]=m_aHigh[i]-m_aHigh[i+1];

if(m_aLow[i]<m_aLow[i+1])
aNDM[i]=m_aLow[i+1]-m_aLow[i];

if(aPDM[i]>0.0)&&((aNDM[i]>0.0))
{
if(aPDM[i]>aNDM[i])
aNDM[i]=0.0;
else
aPDM[i]=0.0;
}

da=fabs(m_aHigh[i]-m_aLow[i]);
db=fabs(m_aHigh[i]-m_aClose[i+1]);
dc=fabs(m_aLow[i]-m_aClose[i+1]);
dd=max(da,db);
aTR[i]=max(dd,dc);
}

EMA(aPDM, p1, aPDMMA);
EMA(aNDM, p1, aNDMMA);
EMA(aTR, p1, aTRMA);

for(i=0; i<n-p1; i++)
{
if(aTRMA[i]!=0.0)
{
m_aPDI[i]=aPDMMA[i]/aTRMA[i]*100.0;
m_aNDI[i]=aNDMMA[i]/aTRMA[i]*100.0;
}
if(m_aPDI[i]!=-m_aNDI[i])
aADX[i]=fabs(m_aPDI[i]-m_aNDI[i])/(m_aPDI[i]+m_aNDI[i]);
}
EMA(aADX, p1, m_aADXMA);

for(i=n-p1-1; i>=0; i--)
m_aADXMA[i]=m_aADXMA[i]*100.0;



The ADX indicators I have for mt4 are a different calculation for the +/- di and hence are terrible for signals




I ONLY TRADE THIS ON GBPUSD
This will not work well on euro and the avg. daily range of euro is too small

5 min charts with 5/13 EMA and DMI 34/14.......DMI+ and DMI- ==34 and ADX 14



we look at the ADX 14 , this is our grail , as soon as ADX turns up from below and crosses 20 marked by WHITE line , we r ready to trade……….
On completetion of next candle[ 5 min candle] we place a buy order @ +5 of high of last candle { pls note that 5/13 EMAS would have crossed much b4 we enter our LONG trade} .Now we keep making it +5 of high of last candle , even if price starts to FALL , so now as soon as it hits our mark we have a LONG trade.
3….STOP LOSS…….we put a loss at -35 {includes 5 pips for broker}.
4…PROFITS…….1….we set limit order to take @ +50 pips
……………………2….we take Ό @ +25 , next Ό @ +50 , next Ό @ +75 and last Ό @ +100
……………………3…we take 2/3 @ +50 and with rest 1/3 we can play around.
5…WHEN NOT TO TRADE…….1…..During major Data time (NFP)
…………………………………….2…when made 50 pips for the day.
6…WHEN TO TRADE………….1…Between 2am EST to 12 noon EST[ not b4 and not after]
…………………………………2…whenever u need 50 pips, pls don’t get addicted to trading

Once in profit of 30 + pips move stop loss to b/e


Important info:

GBP support / resistance levels to figure these out we take the daily high and low from
3 p.m. est. and add or subtract these # from it depending on which way we are trading.

The # are: 100, 150, 200 and 250.
100 and 150 are moderate s/r levels you will see price action hesitate at these levels but usually go through however not always some times price will reverse at these levels so you need to watch them.
200 and 250 are strong levels. Price will most of the time stop and sometimes reverse at these levels so watch these like a hawk and take profits early if price starts hesitating too much when getting close to them.

Quick example of figuring these levels;

Take the 3 pm est write down the high and low of the previous 24 hrs and add / subtract the levels from there.






High = 1.7590 low= 1.7350

I get a signal to go long at 1.7395
Resistance levels will be 7350 + 100 = 1.7450
7350 + 150 = 1.7500
7350 + 200 = 1.7550
7350 + 250 = 1.7600

with a signal to go lon at 1.7395 I know I have a resistance point to watch for at 7450 but my target will be in the 7445 – 7450 range however I know that 100 is a weaker s/r level but will pay attention to price in the 1.7430 + range and close early for a profit if need be.

If my target for 50 pips was at 1.7550 + I know that if the market is not moving strongly I probably will close for 30 or 40 pips instead of waiting for 50.

This is an easy system to use. Watch it while demo trading it and you will get the feel for how important the 100 & 150 levels are. If there is data coming out the data can strengthen the lower levels.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-21-2005, 12:27 AM
erwin1680 erwin1680 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 9
erwin1680 is on a distinguished road
how do you get todays highs and lows in your equation is this at 3pm eastern? thanks sounds interesting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-21-2005, 03:45 AM
donb01 donb01 is offline
Member
 
Join Date: Nov 2005
Posts: 53
donb01 is on a distinguished road
Quote:
Originally Posted by erwin1680
how do you get todays highs and lows in your equation is this at 3pm eastern? thanks sounds interesting
Yes my other chart service is on EST so 3pm eastern would be how theirs is calculated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-21-2005, 03:48 AM
donb01 donb01 is offline
Member
 
Join Date: Nov 2005
Posts: 53
donb01 is on a distinguished road
The yellow high lighted text above is here

The ADX indicators I have for mt4 are a different calculation for the +/- di and hence are terrible for signals
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-21-2005, 01:52 PM
4xCoder 4xCoder is offline
Member
 
Join Date: Nov 2005
Posts: 49
4xCoder is on a distinguished road
Correct ADX

I've attached the ADX coded to your formula. Try it out and let me know of any problems

On your system, you only trade long?
Attached Files
File Type: mq4 ADX2.mq4 (4.2 KB, 378 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-21-2005, 08:07 PM
JJLL JJLL is offline
Member
 
Join Date: Dec 2005
Posts: 55
JJLL is on a distinguished road
Interesting thread....

I've been trading the GBP/USD for over a year and have a system which will profit 150 to 250 pips a month. I'm looking for someone who can write a script for autotrading.

Don, you method sounds interesting. Can't wait to hear your results.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-21-2005, 08:36 PM
topgun topgun is offline
Junior Member
 
Join Date: Nov 2005
Posts: 6
topgun is on a distinguished road
hmmmmmm

Why do you have 2 Emas if in your system you dont use them?

Same question for DMI since you only use the ADX ??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-22-2005, 03:40 AM
donb01 donb01 is offline
Member
 
Join Date: Nov 2005
Posts: 53
donb01 is on a distinguished road
Quote:
Originally Posted by VideoJ
I've attached the ADX coded to your formula. Try it out and let me know of any problems

On your system, you only trade long?
thanks for the indicator I will try it out.

Also thanks to others for the interest in the thread.

I trade long and short as long as ADX has crossed from below. I am looking at different ways to filter the trades to possibly cut down more on the losers


"Why do you have 2 Emas if in your system you dont use them?

Same question for DMI since you only use the ADX "

The EMAs are there out of habit but they and the DMI can be a warning of a change in direction
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-22-2005, 02:03 PM
donb01 donb01 is offline
Member
 
Join Date: Nov 2005
Posts: 53
donb01 is on a distinguished road
trade for 12.22.05

here is a comparison of the two charts, there is something different with the ADX in mt4.
My fxnews charts gave a nice signal for +50 pip short at 2:15 EST and mt4 chart gave no signal.

any ideas ?


in regards to the fxnews chart if you look there was another signal to go short again at 8:25, 1.7330 area however yesterday high was 1.7590 and strong support was at 1.7340 / 1.7390 which was 200 / 250 pips from the high of yesterday so I did not take that trade and as you can see GBP reversed there. there is a possible long trade starting to develop now however we are getting close to 12:00 EST and I have gotten my 50 for the day so not sure if I will take it.
Attached Images
File Type: bmp fxnews 12.22.bmp (2.51 MB, 779 views)
File Type: bmp mt4 12.22.bmp (1.71 MB, 526 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12-22-2005, 02:07 PM
donb01 donb01 is offline
Member
 
Join Date: Nov 2005
Posts: 53
donb01 is on a distinguished road
I may take this long because now there is a 5 / 13 cross on the 30 min chart, if the ADX crosses the 20 on the 5min. as late as it is this trade may only be worth 20 or 30 pips but if it allows me to play I will definatly close around noon est.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
programmer please deepdrunk Indicators - Metatrader 4 0 03-29-2007 11:58 PM
Need an EA programmer forexfanos Metatrader 4 1 10-20-2006 08:48 AM
EA Programmer gkozlyk Expert Advisors - Metatrader 4 3 05-22-2006 04:50 AM


All times are GMT. The time now is 10:43 AM.