DGRL / Publications
Forum
ChartApplyTemplate error 5002
Hi Not sure if this question is in the correct topic area. If not apologize for it I have a small script (NOT EA) and would like to apply chart templates when a change occurs. In the end I even tried FUL path yet I keep getting error 5002 (sometimes 5019) string templateFolder =
Getting tickvalue used by Stop Loss and Take Profit function
Hi I would like to ask some help in my search for the correct tick value. In both MT5 and MT4 the tickvalue is sometimes set in a different currency then the deposit currency. When you place an order and DRAG the order up or down to set TP or SL the "value" is based on deposit currency. See the
Getting the value of 1 tick (TP or SL)
Hi I would like to know how to get the money value of 1 tick in MT5 I tried double tickSize = SymbolInfoDouble (symbolA, SYMBOL_TRADE_TICK_SIZE ); tickValue = SymbolInfoDouble (symbolA, SYMBOL_TRADE_TICK_VALUE ); But that does not gives the correct value The value I am after is the one used
Calling two function using Icustom from one ex5 file
Hi I would like to ask some help with the iCustom function I have file A so to speak and file A has these 2 indicators EMA13_initial = iMA(_Symbol, TimeFrame, EMAPERIOD, 0, EMAMODELT, PriceType); MACD_initial = iMACD(_Symbol, TimeFrame, FASTEMA, SLOWEMA, MACDESMA, PriceType1); In File 2 I
OBJ_TEXT not showing
I just want to print a small OBJ_TEXT in the right upper corner of the main chart window showing SWAP LONG and SWAP SHORT. I can print the values and show it in a comment but OBJ_TEXT is not showing up at all Am I missing something? #property version "1.00" #property strict #property
Where to download MT4
Hi I am trying to download a new installer for MT4 from https://www.metatrader4.com/en/download But there is something wrong with the installer. The name says MT4 but when you install it it will install MT5 Does anyone knows why the website even f the button says MT4 will give you MT5 installer? And
MT4 takes at least 10 minutes to load
Hi all I would like to know what to do to make MT4 load a little faster. For me it takes approx. 10 minutes after the click on the shortcut for the screen to popup. For me 10 minutes it a little to long for a program to fire up. The profile that is loaded only has 2 charts. I have 3 more profiles
Placing text on chart with fixed distance from last candel
Hi I made a small code to place remaining candle time to be displayed on the chart Now I use this code ObjectCreate ( "time" , OBJ_TEXT , 0 , Time[ 0 ] + 1750.000 , Close[ 0 ] + 15.000 ); The line below simple places the text 1750 units to the right from the last candle. Time[ 0 ] + 1750.000 Issue
Playonlinux and wine MT4 does not send email
Dear forum I have MT4 running on my server using Playonlinux and wine when i send an email from home its send but when i try to send using the server no email is send even in the journal no message of email sent succs or fail is being printed Looks like it is not even processed while i get the
Corrupt EA?
Dear forum members, May i ask if someone knows my issue? When you make a new EA using Metaeditor and press the save as button the program goes directly into the correct folder (i.e. expert folder for EA and indicators folder for indicators etc) Now i have made a (huge) EA with a lot of inp (input