Forum

Get Dividend on MT4

Hello to everyone, Is there any function/call with which I could get the anounced dividend of a stock with mql4? Thanking you in advance, Panos

AccountNumber On Init Validation

Hi, I would like to ask the forum the forum the following: In an indicator in the Init block code, I have added some code to test the accountnumber, AccountCompany & IsDemo if the accountnumber,AccountCompany & IsDemo are equal to their preset values then the indicator Starts else it doesnt start

Linear Regression Channel in Strategy Tester

Hi, I would like to ask the following. I have created an Indicator that creates a Regression Channel and passes the values of the Current Upper,Middle and Lower Regresion Lines for each tick to a MYSQL database. I would like to test the aforementioned indicator in Strategy Tester Mode and fill by

ObjectGetValueByTime:Always 0 as returned value

Hi, I am faceing the following problem: I create a regression channel with the following code if(RegressionCreate(0,"Regression",0,mindate,maxdate,clrBlue,STYLE_SOLID,1,false,false,true,true,true,0)==true) { Regression_Channel=true;

write a comment to the indicator's hight

hi, I would like to write a comment on a custom indicator to the height of the indicator. For example in the stochastic indicator imagine that i would like to write a comment next to the stochastic value. how would i do it? Thanks

Adding a widget on fb

Hi i would like to add a widget on my fb profile page The bbcode produced by the market-widget is [url=https://mql5.com/2i1a][img]https://www.mql5.com/en/market/widget/41/mid?f=1[/img][/url] so if i post https://mql5.com/2i1a as a comment on my fb will it work? Thanking you in advance

Error 145 Trade Server Return Code To add comments, please log in or register

Hi, while in strategy tester I Try to modify my stop loss and I get error 145 (short position). I can not explain the reason why because the Stoplevel is 10 pips, my TS is 39 pips and the SL-Ask=48 pips > than 10 (the stop level ) The position at hand is a short position! 2014.03.01 13:53:05.343