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
  #551 (permalink)  
Old 12-11-2007, 11:17 AM
PANNEK's Avatar
Junior Member
 
Join Date: Jul 2007
Posts: 23
PANNEK is on a distinguished road
Newdigital

Quote:
Originally Posted by PANNEK View Post
can you any body help me?
I want expert 20_200 with trailing stop.
PLEASE put anybody.
please help NEWDIGITAL
Attached Files
File Type: mq4 20_200 expert_v3.mq4 (5.0 KB, 16 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
  #552 (permalink)  
Old 12-11-2007, 12:20 PM
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 560
MrPip is on a distinguished road
Quote:
Originally Posted by Michel View Post
You do not really need a function, it's enough to put in the init() function:
PHP Code:
myPoint 0.0001;
if (
Digits 4myPoint 0.01
I would do it your way if I only had a few EAs to worry about. I actually have this code in a library along with numerous other functions that use myPoint instead of Point in the code. That way I only need to change code in one place and recompile all EAs. Just in case some broker decides to add another decimal place.

Robert
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
  #553 (permalink)  
Old 12-11-2007, 12:23 PM
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 560
MrPip is on a distinguished road
trailing stop needed

Quote:
Originally Posted by PANNEK View Post
can you any body help me?
I want expert 20_200 with trailing stop.
PLEASE put anybody.
What type of trailing stop?
I have over 10 types now.

Robert
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
  #554 (permalink)  
Old 12-11-2007, 04:25 PM
PANNEK's Avatar
Junior Member
 
Join Date: Jul 2007
Posts: 23
PANNEK is on a distinguished road
Triling Stop

Quote:
Originally Posted by MrPip View Post
What type of trailing stop?
I have over 10 types now.

Robert
Sorry, I don't know exactly, but
I thing is good like this ea. EA_TrendStrengthEMAv2
Attached Files
File Type: mq4 EA_TrendStrengthEMAv2.mq4 (6.7 KB, 36 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
  #555 (permalink)  
Old 12-12-2007, 03:16 AM
Member
 
Join Date: Jul 2007
Posts: 63
Ghamm is on a distinguished road
Today Yesterday Now functions..

I want to get a date range.

Yesterday at 5 PM to 3:00 AM today... then want to look at the bars between that range.

I dont see a function to get the beginning of the day (seconds from 1970)
I can do the math myself, by using modulus etc. but wondering if there any easy mt4 functions Im not seeing to do this..
There must be an easy way in MT4.


Craig
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
  #556 (permalink)  
Old 12-12-2007, 07:32 AM
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
Quote:
Originally Posted by Ghamm View Post
...
I dont see a function to get the beginning of the day (seconds from 1970)
I can do the math myself, by using modulus etc. but wondering if there any easy mt4 functions Im not seeing to do this..
There must be an easy way in MT4.

Craig
PHP Code:
TodayBegin=iTime(NULL,PERIOD_D1,0); 
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
  #557 (permalink)  
Old 12-12-2007, 09:03 AM
PANNEK's Avatar
Junior Member
 
Join Date: Jul 2007
Posts: 23
PANNEK is on a distinguished road
MrPip help me please...

Quote:
Originally Posted by PANNEK View Post
Sorry, I don't know exactly, but
I thing is good like this ea. EA_TrendStrengthEMAv2
if you can, please help me
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
  #558 (permalink)  
Old 12-12-2007, 09:50 AM
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 560
MrPip is on a distinguished road
trailing stop added

Quote:
Originally Posted by PANNEK View Post
if you can, please help me
Try this version. I did not change the version number, just added trailing stop for the EA_TrendStrength you posted.

Robert
Attached Files
File Type: mq4 20_200 expert_v3.mq4 (6.0 KB, 43 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
  #559 (permalink)  
Old 12-12-2007, 10:30 AM
PANNEK's Avatar
Junior Member
 
Join Date: Jul 2007
Posts: 23
PANNEK is on a distinguished road
Thanks

Quote:
Originally Posted by MrPip View Post
Try this version. I did not change the version number, just added trailing stop for the EA_TrendStrength you posted.

Robert
Thanks MrPip
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
  #560 (permalink)  
Old 12-12-2007, 11:17 PM
nondisclosure007's Avatar
Senior Member
 
Join Date: Apr 2007
Posts: 124
nondisclosure007 is on a distinguished road
looping problem..., help!

I'm trying to figure out what is wrong here. I wrote this little indicator as to try and find out why I can't seem to draw arrows on every single bar in a chart. No good reason to.

I have another indicator that i'm working on that'll be discreet on choosing which one, i wrote this to try and figure out what the darn problem is.

It only draws an arrow on the bottom of the candle for the last few bars. It should draw arrown on every single bar in the chart on the top and bottom of each candle.

And only 1 candle's data is showing up in the data windows.

I've included a pic and the indicator. any help would be appreciated.
screwed up indicator.gif
Attached Files
File Type: mq4 Arrow Every Bar.mq4 (1.5 KB, 33 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
#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 04:36 PM.



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