Thnx acs for testing it. I did some testing lastnite and I was really tired so I didn't go as far as u did. So Thnx agin man.
Well the good news is that the EA does the job it SEES a FAILURE!! If you notice, the last order that was placed was immediately closed when the SL and TP were not set correctly. Isn't that awesome!! LOL. Imagine you would of been asleep and the EA placed the order with no stops on a live account!!! LOL.
Error 130 means invalid SL/TPs. I am attaching an updated EA to get more info on the error. This version is still 2.5 I only added more descriptive ERROR that can be read by humans, lol. Run the EA exactly as you ran it before with the same parameters etc etc etc. You will see in the journal a more descriptive ERROR. It will show what function it failed at and values for HardSL, HardTP, StopLoss Price Level and TakeProfit level that were used to set TP and SL. Once you have that info send me a screenshot and we'll take it from there...... Oh send a screen shot of the simulator inputs as well. BTW the broker you are using do they send their orders with an Instant Order or Market Order. Go to your charts, hit F9, and their you will see which order type it is. Let me know.
Oh one more thing. If you see can't see the whole error message on the journal screen then go to the logs. Since you are running the simulator go to the '/tester/logs' Folder. Get the latest log (use the dates). In that text file we will see the complete error line that is partly shown in the journal. HECK, if you want just send me the log, lol, that will have everything on it LOL, no need for screen shots.
BTW what did u mean 'took a little time to get it working'? Was it cause of the setting up the inputs??
Oh remember, DynamicLots just messes with the lots that will be used. So either the order will have the lots you specify in the HardSL input or they will be calculated according to 1/2 ATR SL calculation. So that should not affect the SL or TP.
BIMMM.. BOOMMM. BAMMM!! We are going to make a grand SLAMMMM!!
(note: For those not familiar 'grand SLAM' is a baseball term which can be used to mean a GREAT SUCCESS. The equivalent might be like the ultimate goal in soccer, akin to the PELE style of kicking the ball to score while flipping in the air).
J
acs » Sun Aug 10, 2014 6:02 am wrote:Still Testing v25 here, took a little time to get it working, set ATR false and DynamicLots false
it runs ok for a while and then EA is closed with error
sl/tp order modify failed with error(130)
You do not have the required permissions to view the files attached to this post.