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 Keep a rectangle updated?
Hi guys, I use a script to print a rectangle to display support and resist zones. Now my problem is that the script only prints the rectangles to the current bar because I use TimeCurrent() as the second time value. I read in another thread that a
mar
Added topic Can somebody help me with this OsMA-Indicator?
Hey guys, I made a ColorOsMA Indicator and it works fine. Now I wanted to add two horizontal lines to the indicator. It is the first step to program my own divergence-indicator. The indicator should print the lines at the last top and the last low of
mar
Added topic DayOfWeek and TimeDayOfWeek problems..
Hi coders, whatever I try with these functions , I only get 5 as a result today. But Saturday should be 6. Is there any trick to get the the weekday
mar
Added topic Compiling-Problem: "implicit conversion from 'string' to 'number'"
Hey guys, I just want to print some rules on the right side of the chart. But there is a problem I don't understand. Why is my string-array automatically converted to a number-array?! The compliling error occurs in the row containing ObjectSetText()
mar
Added topic Script: OrderType as option in a pulldown menu possible?
Hey coders, I want to do an order script. Right now I use the numbers 0-5 in the options to determine the type of order . Is it somehow possible to use a pulldown menu in the options from that I can choose OP_BUY, OP_SELL ... ? Sometimes the numbers
mar
Added topic Small Moneymanagement-Indicator ruined by new MQL4
Hey coders, I made a small Moneymanagement indicator which worked fine for me. But since the new MQL4 it causes problems I can't handle. When you drag this indicator to your chart some numbers are printed on the very right side. The first number
mar
Added topic Problems with a colored line chart
Hey guys, can somebody tell me where the error is? Here is the code: #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Lime #property indicator_color2 Red double SMAup[], SMAdn[];
mar
Added topic Script to draw a VLINE on every Friday
Hi coders, as mentioned in the headline, I developed a short script. Unfortunately it doesn't work at all. Any help is very appreciated! int start()   { //----    int counted_bars= IndicatorCounted ();    if
mar
Added topic Why do I only get rounded (4 decimal) values??
Hi, can somebody tell me why this script only displays rounded, 4-decimal values, although I use a 5-digit-broker? int start()   { //----    datetime drop_time   = WindowTimeOnDropped ();    int
mar
Added topic Open a new chart within an indicator
Hey guys, I read many topics about opening a chart with a script or some questions about opening a chart in an EA but I couldn't find a solution. My indicator checks different pairs for different setups. When a setup is found it is displayed in a
mar
Added topic Current Spread displayed as an Object
Hi Forum, I created a small indicator printing the spread as a label-object. It works fine. I just have a technical question: The label-object is printed with every tick . Is it a problem when the object is printed and printed again? Is is
mar
Added topic Add vertical space / compress chart / y-axis scale
Hi Forum, I think most of you know that problem: You see a very big and choppy range in the chart window and after a successful breakout this terribly looking range becomes tiny and tradeable. Usually I compress the y-axis a little bit. That makes a
mar
Added topic Resizing chart by executing a script possible?
Hi Forum, I use the MetaTrader on two Monitors with many small charts. When I maximize one chart, it is stretched over two monitors and I hate that. So my idea was to create a script (which could be executed with a hot key) to stretch the active
mar
Added topic Problems with an EA taking partial profits
Hi, this EA should close 50% of the position when TP1 is reached and modify the order by placing the stoploss to breakeven and setting TP2 as the take profit for the other 50%. Unfortunately it doesn't work at all... Maybe somebody could help
mar
Added topic Initializing an array with extern variables not possible in a script? Compiling error..
Hi coders, I wanted to create a script which contains user-defined colors. But there is always a compiling error. I think it is not possible to initialize an array with user-defined variables. But how can I solve this problem? When I initialize the
mar
Added topic How to import the DLLs automatically?
Hi, I use a script which needs some DLLs to work. Every time I use it, I have to confirm that importing DLLs is allowed and I have to de-select that every single DLL call must also be confirmed. So I would like to automatically have the green
mar
Added topic Problem with populating an array..?
Hi Forum, can someone tell me how to populate the array correct? I only get zeros as a result of test[i]. int init()   {    int test[];    for ( int i = 1 ; i<= 10 ; i++)    {
mar
Added topic Do I need to use a three-dimensional array?
Hi, I use a scanner in a dashboard-style like you can see in the attached image. It scans for Pinbars in all currency pairs in all timeframes. A red dash means that the last bar was a "Short-Pinbar" (long upper shadow), green means a long
mar
Added topic Array values from extern variables?
Hello Foum, I use different timeframes in an indicator to make some calculations. At the moment I use all timeframes by creating two arrays like these: string Timeframe[] = { "M1" , "M5" , "M15" , "M30" , "H1" , "H4" , "D1" , "W1" }; int
mar
Added topic How can I hide a part of the chart on the left window side?
Hi Forum, I wanted to print some comments on the left side of the chart but the chart is sometimes overlapping the text and make it unreadable. Therefore I wanted to hide a part of the chart by using a black object. I tried it with a rectangle but it