- Search Crypto Craft
-
magnumfreak replied Apr 10, 2008You can use DayOfWeek to determine what day of the week it is. Use TimeHour(TimeCurrent()) to find out what the hour of the day is. Then just write your ea to close your positions when you are at a certain day of the week and certain time of the day.
How to detect it's 2 hours before market close for the weekend ?
-
magnumfreak replied Apr 8, 2008Nice. Thanks for the update. FIX connectivity provides more capabilities than a standard API. Should be fun.
MB Trading Futures - Introduction
-
magnumfreak replied Apr 8, 2008Justin: Any major changes to the API?? I am currently developing a charting package for MB Trading and I am just wondering if I need to hold off until the integration is complete.
MB Trading Futures - Introduction
-
magnumfreak replied Apr 8, 2008you can only link price and time you would then need to get excel to calc. atr for you
MT4 DDE ATR?
-
magnumfreak replied Apr 7, 2008could be a couple of things. You may not have all the files needed to run, in other words, it may be looking for a file that plots a trendline or whatever and it is not there. Check in the journal and/or the experts tab to check for errors. when you ...
Can't get ex4 file to work.
-
magnumfreak replied Apr 6, 2008CRAP! That's what I get for trying to look at code at 4 am. LOL!
exit on psar
-
magnumfreak replied Apr 6, 2008many non mt4 brokers have API's which allow you to create custom applications that can interface with their trading platform. Creating an application is not that difficult if you are familiar with programming for windows. If you are not, then hire a ...
Using MT4 to interface with other applications instead of make trades?
-
magnumfreak replied Apr 6, 2008instead of looking at candle 0 and 1 look at candle 1 and 2. What is happening is on the last candle just as it is getting ready to close, the psar is bouncing from below to above the candle. As it does your logic is telling it to open close open ...
exit on psar
-
magnumfreak replied Apr 6, 2008Rather than post the code directly into your reply, just attach the .mq4 file so people can quickly open it in their own editor to look at. When you copy and paste it here, it does some funny stuff with the spacing and makes it hard to look at.
exit on psar
-
magnumfreak replied Apr 5, 2008mt4 can't do separate windows. All charts must be a part of the main window. However, you could run 2 instances of mt4 and have one for the indicator you wanted and one for regular charting.
Show pip value in MT4? Show pair in an enlarged window?
-
magnumfreak replied Apr 3, 2008showing the dollar value (I guess you want to know how much each pip is worth) would require an indicator to be built. There is no way in MT4 to do this for you. The bid ask window that you are talking about is also not programmed into mt4. It could ...
Show pip value in MT4? Show pair in an enlarged window?
-
magnumfreak replied Apr 3, 2008no not that I know of, you are stuck with the way you are doing it.
Periodicity (Chart Period) Hotkeys?
-
magnumfreak replied Apr 3, 2008none, it is how metatrader has been programmed to work. No way around it.
Trailing stop on brokers server
-
magnumfreak replied Apr 2, 2008not sure what you mean, can you give more info??
how to set mt4 to show price change?
-
magnumfreak replied Apr 1, 2008no you cannot. What you are doing is dealing with the dealing desk at your broker. Instead of sending a single order for 8 lots why not break it down into smaller chunks? Break an order of 10 lots down to two smaller orders of 5 each.
Can I Ask About MQL Coding pls..
-
magnumfreak replied Apr 1, 2008why not just draw the fib on the chart then manually set the alerts with the built in alert feature in MT4? You already said you don't want it to draw the fib lines automatically, since you are there it would only take a few seconds to set the ...
Fib tool with alert
-
magnumfreak replied Mar 31, 2008Here you go, iMA will get you moving average values from different timeframes: double iMA(string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)Calculates the Moving average indicator and returns its ...
Calculating Function values for higher TFs, Programming help
-
magnumfreak replied Mar 31, 2008it is just a moving average ea. It will open a position if the price crosses and close it when it crosses back.
EA question?
-
magnumfreak replied Mar 31, 2008Continously writing it to a csv is your best choice. Mt4 has several built in utilities for writing data to a file.
Is it possible to add custom columns to the terminal window tabs?
-
magnumfreak replied Mar 31, 2008if they are smart they will.
I will typically risk between 1.5 and 2% on each trade.How much do scalpers risk per trade?