- Search Energy EXCH
-
CodeMeister replied Oct 16, 2009Here it is — James, here is the requested modified version. I was able to include 3 bars of data in the text string without taking up too much chart space. The risk amount needs to be input with the other settings, but it can be changed at any ...
ATR Indicator Mod
-
CodeMeister replied Oct 16, 2009Simple to Change — This is an easy change to make to the code, but the back testing will take several days. As far as the rationale goes, basing the box on the closing price versus the high/low doesn't seem to be a big difference maker. The ...
Simple Breakout/Straddle EA required
-
CodeMeister replied Oct 15, 2009Stop Loss Error — This error has nothing to do with buy and sell signals and nothing to do with logic flow. It is simply that the Stop Loss specified is too close to the Ask/Bid at OrderSend or OrderModify. This really is no different than ...
Code for Graphic on Charts
-
CodeMeister replied Oct 14, 2009This Should Do It — Checking for the absence of arrow objects should prevent this problem. I assumed that the arrows would be present before running the EA, but that may not always be the case. if (ObjectsTotal(OBJ_ARROW) > 0) { if ...
Code for Graphic on Charts
-
CodeMeister replied Oct 14, 2009Vista Explorer — I am talking about Vista Windows Explorer. If you are on Windows XP, I don't know what the problem might be. But hidden files are a known problem in Vista and this is the way to see them as you did before. Perhaps this website ...
Help! Missing CI when I access through Windows Explorer
-
CodeMeister replied Oct 14, 2009This Should Do It — Be sure to test it thoroughly. Keep in mind that days in this calculation are considered to be the last 24 hour period and not from midnight to midnight. datetime minTime[5]; double lowVal[5]; for (int j=0; j<5; j++) { int ...
How to calculate the time of low bars
-
CodeMeister replied Oct 14, 2009Data Quality — Looks like the data you are using for backtesting has problems. Either switch to a different date range or a different currency pair or a different broker. I don't think the code is the problem.
Problem using Dibs EA
-
CodeMeister replied Oct 14, 2009Try This — I don't know if this will work because I have only seen part of the code and it is hard to read and I'm not about to decipher it. There already is trailing stop logic in the program. Put this logic in the for(int ...
Help! - I need trailing Stop on every new order placed
-
CodeMeister replied Oct 14, 20092 Lines — int ix = ArrayMinimum(Low, (5*1440)/Period(), 0); // any chart datetime minTime = Time[ix]; // date and time of min value
How to calculate the time of low bars
-
CodeMeister replied Oct 14, 2009CAD and AUD — These pairs are the two I would nominate as being the least technically reliable except of course when they are behaving reliably. I think it has to do with the volume of order flow and perhaps the influence of other factors such ...
Which pairs act most reasonably technically?
-
CodeMeister replied Oct 13, 2009Vista OS — I assume you are using Vista. Navigate to the directory and look for the "Compatibility Files" icon on the bar between the navigator and the file listings. Double click on the icon and your files should appear. Welcome to FF.
Help! Missing CI when I access through Windows Explorer
-
CodeMeister replied Oct 13, 2009New Testing — Your comments got me thinking that I should take a different approach to testing and input settings. So I opened everything up and the results are more encouraging. I was able to get July's results to break even. Unfortunately ...
Simple Breakout/Straddle EA required
-
CodeMeister replied Oct 13, 2009Trailing Stop — I think there is some confusion about what a trailing stop is. It does not act like a take profit; that is called a stop loss and it is present on OrderSend. If your question is does MQL come delivered with a trailing stop, the ...
Help! - I need trailing Stop on every new order placed
-
CodeMeister replied Oct 12, 2009Modifications Done — James, here is the modification as requested. Rather than hardcoding the spread value, I used the value supplied by the system. My code changes are annotated. Let me know if you have any other mods.
ATR Indicator Mod
-
CodeMeister replied Oct 12, 2009Coded and Tested — I have coded the EA and partially tested it. The results are not very encouraging. Over the past month or so, they were strong with a 46% win ratio and a 10% payoff. I also backtested it during the summer and it had a 78% ...
Simple Breakout/Straddle EA required
-
CodeMeister replied Oct 12, 2009GBPUSD — My vote is for the Pound / Dollar pair. It has strong moves and doesn't give too many false signals. I particulary like its retracements. But you need to careful and understand its unique characteristics such as at the London opening.
Which pairs act most reasonably technically?
-
CodeMeister replied Oct 10, 2009Feedback for Peter — Your comments are very helpful and I have few things of my own to add. I looked at several daily charts and drew lines on them at the high and low of the bar. The thing I noticed was that most of the day's activity ...
Simple Breakout/Straddle EA required
-
CodeMeister replied Oct 10, 2009An Alternative Solution — Use a pip factor based on the number of digits. Wherever there is a reference to pips just multiple by this factor (pf which is either 10 or 1) such TP = TP*pf; SL = SL*pf; int init() { pips = MarketInfo(Symbol(), ...
Urgent: can anyone solve this problem make it work in 4 decimal placing
-
CodeMeister replied Oct 9, 2009Misunderstanding — Maxx, I was offering to code your strategy not post my code. There are some common features between the two so I wouldn't have to start from scratch. This makes it easier to do of course and I should have something ready for ...
Simple Breakout/Straddle EA required
-
CodeMeister replied Oct 8, 2009Pairs Have Personalities — Pairs have personalities something like stocks but much more distinctive. Once you become more familiar with the distinctions between them you will be much more comfortable. I can see the same patterns repeating time ...
Some Questions about Stocks VS. Forex