GreenKobra
GreenKobra
GreenKobra
Added topic DLL to send mail
Hi , I am trying to create a script to send an e-mail. Sendmail function doesn't work. I'd like try with maillink.dll  Where can I download this library=
GreenKobra
Added topic M5 Backtest Multi-asset
Hi guys, The metatrader 5 allows  to perform backtest on multiple assets without the need to enter the asset names from code or input?I mean: for an expert advisor that works only on the current asset there is a procedure on the mt5 that allows
GreenKobra
Added topic Write to Json
Hi people, I would like to know if it is possible to write to a json file from metatrader4, thanks
GreenKobra
Added topic Json and WebRequest problem
I'm trying to access the data in Json [{ "1" :{ "macro" : "Neutral" , "assett" : "U" }},{ "2" :{ "macro" : "Neutral" , "assett" : "P" }},{ "3" :{ "macro" : "Neutral" , "assett" : "\/" }},{ "4" :{ "macro" : "Neutral" , "assett" : "U" }},{ "5" :{
GreenKobra
Added topic Get news from calendar
I need to record macroeconomic data in a database.Reading news from economic calendars is not possible because the site blocks you.Is it possible to do this with an indicator?That is get the data it shows? Thanks
GreenKobra
Added topic Read an external file
Hi people, I nedd read into an extern file bt it doesn't work FileHandle= FileOpen ( "C:\Data\Text.txt" , FILE_READ|FILE_WRITE|FILE_TXT ,';');   FileSeek (FileHandle,0, SEEK_SET );   if(FileHandle!= INVALID_HANDLE ){     while(
GreenKobra
Added topic Telegram and MT4
Good afternoon, I need to connect MT4 platform with telegram, so that i can receive a notification everytime a trade is closed, and also receive the informations regarding the trade such as profit, close price etc.Someone knows how to do it?Thanks
GreenKobra
Added topic Problem with change of timeframe
I've created an indicator that put automatically orizontal lines on the mt4 platform in oder to indentify targets. But, if later i draw a separated trendline and then I change timeframe,the trendline and everythings else I have on the platforms (like
GreenKobra
Added topic Swap in Account currency
Hi people, I'm using a function to caluclate the swap automatically in the base currency in this case for S&P 500  MarketInfo ( Symbol (), MODE_SWAPLONG )     (cause  MarketInfo ( Symbol (), MODE_SWAPTYPE )=1) I would
GreenKobra
Added topic Path of property icon - problem
Hello, I need to get indicator's icon on the indicator's window when I attach the indicator on my metatrader chart.I specified the path on icon property: #property icon "http://mysite.com/logo.ico" but I get an error " cannot open icon file
GreenKobra
Added topic Issues with FTP image sending
Hi there, I've created a script to automatically take a screenshot and save it locally on my Meta trader. So far all good i've then made another script to send the screenshot from the local metatrader folder to a remote server . When trying to
GreenKobra
Added topic Upload file to a server
Good afternoon  How do I upload a file (pic.jpg) from a MT4 folder to a remote server?   I'd like to know also if there are some libraries to import and which functions can  I use? Thank you
GreenKobra
Added topic Access violation read to...
I am trying to connect to mysql from an expert advisor using the libmysql.dll library but I get a strange error 'Access violation read to 0x000003B0'.Can anyone tell me how to solve the problem
GreenKobra
Added topic How overlap objects to candles
I need to implement an indicator that create rectangles but I want that they overlap candles.Anyone knows if there's a way?Thanks
GreenKobra
Added topic connection problem on a remote db
I'm trying to connect to db mysql from a remote computer using an expert advisor #include <mql4-mysql.mqh> string  host     = "ip adress"; string  user     = "root"; string  pass     =
GreenKobra
Added topic Screenshot problem
Hi, I created an expert advisor that automatically generates the chart screenshot that is saved in a hidden folder using WindowScreenShot() function. I need to save this photo outside the metatrader or extract it from it.In the function I entered the
GreenKobra
Added topic How get value from a custom indicator in MQL5
Hi, I'm trying to get values from the indicator that I have attached calculates pivot points with Fibonacci formula.The indicator receives in input following parameters: enum enTimeFrames   {    tf_cu  = PERIOD_CURRENT, //
GreenKobra
Added topic Add new Fibonacci level
I developed an ea that automatically displays the fibonacci levels on chart. Does anybody know how to add a level at 78.6%, which will be added automatically to my levels? I already know how to compute it manually,but i would like to create a code
GreenKobra
Registered at MQL5.community