Dan
Dan
Friends

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

Dan
Added topic help, drawing M5 trend in background on multiple timeframes
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
Dan
Added topic Sorting 2 array with different types
string fxsymbols[ 3 ]; double pipschange[ 3 ]; fxsymbols[ 0 ]= "AUDUSD" ; fxsymbols[ 1 ]= "EURUSD" ; fxsymbols[ 2 ]= "USDJPY" ; pipschange[ 0 ]= 10 ; pipschange[ 1 ]=- 8 ; pipschange[ 2]= 3 ; Hey everyone, I have to arrays that are related to
Dan
Added topic Delete Alerts
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
Dan
Added topic getting the width of an label object
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
Dan
Added topic getting width and height of a tiled window
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
Dan
Added topic CButton, Click to open indicator properties
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
Dan
Added topic Shortcut or key to open indicator's properties
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
Dan
Added topic Call OnInit() when a new candle is on the chart
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,      
Dan
Added topic How To open the expert properties?
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
Dan
Added topic previous days high/low
//+------------------------------------------------------------------+
Dan
Added topic Open indicator properties by clicking on object
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
Dan
Added topic Indicator help needed
extern datetime candledate= D'05.07.2016 16:00' ; //DD.MM.YYYY
Dan
Added topic array out of range with Indicator
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
Dan
Added topic filewrite-array out of range
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
Dan
Added topic Simple loop Problem
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 =