- Search Metals Mine
- 3,858 Results (90 Threads, 3,768 Replies)
-
Ronald Raygun replied Jun 6, 2009It also depends on your leverage, which I suspect is in play here. For example: on a 500:1 leverage account, it costs me ~$200 to open 1 lot (I need $200 in that account). In a 100:1 leverage account, it costs me ~$1,000 to open 1 lot. Let's say the ...
Available margin
-
Ronald Raygun replied Jun 5, 2009You need to hard code those in in advance.
Howto Avoid Shorter/Partial Sessions...
-
Ronald Raygun replied Jun 4, 2009can't use certain characters in variables.
Using numerical value in external's
-
Ronald Raygun replied Jun 4, 2009Get a simple moving average, set the period to 1, and then apply whatever price you see fit.
Line chart in MT4 cuts off shadows (newbie ?)
-
Ronald Raygun replied Jun 4, 2009Perhaps you should take a look if you want an EA =D
3 RSI crossover
-
Ronald Raygun replied Jun 4, 2009Which brings me to my next question... How bad does the drawdown get? For example, how well does this system fare on March 18?
3 RSI crossover
-
Ronald Raygun replied Jun 4, 2009You can run it one line at a time. just put /n after every section.
Feedback on MT4 programming?
-
Ronald Raygun replied Jun 3, 2009Comment() Alert() are common ways to do it. But in all seriousness, debugging in MT4 is crap
Feedback on MT4 programming?
-
Ronald Raygun replied Jun 3, 2009Did you see how I filtered trades in the order search code? I put my exit and trade management criteria in there.
Any easy way to make the next trade dependant on previous trades outcome?
-
Ronald Raygun replied Jun 2, 2009Can you put up the whole code? I'm looking specifically for the "IsTrade" variable.
Help with Lot sizing
-
Ronald Raygun replied Jun 1, 2009In the account history, is it entering one trade, then closing it, then entering another trade, then closing it, etc? Or are there multiple trades open at one time?
Help with Lot sizing
-
Ronald Raygun replied Jun 1, 2009I'll assume you have some form of a system to start with, no?
Need help with divergence system
-
Ronald Raygun replied May 31, 2009The 'for' loop allows me to be able to recover in the event the EA is reinitialized (power outage, system reset, etc). I can have the EA take a trade, remove the EA, then reattach the EA (with the same settings of course), and the EA can pick up ...
Any easy way to make the next trade dependant on previous trades outcome?
-
Ronald Raygun replied May 31, 2009Instead of checking by OrderProfit... if(OrderClosePrice() == OrderStopLoss()) CloseStatus = "Loss"; if(OrderClosePrice() == OrderTakeProfit()) CloseStatus = "Win"; This snippet here: int i=OrdersHistoryTotal(); OrderSelect(i, ...
Any easy way to make the next trade dependant on previous trades outcome?
-
Ronald Raygun replied May 31, 2009Trades For every dollar you lose, you make "x" dollars. If it's less than 1, the EA lost money. Not directly. The way you do it is to save the backtest as a report. Then get a program to parse the report into .csv
MT4 Backtest questions
-
Ronald Raygun replied May 30, 2009Look at the maximum drawdown of the three other data points. Do they also line up in a linear fashion? Graph these two lines: y = (1/2)x+10 y = x^2 One line is curved, and the other line is straight. When you start out, you'll see that y = x^2 is ...
MT 4 strategy tester question