Go Back   Forex-TSD > Discussion Areas > Metatrader 4
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 01-01-2007, 02:44 AM
Cyclesurfer's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 281
Cyclesurfer is on a distinguished road
Based on those results something is very wrong LOL. Does it trade as soon as the 2 MA touches the 10? That would spell disaster because price oftem retracts just enough for them to touch and then it will continue in that direction. Thats how come all the nifty filters, as Im sure you know. ANother filter I use is the ADX line. If I have a sell signal and the ADX line is above 40 and the dominate trend is up, then obviously, I wouldnt take that trade.
__________________
What do you want in a Forex informational website? Click here to let me know! Your input counts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #22 (permalink)  
Old 01-01-2007, 02:47 AM
Senior Member
 
Join Date: Feb 2006
Location: New Zealand
Posts: 249
Craig is on a distinguished road
Just for kicks, here is the same MM params but taking PSAR reverses as the signals. Where do I get this BBHist from and what is the rule?
Attached Images
File Type: gif Test.gif (5.8 KB, 111 views)
Attached Files
File Type: htm Test.htm (576.0 KB, 3 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #23 (permalink)  
Old 01-01-2007, 02:50 AM
Senior Member
 
Join Date: Feb 2006
Location: New Zealand
Posts: 249
Craig is on a distinguished road
Here is the code for the open

/////////////////////////////////////////////////////////////////////////////////////////////
void CheckForOpen()
{
if (Volume[0] > 1)
{
return;
}
double ma1_1 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma1_2 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 2);
double ma2_1 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma2_2 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 2);

if ((ma1_1 < ma2_1 || ma1_1 == ma2_1) && ma1_2 > ma2_2)
{
OpenSellWrapper();
return;
}
if ((ma1_1 > ma2_1 || ma1_1 == ma2_1) && ma1_2 < ma2_2)
{
OpenBuyWrapper();
}
}

It waits for the cross, not the touch.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #24 (permalink)  
Old 01-01-2007, 02:52 AM
Cyclesurfer's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 281
Cyclesurfer is on a distinguished road
BBHisto is the histogram of the price cutting below or above the middle MA in the Bollienger Band.

I just finished writing Trend Pulse, will you load it and see if it works on your charts? I think there may still be some bugs.
Attached Files
File Type: mq4 bbhisto.mq4 (2.6 KB, 44 views)
File Type: mq4 - Trend Pulse.mq4 (3.4 KB, 46 views)
File Type: mq4 BrainTrend1Sig.mq4 (4.2 KB, 27 views)
File Type: mq4 BrainTrend1.mq4 (3.4 KB, 26 views)
__________________
What do you want in a Forex informational website? Click here to let me know! Your input counts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #25 (permalink)  
Old 01-01-2007, 02:54 AM
Cyclesurfer's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 281
Cyclesurfer is on a distinguished road
Quote:
Originally Posted by Craig
Here is the code for the open

/////////////////////////////////////////////////////////////////////////////////////////////
void CheckForOpen()
{
if (Volume[0] > 1)
{
return;
}
double ma1_1 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma1_2 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 2);
double ma2_1 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma2_2 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 2);

if ((ma1_1 < ma2_1 || ma1_1 == ma2_1) && ma1_2 > ma2_2)
{
OpenSellWrapper();
return;
}
if ((ma1_1 > ma2_1 || ma1_1 == ma2_1) && ma1_2 < ma2_2)
{
OpenBuyWrapper();
}
}

It waits for the cross, not the touch.
I was suprised by the results of the 2 10, I expected pretty bad without any filters, but not that bad. That was a steady decline, do not pass go, do not collect 2 gees
__________________
What do you want in a Forex informational website? Click here to let me know! Your input counts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #26 (permalink)  
Old 01-01-2007, 03:01 AM
Cyclesurfer's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 281
Cyclesurfer is on a distinguished road
Quote:
Originally Posted by Craig
Just for kicks, here is the same MM params but taking PSAR reverses as the signals. Where do I get this BBHist from and what is the rule?
SEE! Thats not what the charts say, and it cant just be a case of me not seeing all the bad trades. I can literally go from left to right and see good trade after good trade.

OH.....there is one more filter that I use. It involves a repainting indicator though, but it works pretty well. You take the DTzigzag indicator and ONLY take sell signals if the zigzag places a star above the price atleats an hour before. Reverse for buy. I dont know how I forgot this, since its a primary filter for me, but it gets rid of alot of the noise.

The volatmeter is another good noise to signla ratio filter but it keeps you out of ALOT of trades.
Attached Images
File Type: gif dtzigzag filter.gif (22.4 KB, 173 views)
Attached Files
File Type: ex4 -Damiani_volatmeter.ex4 (3.5 KB, 25 views)
File Type: mq4 DTZigZag.mq4 (2.4 KB, 40 views)
__________________
What do you want in a Forex informational website? Click here to let me know! Your input counts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #27 (permalink)  
Old 01-01-2007, 03:01 AM
Senior Member
 
Join Date: Feb 2006
Location: New Zealand
Posts: 249
Craig is on a distinguished road
OK, now with BBHisto

/////////////////////////////////////////////////////////////////////////////////////////////
void CheckForOpen()
{
if (Volume[0] > 1)
{
return;
}
double ma1_1 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma1_2 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 2);
double ma2_1 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma2_2 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 2);

double bb_hist = iCustom(NULL, 0, "bbhisto", 13, 0, 1);

if ((ma1_1 < ma2_1 || ma1_1 == ma2_1) && ma1_2 > ma2_2 && bb_hist < 0)
{
OpenSellWrapper();
return;
}
if ((ma1_1 > ma2_1 || ma1_1 == ma2_1) && ma1_2 < ma2_2 && bb_hist > 0)
{
OpenBuyWrapper();
}
}

What shall we add next!
Attached Images
File Type: gif Test.gif (5.3 KB, 109 views)
Attached Files
File Type: htm Test.htm (981.2 KB, 5 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #28 (permalink)  
Old 01-01-2007, 03:03 AM
Cyclesurfer's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 281
Cyclesurfer is on a distinguished road
you've got to use filters my man. But I have to admit even without filteres in place I cant account for the steady decline. A decline for sure, but there should be more lucky trades. I think your backtester is just evil
__________________
What do you want in a Forex informational website? Click here to let me know! Your input counts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #29 (permalink)  
Old 01-01-2007, 03:09 AM
Cyclesurfer's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 281
Cyclesurfer is on a distinguished road
Is there any way to add some filters to the trading rules? Say.....only take trades that have a star from the DTzigzag in their direction for starters. Second........Heat must be positive. Take a looksy at the picture I attatched. It shows a signal that was filtered out because DTzigzag had a prediction that the price would RISE and not fall, and i've found that this indicator is very accurate on lower time frames. Heat is indicating that the signal is just noise and has no real push behind it.
Attached Images
File Type: gif filtered trade.gif (25.5 KB, 159 views)
__________________
What do you want in a Forex informational website? Click here to let me know! Your input counts!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #30 (permalink)  
Old 01-01-2007, 03:09 AM
Senior Member
 
Join Date: Feb 2006
Location: New Zealand
Posts: 249
Craig is on a distinguished road
No with DT

/////////////////////////////////////////////////////////////////////////////////////////////
void CheckForOpen()
{
if (Volume[0] > 1)
{
return;
}
double ma1_1 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma1_2 = iMA(NULL, 0, Ma1, 0, MODE_SMA, PRICE_CLOSE, 2);
double ma2_1 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 1);
double ma2_2 = iMA(NULL, 0, Ma2, 0, MODE_SMA, PRICE_CLOSE, 2);

double bb_hist = iCustom(NULL, 0, "bbhisto", 13, 0, 1);
double dt = iCustom(NULL, 0, "dtzigzag", 60, 12, 5, 3, 0, 1);

if ((ma1_1 < ma2_1 || ma1_1 == ma2_1) && ma1_2 > ma2_2 && bb_hist < 0 && dt != 0)
{
OpenSellWrapper();
return;
}
if ((ma1_1 > ma2_1 || ma1_1 == ma2_1) && ma1_2 < ma2_2 && bb_hist > 0 && dt != 0)
{
OpenBuyWrapper();
}
}


Not sure that I'm using the DT correctly, it does cut the number of trades, but the remaining ones are no better...
Attached Images
File Type: gif Test.gif (6.6 KB, 106 views)
Attached Files
File Type: htm Test.htm (288.6 KB, 4 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
bbhisto, moving average cross


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
non lag moving average kidhudi Indicators - Metatrader 4 2 02-05-2010 10:55 PM
How to calculate Moving Average of a Moving Average babarmughal Expert Advisors - Metatrader 4 4 05-31-2009 02:05 PM
Moving Average Cross with RSI Confirmation? justlearning Indicators - Metatrader 4 10 12-28-2006 04:04 AM
Moving average trend-following system newdigital Manual trading systems 1 01-04-2006 03:24 PM


All times are GMT. The time now is 08:29 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.