- Search Forex Factory
- 19 Results
- donjames replied Feb 27, 2011
Can you add Maximum Deviation? — Hi, this looks like a great tool! I was wondering if you could add maximum deviation (max acceptable slippage on an order) to the order box? If so, would that work on a broker that is an ECN - who does NOT have ...
- donjames replied Dec 9, 2008
Thanks!
- donjames replied Oct 4, 2008
Thanks!
- donjames replied Jun 29, 2008
Thanks.
- donjames replied Jun 28, 2008
If the EA is intensive (places a lot of orders) - does that put a strain on the server if there are a lot of slave EA's interfacing with it? What language would you program a DLL in? Is there any kind of sample interface out there that can help show ...
- donjames replied Apr 18, 2008
I figured out why it wasn't sorting according to price - the openA and openB were set to datetime type, but for price, I needed to set it to double type.
- donjames replied Apr 18, 2008
Well, I tried that and I'm not sure if it's working or not. I created a simple test script that has the functions to acquire tickets and sort them (modified slightly). It seems like the program will pass the ticket numbers so as to display them on ...
- donjames replied Apr 17, 2008
Hi Royce, I moved the function out of the other function, still had the same error. Then I scanned my program and found I was missing a closing } elsewhere. That seemed to solve the problem regarding the function not being recognized. However, I am ...
- donjames replied Apr 17, 2008
Oh - forgot, 2 other issues: (1) I get a "Function definition unexpected" error. Is there a particular place you have to put a function? I've tried placing it in different areas of the EA. Currently, it is in the int init() section. (2) If I set the ...
- donjames replied Apr 17, 2008
Okay, new problem. I revised the SortTickets function Royce provided earlier so I could pass info to it and retrieve a new array of ticket numbers as follows:void AcquireTickets(int MagicNumber, int MaxTickets) { int ticket_count = 0; //Erase the ...
- donjames replied Apr 16, 2008
Thanks Phy, that worked.
- donjames replied Apr 15, 2008
Using a variable as the index in an array — Royce, in your code you use: #define MAXTICKETS 20 //declare a module wide array of 20 integers that we'll used to store and sort tickets int tickets[MAXTICKETS]; That seems to be okay. But is it ...
- donjames replied Apr 14, 2008
Thanks - will look at your code — Thanks Royce, I'll look over your code to get an idea of what I could do. One question - since the ticket# is an integer, is there any way to use it as the index value in an array, or does each array index ...
- donjames replied Oct 17, 2007
Thanks - very helpful! — Thanks everyone, that was very helpful.
- donjames replied Sep 27, 2006
My operator in the while statement was a >= not a =, so it should have worked (I think). I did try splitting it to 2 conditions using just a ">" || a "==", but that didn't work either. What I ended out doing is eliminating the while loop and ...
- donjames replied Sep 25, 2006
Hi lietuve, My thought was that the bid rate should be updated with each quote posted - therefore, it shouldn't always be the same but would adjust. Refreshrates should pull the latest quote. Therefore, I thought the values would actually adjust up ...
- donjames replied Sep 24, 2006
I added the following two lines before the Sleep line to print some values to the log. testcomments=StringConcatenate("Bid = ", Bid, "; BuyPriceMax = ", BuyPriceMax, "Time = ", TimeToStr(iTime(NULL,0,0))); Print(testcomments); Then, when I run the ...
- donjames replied Sep 24, 2006
Well, I thought everything would fly with moving the refresh rate before the if statement, but when I try backtesting, it still seems to freeze as if it's in an infinite loop. If I comment out the while loop, it seems to test the rest of my script ...
- donjames replied Sep 24, 2006
Thanks - that really helps! Thanks for the welcome. This forum is great.
- Posts by Member Search: 'donjames'