Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions


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
 
LinkBack (2) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1101 (permalink)  
Old 05-24-2008, 04:42 AM
Member
 
Join Date: May 2006
Posts: 32
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!
Reply With Quote
  #1102 (permalink)  
Old 05-31-2008, 12: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, 17 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!
Reply With Quote
  #1103 (permalink)  
Old 05-31-2008, 11:27 PM
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 12:51 PM. Reason: misspelled flop for flow
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1104 (permalink)  
Old 06-01-2008, 03:41 PM
Senior Member
 
Join Date: Feb 2007
Posts: 712
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
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1105 (permalink)  
Old 06-01-2008, 04: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!
Reply With Quote
  #1106 (permalink)  
Old 06-01-2008, 04:14 PM
Senior Member
 
Join Date: Feb 2007
Posts: 712
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
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1107 (permalink)  
Old 06-02-2008, 02: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!
Reply With Quote
  #1108 (permalink)  
Old 06-04-2008, 04: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, 110 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!
Reply With Quote
  #1109 (permalink)  
Old 06-04-2008, 04: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!
Reply With Quote
  #1110 (permalink)  
Old 06-04-2008, 05:49 PM
IN10TION's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 475
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!
Reply With Quote
Reply

Bookmarks

Tags
histogram

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 On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
Posted By For Type Date
OzFx System:) - Page 639 This thread Refback 06-21-2008 09:53 PM
Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart This thread Refback 12-08-2007 11:46 AM


All times are GMT. The time now is 01:50 AM.



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