Forex



Go Back   Forex Trading > Programming > MetaTrader
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
  #501 (permalink)  
Old 11-24-2007, 10:23 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Cheers Wolfe

I am going to try the 2 Ordersend option to see what happens. once I get this going I will post 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
  #502 (permalink)  
Old 11-24-2007, 11:11 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Gidday Wolfe

Attached is The Abyss EA it needs some work doing to it. I am still working on it but some more help By some one who knows what they are doing would be great.


cheers

Beno
Attached Files
File Type: mq4 The Abyss.mq4 (10.1 KB, 23 views)
File Type: mq4 Heiken_Ashi_Smoothed.mq4 (4.2 KB, 19 views)
File Type: mq4 Slope Direction Line.mq4 (4.1 KB, 17 views)

Last edited by newdigital; 11-26-2007 at 08:02 AM.
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
  #503 (permalink)  
Old 11-25-2007, 11:53 AM
Senior Member
 
Join Date: Oct 2006
Posts: 104
antone is on a distinguished road
i need a little help.. how do i make it work? i tried but it won't read the mins? i i should use something else aside from TimeHour but what?

Quote:
if (TimeHour (Clocks) == 7:15) {B = 1; }
if (TimeHour (Clocks) == 7:30) {B = 2;}
if (TimeHour (Clocks) == 7:45) {B= 3;}
if (TimeHour (Clocks) == 8) {B = 4;}
if (TimeHour (Clocks) == 8:15) {B = 5;}
if (TimeHour (Clocks) == 8:30) {B = 6;}
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
  #504 (permalink)  
Old 11-25-2007, 12:02 PM
ralph.ronnquist's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 297
ralph.ronnquist is on a distinguished road
Maybe you meant something like the following:
PHP Code:
if ( TimeHourClocks ) == ) {
    
MathFloorTimeMinuteClocks ) / 15 );
} else if ( 
TimeHourClocks ) == ) {
    
MathFloorTimeMinuteClocks ) / 15 ) + 4;

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
  #505 (permalink)  
Old 11-25-2007, 08:38 PM
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 560
MrPip is on a distinguished road
Quote:
Originally Posted by ralph.ronnquist View Post
Maybe you meant something like the following:
PHP Code:
if ( TimeHourClocks ) == ) {
    
MathFloorTimeMinuteClocks ) / 15 );
} else if ( 
TimeHourClocks ) == ) {
    
MathFloorTimeMinuteClocks ) / 15 ) + 4;

Or maybe

if (TimeHour(Clocks) == 7)
{
switch (TimeMinute(Clocks)
{
case 15 : B = 1;
break;
case 30 : B = 2;
break;
case 45 : B = 3;
}
}

if (TimeHour(Clocks) == 8)
{
switch (TimkeMinute(Clocks)
{
case 0 : B = 4;
break;
case 15 : B = 5;
break;
case 30 : B = 6;

}
}

Otherwise 7:17 would also set a value of 1 to B.

Robert

Last edited by MrPip; 11-25-2007 at 08:39 PM. Reason: fix typo
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
  #506 (permalink)  
Old 11-25-2007, 09:32 PM
kjhfdgjfhdghdf's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 686
kjhfdgjfhdghdf is on a distinguished road
Smile

Quote:
Originally Posted by Beno View Post
Gidday Wolfe

Attached is The Abyss EA it needs some work doing to it. I am still working on it but some more help By some one who knows what they are doing would be great.


cheers

Beno
One thing I thought id tell you, trendmanager is the same as Heiken Ashi, just once again with different settings like Heiken Ashi Smoothed has different settings than the standard Heiken Ashi in MT4.
It is a "MA cross" colored into the bars instead of lines.
So you have 2 MA crosses with different settings.
__________________
No
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
  #507 (permalink)  
Old 11-25-2007, 11:05 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Thanks for that kjhfdgjfhdghdf

Well my grandmother was right you do learn something new every day I did not think of that.

back to drawing board.
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
  #508 (permalink)  
Old 11-26-2007, 01:36 AM
kjhfdgjfhdghdf's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 686
kjhfdgjfhdghdf is on a distinguished road
Yeh I didn't think of it either for a while.Then seen its the same thing just different settings.Many things on here you'll see look totally different but are the same as some old thing, with different colors and looks and settings.
__________________
No
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
  #509 (permalink)  
Old 11-26-2007, 02:08 AM
wolfe's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 818
wolfe is on a distinguished road
Previous Tick Data?

Is there a way, more like what is the best way, to code into an EA access to previous tick data?

Just like you can access the high of the bar 3 bars ago by using High[3];

I would like to access previous ticks. Could you use the Bid for this? So you could have Bid[0], Bid[1], Bid[2] and so on?

Thanks.
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
  #510 (permalink)  
Old 11-26-2007, 07:01 AM
Senior Member
 
Join Date: Oct 2006
Posts: 104
antone is on a distinguished road
Quote:
Originally Posted by MrPip View Post
Or maybe

if (TimeHour(Clocks) == 7)
{
switch (TimeMinute(Clocks)
{
case 15 : B = 1;
break;
case 30 : B = 2;
break;
case 45 : B = 3;
}
}

if (TimeHour(Clocks) == 8)
{
switch (TimkeMinute(Clocks)
{
case 0 : B = 4;
break;
case 15 : B = 5;
break;
case 30 : B = 6;

}
}

Otherwise 7:17 would also set a value of 1 to B.

Robert
Thanks again robert.. i am still learning to make an EA.. and what i made always turns out negative.. learn from mistakes that's what i say..

ralph.ronnquist, thanks also.. but it is not what i need..
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
#include, candle time, CHinGsMAroonCLK, code, coders guru, conditionally, dll, eli hayun, Eur_harvester.ex4, expert adviser, expert advisor, forex, higher high, how to code, indicator, I_XO_A_H, kehedge, mechanical trading, metatrader command line, mt4, MT4-LevelStop-Reverse, OrderReliable.mqh, programming, rectangle tool, trading, volty channel stop


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
How to code this? iscuba11 Metatrader 4 mql 4 - Development course 1 08-03-2007 05:22 PM


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



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