- Search Energy EXCH
-
CodeMeister replied Feb 10, 2011Suggestion — This is a very good and almost complete explanation of how to obtain good quality MT4 data. One thing I think you neglected to mention is the impact of importing this data on the broker's historical data. I think it should be ...
TestGenerator: unmatched data error
-
CodeMeister replied Feb 10, 2011No — There are no incoming ticks for an offline chart, so the EA sits there and does nothing. If the EA is coded properly, it can reference the offline chart from another chart of the same currency and place trades just as if it were attached ...
Can you attach an EA on an offline chart?
-
CodeMeister replied Feb 10, 2011Try This — You can do what you want with the chart shift mark. The chart shift mark (a gray triangle in the upper part of the window) can be moved with the mouse horizontally within 10 to 50% of the window size. Once the chart is sized ...
SHIFT Display Question
-
CodeMeister replied Feb 8, 2011Rather than spend the time trying to get the EA to be a loser, spend the same amount time trying to make it into a winner. It will be just as difficult and the results will probably be the same.
I have written more than 20 EAs and only one was ...Trading Based on Reversing Theory....Testing ON
-
CodeMeister replied Feb 8, 2011Try Gann S9 — Somebody has already mentioned Hurst Cycles, so I guess equal billing should be given to Gann and his techniques. Specifically the Square of Nines supposedly can be used to project where the price will be. I have been trying to ...
the indic tells future?!
-
CodeMeister replied Feb 8, 2011Free — May as well give them away unless you can copy protect them. As soon as somebody gets the EA, it will get copied to somebody else and then posted somewhere. Even a licensing key can be broken by someone determined.
How much should I charge
-
CodeMeister replied Feb 7, 2011Longer Term — 12 trades doesn't really provide much information to rely on. And you are right - once the markets start to chop, HA will be a loser. HA always looks so tempting to trade on a historical chart, but in the live market, its usually ...
Does anyone use the heiken ashi indicator?
-
CodeMeister replied Feb 3, 2011Try This — Previously discussed here. url
Excel to mt4 - can't find my answer
-
CodeMeister replied Feb 2, 2011Try This — This should give you the general idea. int allOrders=OrdersTotal(); for(int pos=allOrders-1;pos>=0;pos--) { if(OrderSelect(pos,SELECT_BY_POS, MODE_TRADES)) { if ((OrderSymbol() == Symbol() && OrderMagicNumber()==MAGICPB) && ...
Trade time wait
-
CodeMeister replied Feb 2, 2011Try This — I haven't tried this suggestion yet, but I have been meaning to. url
Text on High of a Candle
-
CodeMeister replied Feb 2, 2011Try This — There have been a number of previous discussions on this matter and I happen to have this one bookmarked. It will give you some ideas to get started with. You should also explore named pipes which is something I learned about ...
How to share data between 2 MT4 sessions?
-
CodeMeister replied Feb 2, 2011Try This — By declaring a variable as static in the same section of code as the externals, it will retain the same value every time the EA is invoked by a new tick until it is assigned a new value. It is only initialized once at EA loading. A ...
question about variable initialization
-
CodeMeister replied Jan 31, 2011Rubbish — The linked thread was a bunch of amateurish rubbish. Keep track of the number of open trades and set a user specified maximum open.
Trade time wait
-
CodeMeister replied Jan 29, 2011Try This — I think you are referring to the MT4 order entry popup and the current default SL and TP is 0. There is no way to reset that to something useful. You can do what you want with a script which has default settings and could be run ...
Mt4 default order settings
-
CodeMeister replied Jan 27, 2011You Are Right — From the technical point, you are right. I was trying to put it into terms that a non technical person could understand. That isn't easy.
question re DDE to Excel data transfer
-
CodeMeister replied Jan 27, 2011DDE — DDE is raw data. It is not formatted in any manner that is selectable. There is no way to do what you suggest without coding. Most people export CSV file data from MT4 to Excel if they want chart specific data. There are a number of EAs ...
question re DDE to Excel data transfer
-
CodeMeister replied Jan 27, 2011Misunderstand — I think you misunderstand DDE. It is simply a raw data feed from one program to another. No filtering or formatting is done. In the case of MT4, the feed is tick data. Tick data is fed into charts on the MT4 platform. Think of ...
question re DDE to Excel data transfer
-
CodeMeister replied Jan 25, 2011Try This — It doesn't matter what timeframe is used. I am sure that the files are there. Are you using Vista or Windows7? MT4 is not compatible with the file structure of them and the files won't show unless you have administrator priviledge ...
printing the charts
-
CodeMeister replied Jan 25, 2011Try This — The code I provided was a suggestion of how I have done things. It needs to be converted to work in your code.
comments field code for ea or script
-
CodeMeister replied Jan 25, 2011Useless Suggestion — What makes you think removing the header would deceive somebody competent from not recognizing decompiled code? People who decompile code don't deserve any advise - just scorn. That is common sense.
how to rewrite MQL4 to MQL5 script?