View Single Post
  #6 (permalink)  
Old 05-08-2007, 05:51 AM
FerruFx FerruFx is online now
Senior Member
 
Join Date: Feb 2007
Posts: 716
FerruFx is on a distinguished road
As promised, here is code and instructions.

The code being heavy, it is in 2 files which are displayed in the same window. I joined also a "non standard" indicator which is displayed "WAE" on the chart. Some of you know it (Waddah_Attar_Explosion).

1. Copy all the mq4 files in your indicators folder

2. Open your terminal

3. Open a chart (this indicator works for any currency you want)

4. Open the navigator window.

5. Attach "FerruFx_Multi_info+" to the chart.

6. Drag and Drop "FerruFx_Multi_info+_2" on the 1st indicator window

7. Close the navigator window.

On the left side, you can see some infos about the open trade (works only for 1 trade opened)

In the middle, the calculation of the trend for 14 indicators for 8 TF (M1 to Weekly) and the global trend result UP or DOWN with its strength (strong or weak).

In the right side, the calculation of the daily pivots and range.

Settings for display the open trade info's:

AccountMini: true or false
LeverageToTrade: Leverage which you want to trade per position (e.g. you have a 200:1 account and you want to trade 10:1, just put 10). For the calculation of the maximum lot to trade
PipValue: Pip Value of the day

Settings for the strength result:

TrendStrongLevel: 75 (the level above which "strong" is displayed instead of "weak"

Some parameters "for test only" are available: the 2 indicators must have the same adjustments. This part is working good but sometimes some "up" or "down" are missed. I think history ticks for the calculation of some old time frame are missed.

If a pro-coder have an idea to make a code more "light" for put it on a unique file, i will be an happy man!

Now, here's my trade strategy with this indicator (i only trade GBPJPY, i didn't test other pairs):

1. Start trading at 00:00 GMT

2. At the first tick, i look the global UP/DOWN and open a BUY if "UP" or SELL if "DOWN"

3. My settings: Target Profit 90 pips, no sl, no ts.

4. At 23:59 GMT, if the target isn't reach, close the trade only if the trend reverse.

5. At 00:00 GMT, if the previous trade were close at 23:59 GMT, open an opposite position.

My test results from 2007/04/02: 26 trades, 66% win and +991 pips. This results are based on an open trade each day 00:00 GMT. Right now, i close only if the trend reverse (i save the spread!)

Test it, find the best settings.

Thanks for your comments.
Attached Files
File Type: mq4 FerruFx_Multi_info+.mq4 (66.7 KB, 3585 views)
File Type: mq4 FerruFx_Multi_info+_2.mq4 (70.6 KB, 3277 views)
File Type: mq4 Waddah_Attar_Explosion.mq4 (7.8 KB, 2796 views)
Reply With Quote