- Search Energy EXCH
-
CodeMeister replied Oct 16, 2011Not Clear — Your question is still not clear as can be seen in the replies above which seemed to have missed the point, but I will give it a try. If I miss the point, well that makes 3 of us. For simplicity I am going to assume you want to ...
MQL4 Guide
-
CodeMeister replied Oct 15, 2011Try This — This one will not repaint if you set CloseBar to true and AlertPips to 0, but of course the signal will be late. Use the latest version in post #43. url
Moving Average Cross Indicator with no repaint?
-
CodeMeister replied Oct 11, 2011Cannot Do — This is decompiled code - I don't support.
Zero Divide error? Where do I need to look to fix it?
-
CodeMeister replied Oct 11, 2011Try This — Take a look at my posts #2 and #4. If you do things the easy way, you will never again run into this problem.
Zero Divide error? Where do I need to look to fix it?
-
CodeMeister replied Oct 11, 2011Opposite True — It must be a constant struggle for the moderators to get the threads into the right forums because I notice the opposite. There are people starting threads in Platform Tech asking for help in understanding how to use an ...
EA Forum
-
CodeMeister replied Oct 11, 2011Waste of Time — This thread is a waste of time and should never have been started. Steve correctly pointed out that thread starter's have the responsibility to control the contents and they can allow or disallow EA discussions. Personally, I ...
EA Forum
-
CodeMeister replied Oct 10, 2011Learning — You are not going to progress in your programming knowledge by asking for code every time you run into a problem. The only way to learn is to do it yourself. Try a few things first and then ask specific questions.
No Alert At Every Bar Close Help
-
CodeMeister replied Oct 10, 2011Try This — It is very simple to do. Just keep track of the time of the bar when the alert is hit. Then add the number of seconds until the next alert is desired and only send an alert if the time is greater than that. So if you have skip bar ...
No Alert At Every Bar Close Help
-
CodeMeister replied Oct 10, 2011Bad Assumption — That probably is true for the stock market where the underlying fundamentals driving the value of the stocks is upwards and a down move is driven by profit taking or bad news. But the currency markets have no bias towards long ...
Keeping it simple - MY Strategy
-
CodeMeister replied Oct 9, 2011Unbelievable — This is the second time recently. The last time was more than 72 hours. Really this kind of problem should not take more than a few hours to resolve or as you suggest they have a failover mirror site and we wouldn't notice. url
MQL4 Mirror Site?
-
CodeMeister replied Oct 9, 2011Good Picture — That shows what I thought you meant, but obviously the code is not working like you intended. I took another look at it, but nothing suggested the problem. As I suggested in the previous post, you need to look the the actual ...
EA - Wait 40 pips before taking a trade
-
CodeMeister replied Oct 9, 2011For Sandro — Unless the limit is built into the EA, there is no way to limit the number of open lots until it hits your margin limit. Look for a parameter like MaxLots or MaxOpenTrades or MaxLevels. Some EAs have this capability and some don't.
Do brokers set a max open trades limit?
-
CodeMeister replied Oct 8, 2011if ((Close[1] < iMA(NULL, NULL,55,0,MODE_EMA,PRICE_CLOSE,1)) && (PriceNow+PriceOffset*Point < iMA(NULL, NULL,55,0,MODE_EMA,PRICE_CLOSE,1))) This statement looks fine to me, but I am a bit tired now. You have to test and put in Print() statements to ...
EA - Wait 40 pips before taking a trade
-
CodeMeister replied Oct 8, 2011PriceOffset*Point evaluates to a price difference (0.0040) not to a price like 1.2345. PriceNow+PriceOffset*Point should do what you want. MA = 1.25000 PriceNow = 1.2459 PriceNow+PriceOffset*Point = 1.2499
EA - Wait 40 pips before taking a trade
-
CodeMeister replied Oct 8, 2011Impossible — Look at this statement and plug in some values: if (PriceNow < PriceNow-PriceOffset*Point) if (1.20 < 1.20 - 40*.0001) The statement will never evaluate to true. I think you meant to use this instead: if (Close[1] < ...
EA - Wait 40 pips before taking a trade
-
CodeMeister replied Oct 7, 2011My Thoughts — I believe most activities involving money are risky unless you understand them. But for the most part it is the perception of risk not the reality of risk. Once you learn the basics of risk management, the risk is controlled and ...
why forex is so risky?
-
CodeMeister replied Oct 5, 2011Lagging — HA is definitely a lagging indicator. Just put it on a 1H or higher TF chart and look for 2 consecutive candles as a signal to take a trade or exit. You will notice very quickly that trends are entered late and exited late. HA can be ...
Does anyone use the heiken ashi indicator?
-
CodeMeister replied Oct 4, 2011Try This — I think this alert will work for you. It is usually set for n pips from the EMA, but if you set the AlertPips to 0 and CloseBar to true, it should do what you want. Be sure to use the version in post #43. url
Need alert: moving average crossover
-
CodeMeister replied Oct 1, 2011More — I can't imagine that the start of day timing would have any effect on chart accuracy. Accuracy has to do with timely updating (no disconnects) and little else. You are trading on your broker's price feed and not on somebody else's.
New daily candle, when should it be drawn?