mar
mar
Friends

Add friends via their profile or user search and you will be able to see if they are online

mar
Added topic Can the strategy tester start at a pre-defined time or does it always start at midnight?
Hi all, I want to test a strategy that only works from 10-12 and it's very annyoing that I have to wait and watch the bars being printed from 0-10 although my EA doesn't work during these hours. Is there a possibilty to let the strategy tester start
mar
Added topic Buffers possible in an EA?
Hi forum, I have an indicator which basically marks a high when the high to the left and the high to the right are lower. Similar to the fractal indicator. I use a buffer to place a dot on the bar with the highest high. Now I would like to implement
mar
Added topic The unprecision of trendlines, how to avoid that?
Hi all, I noticed that even if I use fixed price points to draw a trendline, going to the lower timeframes could result in a mess. Here you can see a trendline I drew on the H4 chart. You can clearly see which points I used to draw it. The
mar
Added topic How can I measure the data traffic caused my MT4?
Hey forum, I think about buying a new netbook with a mobile data-stick. There are a lot of sticks with different monthly data volume available and I don't know which one to buy. I only want to use that netbook for trading purposes. But how can I
mar
Added topic Code only executed once after 11:00 am
Hey coders, I program an expert advisor and there is one part which should only be executed one time a day after 11:00 am. I do it this way but there is something missing: if (TimeHour(iTime( NULL , PERIOD_M1 , 0 ))== 11 && TimeHour(iTime(
mar
Added topic Delete certain times from the database possible?
Hi forum, I want to see the S&P Future (CFD of course) only in the real US-trading hours. Is there a chance to delete all night-data from 16:00 pm to 09:30 am? I tried to hide those bars by using a rectangle object but then there are too long
mar
Added topic Can a function return more than just one value?
Hi coders, I made a simple example of a function within a script. Is it possible to return not only the high but also the low, open and close of the outsidebar? Would it also be possible to return the iBarShift for that bar because this would be an
mar
Added topic Copy lines from one MT4 terminal to another
Hi forum, I want to plot a line on my chart and this line should be copied to the chart of another MT4 user. My idea was to do two expert advisors. The first one runs on my chart and checks if I plot a new line, remove a line, change the line
mar
Added topic EA should identify a computer
Hey forum, I googled a lot and found some interesting postings about protecting an EA from being executed on different computers. But all solutions were pretty complex because the main issue was protection. My question is simpler. I don't need to
mar
Added topic Changing the timeframe of the current chart causes problems
Hi forum, I made a script which should change the current timeframe to M1, then make a screenshot and change the timeframe back to the original one. But I always get a message from metatrader if the script should be terminated. I read in the
mar
Added topic Question about Chart Events
Hi, can somebody tell me why this indicator isn't working? int OnInit ()   { //--- indicator buffers mapping    //---    return ( INIT_SUCCEEDED );   }
mar
Added topic Awesome Multi Charts Indicator
Hi forum, recently I found this indicator which is imho really awesome. It displays smaller charts of different symbols in the same timeframe the main chart is. What I find even more useful would be if the smaller charts show the same symbol as the
mar
Added topic Can I forbid selecting objects?
I  use an indicator plotting round levels on my charts. But when I plot a normal horizontal line and I want to move or delete it it often happens that I select the round number line instead of the horizontal line I wanted to select. So I would
mar
Added topic Problems with a script to plot lines at round numbers
Hi forum, I have no idea why this script works sometimes and sometimes it doesn't. If I use it on NZDUSD H1 it looks fine but if I use it on EURUSD there are a lot of lines missing. Also when I change timeframes there a many lines missing
mar
Added topic Total-risk-indicator // how to execute the OnStart() when a stoploss-level is moved?
I made an indicator which shows the total risk of all running trades. I don't want to let it run and check all orders with every tick because this is not necessary and wastes processor time. Therefore I check if the number of open orders (OP_BUY and
mar
Added topic Subwindow above main chart window possbile?
Hey guys, is it somehow possible to place the indicator subwindow above the main chart window? 
mar
Added topic How to wait for all bars to be loaded before taking a screenshot?
Hello, I have a profile with 40 charts and when I use it there is an indicator in each chart which makes a screenshot. The problem here is that there are sometimes two screenshots of one chart. These screenshots are a bit different. The second
mar
Added topic Calculate the risk of all open orders
Hi forum, I want to make an indicator which calculates the total risk of all open orders. My idea is to check all OP_BUY and OP_SELL orders and calculate the risk of each individial order by using OrderOpenPrice() and OrderStopLoss(). Then I convert
mar
Added topic Question about OBJPROP_TIMEFRAMES
Hi, I made a small script which should tell me if a horizontal line is visible in the current timeframe . The line I plotted is only visible on H1 but whatever timeframe I choose I always get "true" as a response.  I doubt that bool is the
mar
Added topic Problem with the economic calendar of my MarketInfo-indicator
Hi, I made an indicator which gives some information about the market, ie ADR, today's range, spread, swaps, remaining candle time etc. Now I added an economic calendar to it. It works pretty good, but there are two issues I can't solve: 1) My