Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Questions
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
  #1101 (permalink)  
Old 05-24-2008, 05:42 AM
Member
 
Join Date: May 2006
Posts: 43
veematics is on a distinguished road
POST / RETRIEVE Data to web server

Hello
i would like to know on how we can post/retrieve data to a web server ? any idea ?
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
  #1102 (permalink)  
Old 05-31-2008, 01:48 AM
sonicdeejay's Avatar
Member
 
Join Date: Apr 2008
Posts: 98
sonicdeejay is on a distinguished road
Guys...

I would like to write the indicator based on the rules that feature in the following pdf file using MACD and ADX....and I also attached the base/raw indicator file u can continue to work on it...


Thx for ur help...

http://www.forex.com/pdf/pro3.pdf




sonic
Attached Files
File Type: mq4 SonicTest.mq4 (6.8 KB, 26 views)
__________________
~It's not who I am underneath but, what I do that defines me!!

My FOREX Journal
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
  #1103 (permalink)  
Old 06-01-2008, 12:27 AM
Putz's Avatar
Junior Member
 
Join Date: Aug 2006
Posts: 24
Putz is on a distinguished road
embedded indicators & back testing

Hi all,

I have two points that I want to touch on. One is a programming question and one is a word of caution to programmers out there.

1) PROGRAMMING QUESTION: I am trying to figure out how to get values of embedded indicators into an EA. For example, if you open a MACD indicator and then you open a MA into the MACD Window, how can you get the value of the MA? Do I need to create an indicator with both of those indicators in it before I can use it? I want to test many of these options from RSI to SATL and many others to see what works best.

2) CAUTION: I started working on programming only about 6 months ago. I have successfully finished several EA's that seem to work great in backtest but seem to flop when I do forward testing. The backtest showed 90% modelling quality. I strongly recommend that you go through your backtest trade by trade to make sure it has not missed any trades. I also recommend you do forward testing on a demo account for a fairly long period of time and monitor each trade to make sure your EA is doing what you want it to do. If that seems to be working fine, try it on a real account but with minimal lot sizes (maybe 1/2% of your account) until you are fully confident.

If the EA is good, you will be rich soon enough. If it is not...at least it won't put you into the poor house before you even get going.

Good trading to all.
Putz

Last edited by Putz; 06-01-2008 at 01:51 PM. Reason: misspelled flop for flow
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
  #1104 (permalink)  
Old 06-01-2008, 04:41 PM
Senior Member
 
Join Date: Feb 2007
Posts: 986
FerruFx is on a distinguished road
Putz, even a demo forward test worth nothing. The only way to test is on live account.

All the game played by brokers will be there ... not on demo.

FerruFx
__________________
FerruFx / www.ervent.net - Professional Coding Services (EAs/Indicators/Alerts)

BBVPS.com - Reliable Windows VPS For MT4 Hosting
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
  #1105 (permalink)  
Old 06-01-2008, 05:03 PM
Putz's Avatar
Junior Member
 
Join Date: Aug 2006
Posts: 24
Putz is on a distinguished road
Games brokers play

Hi FerruFX,

I agree with you 100%. That's why when you go live, you need to go with very small lots to see how it works.

I tried one of my EA's on a live account with the EURCAD. IBFX normally has an 8 pip spread. It was around 15:30 EST....no news or anything of importance happening and yet I got stopped out 17 pips away from the bid price. Luckily it was a very small lot and not worth fighting for it but it just goes to show you how you can't trust them.

Best regards,
Putz
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
  #1106 (permalink)  
Old 06-01-2008, 05:14 PM
Senior Member
 
Join Date: Feb 2007
Posts: 986
FerruFx is on a distinguished road
Quote:
Originally Posted by Putz View Post
Hi FerruFX,

I agree with you 100%. That's why when you go live, you need to go with very small lots to see how it works.

I tried one of my EA's on a live account with the EURCAD. IBFX normally has an 8 pip spread. It was around 15:30 EST....no news or anything of importance happening and yet I got stopped out 17 pips away from the bid price. Luckily it was a very small lot and not worth fighting for it but it just goes to show you how you can't trust them.

Best regards,
Putz
A beautifull stop hunt scheme ... by IBFX

FerruFx
__________________
FerruFx / www.ervent.net - Professional Coding Services (EAs/Indicators/Alerts)

BBVPS.com - Reliable Windows VPS For MT4 Hosting
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
  #1107 (permalink)  
Old 06-02-2008, 03:51 AM
sonicdeejay's Avatar
Member
 
Join Date: Apr 2008
Posts: 98
sonicdeejay is on a distinguished road
Quote:
Originally Posted by FerruFx View Post
A beautifull stop hunt scheme ... by IBFX

FerruFx
Dear Sir,

can help for post 1102??

sonic
__________________
~It's not who I am underneath but, what I do that defines me!!

My FOREX Journal
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
  #1108 (permalink)  
Old 06-04-2008, 05:21 AM
sonicdeejay's Avatar
Member
 
Join Date: Apr 2008
Posts: 98
sonicdeejay is on a distinguished road
I am trying to do this...



Normal OzFX signal will trigger when AC go above 0...



look @ the 2 "BlU" line....I will want to issue a buy signal if the different between current bar(k) and previous bar(k+1) is too large....



can i use this code to write??



PHP Code:
iAC(NULL0k) > ||(iAC(NULL0k) - iAC(NULL01)> 0.15
Attached Images
File Type: gif sonicusdjpy4hr.gif (74.6 KB, 150 views)
__________________
~It's not who I am underneath but, what I do that defines me!!

My FOREX Journal
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
  #1109 (permalink)  
Old 06-04-2008, 05:42 PM
Junior Member
 
Join Date: Oct 2006
Posts: 12
forexcel is on a distinguished road
doji related...

Hello All:

I am trying to code my first indicator/ea and i need some help.

Here is how i define my doji: if(Open[i]==Close[i])

Now, if i want to redefine my doji as the Open and Close are within 2 pips up or down, how do i code it?

To clarify: let's say Open = 1.5510 and close is either 1.5512 or 1.5508.

Any help will be appreciated.

Regards,

forexcel
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
  #1110 (permalink)  
Old 06-04-2008, 06:49 PM
IN10TION's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 653
Blog Entries: 1
IN10TION is on a distinguished road
if(MathAbs(Open[i]-Close[i])*1/Point<=2)


this will do it for you...
let me know




Quote:
Originally Posted by forexcel View Post
Hello All:

I am trying to code my first indicator/ea and i need some help.

Here is how i define my doji: if(Open[i]==Close[i])

Now, if i want to redefine my doji as the Open and Close are within 2 pips up or down, how do i code it?

To clarify: let's say Open = 1.5510 and close is either 1.5512 or 1.5508.

Any help will be appreciated.

Regards,

forexcel
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
forex, histogram, JMASlope, ToR 1.20, ZUP_v1.mq4


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


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



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