Go Back   BabyPips.com Forex Forum > Main Discussion > Newbie Island


Newbie Island This forum is for Forex beginners. If you are new to the Forex and have a question, this is the best place to ask it. If you're looking to learn Forex, get your training and education at the School of Pipsology.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-20-2007, 03:57 PM
arkangel007's Avatar  

Join Date: Sep 2007
Location: Loganville, GA
Posts: 2
Default Error in my Expert Advisor

I've been coding for sometime now and keep getting this error OrderModifying Error 1. Here's the statement, I'm using.

result=OrderModify(OrderTicket(),OrderOpenPrice(), NormalizeDouble(ParaB_Current,4),OrderTakeProfit() ,0,LightBlue);

ParaB_Current is the current value of Parabolic SAR.
I've filtered for 0.

????? - Any ideas?
Reply With Quote
  #2 (permalink)  
Old 09-20-2007, 04:01 PM
arkangel007's Avatar  

Join Date: Sep 2007
Location: Loganville, GA
Posts: 2
Default

If unchanged values are passed as the function parameters, the error 1 (ERR_NO_RESULT) will be generated.

Found it Never Mind!!
Reply With Quote
  #3 (permalink)  
Old 09-20-2007, 05:06 PM
LasVegasForex's Avatar
Junior Member
 

Join Date: Sep 2007
Location: Las Vegas, NV
Posts: 54
Default Wrong thread

Hey man,

This is a way better place to get that answered. (MQL4 Code Base: expert advisors, custom indicators, scripts and libraries) You can post your EA there and ask your coding questions. Also (not to promote) but interbankfx has a good wall maintained forum that has a section on EA's and coding. The guy who places 3rd place in the 2006 EA completion works there.

I wouldn't waste your time with it though, even the winner of the 2006 MTQ4 EA competition says its 100% luck and an EA is not a way to make any money long term in any market.

Better off trying to double up on $100 bets on the blackjack table. If you can win 14 bets in a row you will have almost 2million.... hey at least the odds are 'in your favor"

There is no shortcut to education.
Reply With Quote
  #4 (permalink)  
Old 09-21-2007, 07:51 AM
 

Join Date: Sep 2007
Posts: 1
Default you are not alone

i have been trying also to understand the expret advisor but men all to no avail, if you pls see a better solution pls let know
Reply With Quote
Reply



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

All times are GMT -4. The time now is 03:15 AM.
Content Relevant URLs by vBSEO 3.3.1
"Dreams are extremely important. You can't do it unless you imagine it."
George Luca
Feedback Form