Jump to content

[SHARE] 10 pips daily system


Recommended Posts

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Strategies don't come much simpler than this.

To quickly check the strategy against different pairs, I wrote a histogram indicator.

I'm not permitted to post attachments, so here's the code -

 

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

//| RSI_MA Cross Histo.mq4 |

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

#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 SteelBlue

#property indicator_style1 STYLE_SOLID

#property indicator_width1 2

#property indicator_color2 Crimson

#property indicator_style2 STYLE_SOLID

#property indicator_width2 2

 

//---- input parameters

extern int RSI_Period = 21;

extern int MinRSIcross = 0;

extern int FastMaPeriod = 5;

extern int SlowMaPeriod = 12;

extern int MaType = 1;

extern int MinMAcross = 0;

extern int shift = 1;

 

//---- indicator buffers

double UpHisto[];

double DnHisto[];

 

double points;

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

//| Custom indicator initialization function |

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

int init()

{

//---- indicators

SetIndexBuffer(0,UpHisto);

SetIndexStyle(0,DRAW_HISTOGRAM);

SetIndexBuffer(1,DnHisto);

SetIndexStyle(1,DRAW_HISTOGRAM);

 

//----

if(Digits==3 || Digits==5)

points = Point*10;

else points = Point;

 

return(0);

}

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

//| Custom indicator deinitialization function |

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

int deinit()

{

//----

 

//----

return(0);

}

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

//| Custom indicator iteration function |

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

int start()

{

if (Bars <= 10) return (0);

int counted_bars;//=IndicatorCounted();

if(counted_bars<0) return(-1);

//if(counted_bars>0) counted_bars--;

int limit=Bars-counted_bars;

//----

for (int i = limit; i >= 0; i--) {

double RSI = iRSI(NULL,0,RSI_Period,PRICE_CLOSE,i+shift);

double FastMa = iMA(NULL,0,FastMaPeriod,shift,MaType,PRICE_CLOSE,i);

double SlowMa = iMA(NULL,0,SlowMaPeriod,shift,MaType,PRICE_CLOSE,i);

 

UpHisto = 0;

DnHisto = 0;

if(RSI>50+MinRSIcross){

if(FastMa>SlowMa+MinMAcross*points){

UpHisto = 1;

}

}

if(RSI<50-MinRSIcross){

if(FastMa<SlowMa-MinMAcross*points){

DnHisto = 1;

}

}

}

//----

 

//----

return(0);

}

 

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

 

If long conditions are met, a blue histo bar shows.

If short conditions are met, a red histo bar shows.

If conditions are not met, no bar.

 

MinRSIcross and MinMAcross are included to filter some of the false trades.

(MinMAcross is in pips, adjusted for 4- and 5-digit brokers)

The shift variable is included because MA crosses often don't confirm

until the open of the next bar (hence the default value of 1)

 

Like most MA crosses, it seems best suited for longer trends.

 

enjoy

Link to comment
Share on other sites

Just copy between the +-----------+ at the top and +-----------+ at the bottom. Then paste into any text editor like Notepad and "Save-As" RSI_MA Cross Histo.mq4 in your MT4 Experts | Indicators folder. Then load this file in MetaEditor (F4) and click the compile button. Restart MT4 and it's all done. Hope this helps. Try it. It is easy to do and a good learning experience for you.
Link to comment
Share on other sites

Hi folks,

Thanks for the feedback - very kind of you.

To make it easier, I've opened a mediafire account.

The indicator has been tidied up and put here -

 

http://www.mediafire.com/?jjwdn9dxb0a4fb6

 

(should have done this before - sorry)

 

Purely mechanical strategies (no trader discretion involved)

can usually be coded this way for testing.

 

I don't mind trying others if you need them.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
This might be a simplistic ****** system but on the one hour chart it is almost impossible on a major pair to find a losing trade when the criteria of RSI crossing 50 and using a 10 pip take profit with a 15 pip stoploss. Check it out on some major pairs for yourself. I made over $600 in 2 days trading one lot at a time.
Link to comment
Share on other sites

This might be a simplistic ****** system but on the one hour chart it is almost impossible on a major pair to find a losing trade when the criteria of RSI crossing 50 and using a 10 pip take profit with a 15 pip stoploss. Check it out on some major pairs for yourself. I made over $600 in 2 days trading one lot at a time.

 

 

So u traded the exact system except with SL 15 pip and it is very profitable?

Link to comment
Share on other sites

I tested this for the month of July on the Globex 6E contract (EUR/USD pair equivalent) on a 60 minute chart with Amibroker on 400 different combinations of stop and profit target (including 10 pips profit and 15 pips stop) and it failed miserably. Not 1 winning combination.

 

It doesn't matter if you trade it with 1 pair or 6. It's a loser.

 

Now, I did this on a 24 hour period. If you want to limit it to certain tradeable hours (give in EST) then that's easy enough to test as well. But, just looking over the sequences of winners and losers over a 24 hour period, there is no sweet spot where sequences of winning trades are always popping up.

 

If it's as good as claimed, simple backtesting will reveal this. It's not. Sorry to be the bearer of bad news.

Link to comment
Share on other sites

Using a 10 pip take profit and a 15 pip stoploss and the 21 RSI cross of the 50 on the EUR/USD beginning on 7/30/12 through 8/8/12 I had 9 trades and no losses. The following is EST time.

7/30 2100, 7/31 0500, 8/1 0100, 8/1 1000, 8/2 0300, 8/2 0800, 8/3 0200, 8/6 0800, 8/8 1800. With the exception of the trade on 8/3 which gave me 64 pips the others were 10 each for a total of 144 pips on this one pair with zero losses. At the same time there were 7 winners and 2 losers on the EU/JP, 7 winners and 1 loser on the AU/US and 8 winners and 1 loser on the AU/JP. I netted a little over $3000.00 in 8 days. I am not trying to sell this thing because it is free but in a market like we are in now plus the fact it is August I am happy with almost $400 a day.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...