Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4






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
 
Thread Tools Display Modes
  #11 (permalink)  
Old 11-23-2006, 11:25 AM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
pluto,

I was reading the Globin code and have a question. In the Turbo_JVEL part of the code, is the last part below correct. I see you have when trendtype=2 and trendtype=3, both trendtext="Weak Downtrend/Ranging".

When trendtype=3, should trendtext="Strong Uptrend";

Code:
 UpTrendVal = iCustom(Symbol(), PERIOD_D1, "Turbo_JVEL",10,-100,0,0);
      DnTrendVal = iCustom(Symbol(), PERIOD_D1, "Turbo_JVEL",10,-100,1,0);
      TrendVal = (UpTrendVal + DnTrendVal);
      if(TrendVal <= -0.1)
        {
         trendtype = 1;
         TrendTxt = "Strong Downtrend";
        } 
      if(TrendVal > -0.1 && TrendVal < 0)
        {
         trendtype = 2;
         TrendTxt = "Weak Downtrend/Ranging";
        }
      if(TrendVal > 0 && TrendVal < 0.1)
        {
         trendtype = 2;
         TrendTxt = "Weak Uptrend/Ranging";
        } 
      if(TrendVal >= 0.1)
        {
         trendtype = 3;
         TrendTxt = "Weak Downtrend/Ranging";  
        }
Wackena
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
  #12 (permalink)  
Old 11-23-2006, 12:33 PM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by Wackena
pluto,

I was reading the Globin code and have a question. In the Turbo_JVEL part of the code, is the last part below correct. I see you have when trendtype=2 and trendtype=3, both trendtext="Weak Downtrend/Ranging".

When trendtype=3, should trendtext="Strong Uptrend";

Code:
 UpTrendVal = iCustom(Symbol(), PERIOD_D1, "Turbo_JVEL",10,-100,0,0);
      DnTrendVal = iCustom(Symbol(), PERIOD_D1, "Turbo_JVEL",10,-100,1,0);
      TrendVal = (UpTrendVal + DnTrendVal);
      if(TrendVal <= -0.1)
        {
         trendtype = 1;
         TrendTxt = "Strong Downtrend";
        } 
      if(TrendVal > -0.1 && TrendVal < 0)
        {
         trendtype = 2;
         TrendTxt = "Weak Downtrend/Ranging";
        }
      if(TrendVal > 0 && TrendVal < 0.1)
        {
         trendtype = 2;
         TrendTxt = "Weak Uptrend/Ranging";
        } 
      if(TrendVal >= 0.1)
        {
         trendtype = 3;
         TrendTxt = "Weak Downtrend/Ranging";  
        }
Wackena
Yes, good catch there. It should've said "Strong Uptrend".

I've attached a revised EA with the fix.
Attached Files
File Type: mq4 Goblin.mq4 (12.2 KB, 961 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
  #13 (permalink)  
Old 11-23-2006, 12:35 PM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by Wackena
bluto,

any suggested or preferred pairs for Goblin?

Wackena
Shouldn't matter. This EA should be able to handle any of them. It does seem to really "gobble" the pips during ranging periods.
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
  #14 (permalink)  
Old 11-23-2006, 02:20 PM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
In reviewing the Turbo_JEVL Indicator code, another question. The indicator has this code.

Code:
if ((Symbol()=="USDJPYm") || (Symbol()=="EURJPYm") || (Symbol()=="JPGBPYm"))
        {
         series = ((High[shift]+Low[shift]+Close[shift])/3);
        } else {
         series = ((High[shift]*100 + Low[shift]*100 + Close[shift]*100)/3);
        }
Should the code be this for all JPY pairs and both Standard and Mini/Micro accounts. And there is a typo above, "JPGBPYm" should be "GBPJPYm"

Code:
if ((Symbol()=="USDJPY") || (Symbol()=="USDJPYm") || (Symbol()=="EURJPY")  || (Symbol()=="EURJPYm") || (Symbol()=="GBPJPY")  || (Symbol()=="GBPJPYm") || (Symbol()=="CHFJPY") || (Symbol()=="CHFJPYm") || (Symbol()=="NZDJPY") || (Symbol()=="NZDJPYm") )
        {
         series = ((High[shift]+Low[shift]+Close[shift])/3);
        } else {
         series = ((High[shift]*100 + Low[shift]*100 + Close[shift]*100)/3);
        }
Wackena
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
  #15 (permalink)  
Old 11-23-2006, 02:45 PM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by Wackena
In reviewing the Turbo_JEVL Indicator code, another question. The indicator has this code.

Code:
if ((Symbol()=="USDJPYm") || (Symbol()=="EURJPYm") || (Symbol()=="JPGBPYm"))
        {
         series = ((High[shift]+Low[shift]+Close[shift])/3);
        } else {
         series = ((High[shift]*100 + Low[shift]*100 + Close[shift]*100)/3);
        }
Should the code be this for all JPY pairs and both Standard and Mini/Micro accounts. And there is a typo above, "JPGBPYm" should be "GBPJPYm"

Code:
if ((Symbol()=="USDJPY") || (Symbol()=="USDJPYm") || (Symbol()=="EURJPY")  || (Symbol()=="EURJPYm") || (Symbol()=="GBPJPY")  || (Symbol()=="GBPJPYm") || (Symbol()=="CHFJPY") || (Symbol()=="CHFJPYm") || (Symbol()=="NZDJPY") || (Symbol()=="NZDJPYm") )
        {
         series = ((High[shift]+Low[shift]+Close[shift])/3);
        } else {
         series = ((High[shift]*100 + Low[shift]*100 + Close[shift]*100)/3);
        }
Wackena
Well aren't you just the little code scrutinizer!! LOL.

Actually, that code really makes no difference for the purposes of the EA call. That was a small mod I stuck in there to make the bars on the histogram larger because due to time scaling, they're hard to read on larger TF's. The underlying slope values are unaffected which is what the EA depends upon. In any event, attached is a modified version of the indicator to take into account either mini or standard accounts.
Attached Files
File Type: mq4 Turbo_JVEL.mq4 (11.7 KB, 680 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
  #16 (permalink)  
Old 11-23-2006, 03:16 PM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
Quote:
Originally Posted by bluto
Well aren't you just the little code scrutinizer!! LOL.

Actually, that code really makes no difference for the purposes of the EA call. That was a small mod I stuck in there to make the bars on the histogram larger because due to time scaling, they're hard to read on larger TF's. The underlying slope values are unaffected which is what the EA depends upon. In any event, attached is a modified version of the indicator to take into account either mini or standard accounts.
Thanks for the "..little.." comment. At my weight and height, I appreciate all the "little" comments I get.

Wackena.
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
  #17 (permalink)  
Old 11-23-2006, 03:47 PM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by Wackena
Thanks for the "..little.." comment. At my weight and height, I appreciate all the "little" comments I get.

Wackena.
Ooops....no harm intended.
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
  #18 (permalink)  
Old 11-23-2006, 04:20 PM
xxDavidxSxx's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 745
xxDavidxSxx is on a distinguished road
Here is a years back test I did on Goblin.

Using euro$ 15m
30 TP
pips 10
no s/l
secure profit based on 30 pips per .1 lot used. So for .2 lots secure profit was 60.

max orders of 3.

and lot size of .2 for a 5k account.

the rest of the settings are default.

I am going to forward test it soon.

There was about 2 times durring the last year when the positions were held for about a month or mabe more. This happened when buy orders were placed near an extream high above 1.2900.

I would suggest adding an option to the settings for BUY only and SELL only. This way when it reaches an extream high(like now 1.2975) I would set it to sell only because its unlikely that the price will remain above 1.3000 for any peroid of time. But if a buy order is placed at this level the price can run all the way down to 1.1600 befor ever comming back to 1.3000.
So looking at long term charts and determining what the extreams are you can use buy and sell when price is near these extreams.

Dave
Attached Images
File Type: gif goblin year.gif (7.5 KB, 1429 views)
Attached Files
File Type: htm goblin year.htm (320.4 KB, 534 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
  #19 (permalink)  
Old 11-23-2006, 04:26 PM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by xxDavidxSxx
Here is a years back test I did on Goblin.

Using euro$ 15m
30 TP
pips 10
no s/l
secure profit based on 30 pips per .1 lot used. So for .2 lots secure profit was 60.

max orders of 3.

and lot size of .2 for a 5k account.

the rest of the settings are default.

I am going to forward test it soon.

There was about 2 times durring the last year when the positions were held for about a month or mabe more. This happened when buy orders were placed near an extream high above 1.2900.

I would suggest adding an option to the settings for BUY only and SELL only. This way when it reaches an extream high(like now 1.2975) I would set it to sell only because its unlikely that the price will remain above 1.3000 for any peroid of time. But if a buy order is placed at this level the price can run all the way down to 1.1600 befor ever comming back to 1.3000.
So looking at long term charts and determining what the extreams are you can use buy and sell when price is near these extreams.

Dave
Good ideas there. Let's do it!
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
  #20 (permalink)  
Old 11-23-2006, 04:35 PM
Member
 
Join Date: Oct 2006
Posts: 56
baggermatsch is on a distinguished road
Quote:
Originally Posted by xxDavidxSxx
Here is a years back test I did on Goblin.

Using euro$ 15m
30 TP
pips 10
no s/l
secure profit based on 30 pips per .1 lot used. So for .2 lots secure profit was 60.

max orders of 3.

and lot size of .2 for a 5k account.

the rest of the settings are default.

I am going to forward test it soon.

There was about 2 times durring the last year when the positions were held for about a month or mabe more. This happened when buy orders were placed near an extream high above 1.2900.

I would suggest adding an option to the settings for BUY only and SELL only. This way when it reaches an extream high(like now 1.2975) I would set it to sell only because its unlikely that the price will remain above 1.3000 for any peroid of time. But if a buy order is placed at this level the price can run all the way down to 1.1600 befor ever comming back to 1.3000.
So looking at long term charts and determining what the extreams are you can use buy and sell when price is near these extreams.

Dave
where i can see the max drawdown of ur margin?
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
goblin, Goblin Bipolar Grid V4 trailing, Goblin EA, goblin expert advisor, Turbo_JRSX, predator, forex Predator, Predator ea, Trade Context Ping Error, Turbo_JVEL, TradeContext: ping error, ea goblin, trade context: ping error

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
dose it posible to creat any function of "mql code" posting in this forum? phoenix Metatrader Programming 23 09-23-2009 04:10 PM
Goblin "BiPolar" Edition bluto Expert Advisors - Metatrader 4 871 09-10-2009 01:22 PM
How to "teach" and to use the AI ("neuron") EA? danil Suggestions for Trading Systems 5 07-15-2008 05:26 PM


All times are GMT. The time now is 02:48 AM.



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