- Search Crypto Craft
- 122 Results (16 Threads, 106 Replies)
- coach3131 replied Mar 15, 2009
Sahron, You have the indicators and the most recent posting, correct? I know there is still some faulty things with it, but on my platform, it is opening and modifying trades... the problems I have been having were with the close orders and not ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 15, 2009
Zen, The point of MathRand/32767 is to generate a fractional that is then multiplied by the difference in the top range from the bottom range... please forgive me if I am not understanding the logic 11 (Bottom Range) 25 (Top Range - using this as to ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 15, 2009
Magnum, There is a stoploss... it is the 5th line on each side... look at the MarketCloseOrders function... it is determined by standard deviations... stochastic identifies the best opportunity to buy to catch the pip range before a possible ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 15, 2009
Magnum, Thank you very much for posting the comments!!! This helped me find the little things.... based on your comments, I should move the change the order of the close so that it changes the line1trades to 0 just before using OrderClose() correct? ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 15, 2009
Ok, it looks like it is posting it now and doing the Order Modify correctly... Thus, down to figure out what is happening incorrectly with the OrderClose function.... and the Random function is still not providing a random result... Attached is the ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 14, 2009
Okay, Here is the updates that I have made.... there are two significant problems... both from running in the strategy tester #1 The Buy Order is taking place, but not printing in the journal... there is something wrong with the way that it is ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 13, 2009
Where should I put this so that it generates a random number for every trade opened? I see places say to put it in the Init function... I thought that only ran once at startup, but that wouldn't change the random number each time MathRand is callled ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 13, 2009
Sorry, I meant MathRand() not MathRnd() I thought MathRand() pulls a number between 0 and 32767 Thus, if I tell it to: MathRand() to pick a random number and divide that random number by 32767 it will generate a number from 0 to 1 that number is ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 13, 2009
Also, is there a certain way you have to program ticket recognition that will work for both Live and Testing scenarios? I would like for it to work for both... Any advice on my code will be so tremendously helpful... it seems like it is close to at ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
I cleaned up some code.... I think the tradelines was in the wrong area so I moved it..... now there is some reason that I am getting Error Close 138 messages Edit: I am at a loss... without being able to line execute to find out why trades aren't ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
also, can you provide me an example of how to use an array to shorten my code, etc.? I have never taken any programming course.... I have coded in VBA, and the thing with it is I really didn't have to use an array because the spreadsheet is an array ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
is there a line by line execution with the MetaEditor like with VBA? I would like to know why it is not making the trades =1 after an Order Modify or if it is resetting trades to 0 for some reason here { if ((line4trades<1) && ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
Please let me know if this helps
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
Ok, I am going to post a summary now and will put up pictures of trade charts The theory is a simple one really... at any point, the price can deviate for a number of reasons (banks just want their money, news, etc.) The underlying principle is that ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
It is now opening multiple trades per line instead of 1 trade per line.... why isn't line(x)trades = 1 after the order is complete not stopping the check of if line(x)trades < 1 then buy/sell on the next cycle through?
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
Edit: Went ahead and tidied up further.... will have to send this to a printer to make sure it is all lined up properly Can you please show me an example of your array comment? Why is the tp not random? I am using the random function, but it is ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
Ok, ammended the code As far as the arrays, can you give me a sample of what you are talking about?
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
Ok, here is the update.... When I use the for loop, it is continually giving error 138 messages with no orders open The buy orders was working correct (not opening all 4 at same time) except it is not resetting line orders at TP The sell orders was ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
I see what it is doing now.... These two things need correction: #1 Reset the lineorders to 0 when TP happens (right now it quits after one trade) #2 There is some bug in it that it is opening all 4 orders at the same time instead of following the ...
First EA Version1 Near Completion- Need Help
- coach3131 replied Mar 12, 2009
Thanks... I think I fixed that problem now... but now it is not following the rules and opening multiple orders per line I accidentally had this on three charts on my demo, and it opened up a number of orders..... nice to make 10% on 10k demo ...
First EA Version1 Near Completion- Need Help