- Search Crypto Craft
-
magnumfreak replied Jul 1, 2008it might make it easier for someone to look at the code if you would post the mq4 file for the ea. Right now it is hard to figure out what is going on with just snippets of code.
What's wrong with this EA?
-
magnumfreak replied Jul 1, 2008no debugger in MT4, welcome to the nightmare. error 134 is not enough money in the account to execute the order. By what I can see you are trying to purchase 10 standard lots with an account value of 10,000.
What's wrong with this EA?
-
magnumfreak replied Jul 1, 2008looks like your routine for selecting the order to close is not selecting a valid order. Your order number is coming back as 1 it should be set to the ticket number of the order you wish to close.
What's wrong with this EA?
-
magnumfreak replied Jul 1, 2008Mobile is ok however, it won't work for everyone in every situation. For myself, my entire trading system is based on custom indicators so mobile will not work in my case.
Metatrader Mobile
-
magnumfreak replied Jul 1, 2008no, but you can bring home those 72 virgins 1 at a time. LOL!
Cesarnc's market talk, gossips, rumours & fun
-
magnumfreak replied Jul 1, 2008check the list at the bottom of this page. It lists several similar threads.
vegas method model
-
magnumfreak replied Jul 1, 2008there are several good macd indicators out there. The one I use isn't available to give away, sorry. And yes you are correct on the other things.
MACD, Parabolic SAR, and Awesome Oscillator
-
magnumfreak replied Jul 1, 2008just need to attach it to different charts. You can have multiple charts open for a pair even if they are on the same timeframe.
How to run one on more than one pair and time Frame at the same time?
-
magnumfreak replied Jul 1, 2008if the value of psar is above the price of the candle then it is higher. Psar will return a value equal to the price the psar is at then. awesome oscillator you will need to look at the previous two candles if the value of AO for [1] > than for [2] ...
MACD, Parabolic SAR, and Awesome Oscillator
-
magnumfreak replied Jun 30, 2008what would determine the amplitude and frequency of the sine wave?
sine wave indicator?
-
magnumfreak replied Jun 30, 2008typically init is just for things you want to execute just once upon starting. I use it for setting initial values for an indicator or ea. So, let's say you have different settings for an indicator based on the timeframe it is running on. I would ...
Help with init() and deinit() functions
-
magnumfreak replied Jun 29, 2008I would start by creating an indicator first. something simple like a moving average. This will break the ice with metatrader and its complete lack of debugging tools. Then move onto an ea which can get very complicated quickly.
Help with init() and deinit() functions
-
magnumfreak replied Jun 29, 2008init is only called on during the initial start of the indicator or EA OR when you switch timeframes. deinit is only called on the removal of the indicator or EA or when you initially switch timeframes but before the new timeframe takes effect. Yes, ...
Help with init() and deinit() functions
-
magnumfreak replied Jun 29, 2008no way to make them native. The best way to speed up backtesting when using them is to make sure the code for the indicator is written for efficient execution. Otherwise you are stuck twiddling your thumbs while you wait.

Custom Indicators vs. Technical Indicators
-
magnumfreak replied Jun 27, 2008spending all those pips they made this week.

Auslanco - GBP/JPY and GBP/USD (newstrade)
-
magnumfreak replied Jun 25, 2008There are several right here on Forex Factory that are already developed and work just fine: MA Cross: url PSAR Cross: url
Turning an MT4 Indicator into a Template?
-
magnumfreak replied Jun 25, 2008there are a number of indicators out there that already do what you are asking for. In particular look in the metatrader section and do some searches. I think you will find everything that you need.
Turning an MT4 Indicator into a Template?
-
magnumfreak replied Jun 25, 2008That just doesn't sound right. LOL! Anyway, be careful today with the interest rate announcement at 1415 eastern U.S. time could move it strong one way or another depending on what Bernanke says. Good luck and hopefully it will move all the way to ...
EUR/GBP SHORT for No Brainer
-
magnumfreak replied Jun 24, 2008Nope there is no way to select the charts automatically after a specified time. Cntrl-Tab will move through the charts by keyboard.
Switch charts automatically?