Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs 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
  #11 (permalink)  
Old 04-16-2008, 02:57 AM
Senior Member
 
Join Date: Oct 2005
Posts: 455
Perky is on a distinguished road
double base=iCustom(NULL,0,"Traders_Dynamic_Index",2,1);
double S1M=iStochastic(NULL,PERIOD_M5,21,5,12,MODE_SMA,0, MODE_MAIN,1);
double S1S=iStochastic(NULL,PERIOD_M5,21,5,12,MODE_SMA,0, MODE_SIGNAL,1);
double S2M=iStochastic(NULL,PERIOD_M15,21,5,12,MODE_SMA,0 ,MODE_MAIN,1);
double S2S=iStochastic(NULL,PERIOD_M15,21,5,12,MODE_SMA,0 ,MODE_SIGNAL,1);
double S3M=iStochastic(NULL,PERIOD_M30,21,5,12,MODE_SMA,0 ,MODE_MAIN,1);
double S3S=iStochastic(NULL,PERIOD_M30,21,5,12,MODE_SMA,0 ,MODE_SIGNAL,1);
double S4M=iStochastic(NULL,PERIOD_H1,21,5,12,MODE_SMA,0, MODE_MAIN,1);
double S4S=iStochastic(NULL,PERIOD_H1,21,5,12,MODE_SMA,0, MODE_SIGNAL,1);
double S4M2=iStochastic(NULL,PERIOD_H1,14,3,3,MODE_SMA,0, MODE_MAIN,1);
double S4S2=iStochastic(NULL,PERIOD_H1,14,3,3,MODE_SMA,0, MODE_SIGNAL,1);
double S4M24=iStochastic(NULL,PERIOD_H4,21,5,12,MODE_SMA, 0,MODE_MAIN,1);
double S4S24=iStochastic(NULL,PERIOD_H4,21,5,12,MODE_SMA, 0,MODE_SIGNAL,1);
double S4Md1=iStochastic(NULL,PERIOD_D1,21,5,12,MODE_SMA, 0,MODE_MAIN,1);
double S4Sd1=iStochastic(NULL,PERIOD_D1,21,5,12,MODE_SMA, 0,MODE_SIGNAL,1);



up1=0; up5=0;up15=0;up30=0;up60=0;up601=0;up360=0;upd1=0;
dn1=0;dn5=0;dn15=0;dn30=0;dn60=0;dn601=0;dn360=0;d nd1=0;
if (S1S>S1M ) up5=1;
if ( S2S>S2M) up15=1;
if( S3S>S3M ) up30=1;
if( S4S>S4M ) up60=1;
if( S4M2>S4S2 ) up601=1;
if( S4M24>S4S24 ) up360=1;
if( S4Md1>S4Sd1 ) upd1=1;

if (S1S<S1M ) dn5=1;
if ( S2S<S2M) dn15=1;
if( S3S<S3M )dn30=1;
if( S4S<S4M )dn60=1;
if( S4M2<S4S2 )dn601=1;
if( S4M24<S4S24 )dn360=1;
if( S4Md1<S4Sd1 ) dnd1=1;


if(buysell<0 && buysell<dd )dd=buysell;


diff=(stom1-stom1b4);

// Comment (diff," ",diff1," ",diff2);
Comment (up5+up15+up30+up60+up601+up360+upd1," dn ",dn5+dn15+dn30+dn60+dn601+dn360+dnd1, " Biggest drawdown ",dd," bo=",bo," so=",so," diff ",diff);
CloseAllOrders();


{
BUYme = false;

if ( so==0 && up5+up15+up30+up60+up601+up360+upd1==7)upsignal=1;
// if (so==0 && bo>0&& stom1>stom1b4) emergencyup=1;

if (upsignal==1 || emergencyup==1)

{
if (OpenOnTick == 1 && TickPrice > 0 && Close[0] < TickPrice) TradeAllowed = true;

if (CeaseTrading && BuyOrders == 0) BUYme = false;

{


PlaceBuyOrder();
BUYme=true;
}}}




{
SELLme = false;
// if (OpenOnTick && TickPrice > 0 && Close[0] > TickPrice) TradeAllowed = true;
if (OpenOnTick == 1 && TickPrice > 0 && Close[0] > TickPrice) TradeAllowed = true;

if (CeaseTrading && SellOrders == 0) SELLme = false;

if (bo==0 && dn5+dn15+dn30+dn60+dn601+dn360+dnd1==7)dnsignal=1;
//if(bo==0 && so>0&&stom1<stom1b4 <0) emergencydn=1;
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 04-16-2008, 03:20 AM
Senior Member
 
Join Date: Oct 2005
Posts: 455
Perky is on a distinguished road
havent tested it but here you are
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 04-16-2008, 03:21 AM
Senior Member
 
Join Date: Oct 2005
Posts: 455
Perky is on a distinguished road
didnt use loops so as to confuse you
Attached Files
File Type: mq4 heatmap_expert.mq4 (24.4 KB, 169 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
  #14 (permalink)  
Old 04-16-2008, 05:33 AM
Member
 
Join Date: Nov 2007
Posts: 78
tone40@inbox.com is on a distinguished road
Exclamation

Quote:
Originally Posted by Michel View Post
PHP Code:
int cnt = (Buy1_1 Buy1_2) + (Buy2_1 Buy2_2) + .... + (Buy13_1 Buy13_2);
if(
cnt 8Order SIGNAL_BUY
or, more easy to understand:
PHP Code:
int cnt 0;
if(
Buy1_1 Buy1_2cnt++;
if(
Buy2_1 Buy2_2cnt++;
.
.
.
if(
Buy13_1 Buy13_2cnt++;
if(
cnt 8Order SIGNAL_BUY
Hello Michel!!!

You sure nailed that one right!!! It worked just as I wanted and requested. Thanks so much. Im posting the EA here as promised, is not perfect by any means, I had done it myself with help from automated sites and the help of nice people like you in this forum. So thanks all, Im open to suggestions and also I'll be posting the EA for all major pairs as soon as I get it done. Im now making the EA for all important pairs I want to trade and working out a better exit strategy and even improving the entry and alerts and so on. The basic idea of buying the strongest vs the weakest and vice versa already works since it that what I allways use, I just wanted it automated thats all.

Thanks

Al
Attached Files
File Type: mq4 EUR--JPY--AFC TRADER.mq4 (14.4 KB, 186 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
  #15 (permalink)  
Old 04-16-2008, 06:42 AM
jatki24300's Avatar
Senior Member
 
Join Date: Feb 2007
Location: Texas
Posts: 120
jatki24300 is on a distinguished road
Temp

Thanks For posting your expert. Can you post the heat map indicator and your temp. I like your chart. Thanks!! Jatki24300
__________________
I have not mastered any language.
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 04-16-2008, 07:52 AM
Member
 
Join Date: Nov 2007
Posts: 78
tone40@inbox.com is on a distinguished road
Quote:
Originally Posted by Perky View Post
didnt use loops so as to confuse you

Hello Perky,

Thanks so much for your help on this, you really made a difference, thanks again. One note, I tested it but noticed it only sells, did check the properties for "long&Shorts" and it is correct, I did check the coding for anything weird, but Im not really that knowledged to spot the problem, did test it in all time frames just to make sure all the criteria were met to trigger the buy order, but no luck. Could you please check it for me? I did not change anything so you can just look at the copy you gave me. Otherwise the Ea does really what I wanted. Someone else also helped on this but I see your coding to be more precise some how, less room for mistakes by the ea to find what I want. thanks again .

Al
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 04-16-2008, 07:56 AM
Member
 
Join Date: Nov 2007
Posts: 78
tone40@inbox.com is on a distinguished road
Quote:
Originally Posted by Perky View Post
havent tested it but here you are


Hello Perky,

Thanks so much for your help on this, you really made a difference, thanks again. One note, I tested it but noticed it only sells, did check the properties for "long&Shorts" and it is correct, I did check the coding for anything weird, but Im not really that knowledged to spot the problem, did test it in all time frames just to make sure all the criteria were met to trigger the buy order, but no luck. Could you please check it for me? I did not change anything so you can just look at the copy you gave me. Otherwise the Ea does really what I wanted. Someone else also helped on this but I see your coding to be more precise some how, less room for mistakes by the ea to find what I want. thanks again .

Al
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 04-16-2008, 07:58 AM
Member
 
Join Date: Nov 2007
Posts: 78
tone40@inbox.com is on a distinguished road
Quote:
Originally Posted by Perky View Post
didnt use loops so as to confuse you

Hello Perky,

Thanks so much for your help on this, you really made a difference, thanks again. One note, I tested it but noticed it only sells, did check the properties for "long&Shorts" and it is correct, I did check the coding for anything weird, but Im not really that knowledged to spot the problem, did test it in all time frames just to make sure all the criteria were met to trigger the buy order, but no luck. Could you please check it for me? I did not change anything so you can just look at the copy you gave me. Otherwise the Ea does really what I wanted. Someone else also helped on this but I see your coding to be more precise some how, less room for mistakes by the ea to find what I want. thanks again .

Al
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 04-16-2008, 08:23 AM
Member
 
Join Date: Nov 2007
Posts: 78
tone40@inbox.com is on a distinguished road
Quote:
Originally Posted by jatki24300 View Post
Thanks For posting your expert. Can you post the heat map indicator and your temp. I like your chart. Thanks!! Jatki24300
Hi,

Here you have the temp and the indicators, Warning!!! if you see an indicator you recognize and you do have it, please back up your copy as mine is usually modified rather severely, so remember that. Also I might be changing the temp so this is temporary. I have to change my other charts before I post it here, soon. you can start with this one.

Al

more files on next post
Attached Files
File Type: tpl eur--jpy.tpl (53.4 KB, 157 views)
File Type: mq4 multisymbol_color-RSI.mq4 (4.8 KB, 201 views)
File Type: mq4 Heiken Ashi.mq4 (3.9 KB, 143 views)
File Type: mq4 KeltnerChannel_v1.mq4 (2.9 KB, 161 views)
File Type: mq4 ZigZag_Pointer_alert.mq4 (5.4 KB, 159 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
  #20 (permalink)  
Old 04-16-2008, 08:26 AM
Member
 
Join Date: Nov 2007
Posts: 78
tone40@inbox.com is on a distinguished road
Quote:
Originally Posted by jatki24300 View Post
Thanks For posting your expert. Can you post the heat map indicator and your temp. I like your chart. Thanks!! Jatki24300
More files for the temp eurjpy.
Attached Files
File Type: mq4 EMA Crossover Signal.mq4 (4.1 KB, 147 views)
File Type: mq4 super-signals_v1.mq4 (1.4 KB, 160 views)
File Type: mq4 TOPTREND.mq4 (5.7 KB, 190 views)
File Type: mq4 multisymbol_color-RSI_LQ.mq4 (4.9 KB, 166 views)
File Type: mq4 FXOE-ITrendHisto.mq4 (2.3 KB, 178 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
Currency Heat Map, currency heatmap, heat map, heat map ea, heatmap, heatmap ea, leverageFX, neural network


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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
looking for Heat Map indicator lq_sunshine Indicators - Metatrader 4 62 09-04-2009 01:44 AM
Currency Correlations RickW00716 General Discussion 13 10-30-2008 01:18 PM
Currency corelation fxd01 Metatrader 4 23 07-19-2008 01:58 AM
multi currency EA [how to?] zamos Expert Advisors - Metatrader 4 1 06-15-2007 11:48 PM


All times are GMT. The time now is 09:30 AM.



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