Hey, I wanna visualize the M5 trend (sma 20 and sma 500) by drawing rectangles on the full chart height . This should be draw for example for the current week. if M5 sma 20 is over sma 500, draw a green rectangle if M5 sma 20 is under sma500, draw a
Hey community, how can alerts be deleted without shutting the terminal down and restart it again? I like to delete the alert window lets say every hour or every day. Is there a function or so? Thanks a lot
Hi, I have a label object with an OBJPROP_CORNER=CORNER_RIGHT_UPPER. The label shows a dynamic value, so the the width of the label is also dynamic. Because of the upper right corner the label widens to the left side. Question : How can I get the
Hi, with the function ChartGetInteger function and the property GET_WIDTH_IN_PIXELS I find out the width e.g. respectivly the height of the chart. Unfortunatly that doesnt work when I tile the window. Let's say I have 2 chart windows tiled in
Hello, I coded an custom indicator which is already on the chart and working. I also coded a button (contains to that indicator) which should open the indicators properties when I click on that button. The button itself works fine (I tested him with
Hey everyone, for an EA I can program that for example F7 key is called and the properties of the EA open. For a custom indicator I know I can open via the indicator's list or via double klick on a line or bollinger band or so. Is there a way to call
Hey everybody, my indicator draws lines on the chart and on every new day I want the re-initialize the indicator again. In the OnCalculate() function I will put the following: OnCalculate ( const int rates_total,
Hey everyone, maybe simple question for you. I have a message box in an EA and in case by clicking the OK button I want to open the expert propierties. I still know how to code the message box, but I don't know what to call after the click? Example
Hello, I have coded an indicator which draws lines as objects. I want him to open the indicator properties window by clicking on these lines (object). I don't find the right OBJPROP for doing this. Is this simply possible? Thanks for help
Hey folks, I simply wanna do the following thing: if the bollinger bands (upper and lower band) spread out, there should be an arrow on the upper and lower Band be drawn. For the upper band is it working, but for the lower band I'll get the array out
Hello, I try to write the data of the lower bollinger band and the date(time) for an amount of candles into a *.txt file. I don't know why there's an error that says: array out of range in 'save file 3.mq4' (32,19) Thanks for any inspirations. Greez
Hey everybody, I try to create a little output into the expert log on MT4. What I do: int start() { int i; for (i=0; i<=2; i++) { double lB_EURJPY_D = iBands("EURJPY",PERIOD_D1,20,2,i,PRICE_CLOSE,MODE_LOWER,0); double uB_EURJPY_D =