sunshineh / Profile
sunshineh
Added topic Detecting a 4k display
Hi, how can I detect in my programm if it is running on a 4k display or on a normal pc
sunshineh
Added topic Play external Sound File
Hi, the function PlaySound(...) plays the soundfile that must be located in terminal_directory\Sounds or its sub-directory. How can I play a sound file from the C:\Windows\Media path
sunshineh
Added topic Creating a panel with many single labels and equal distributions on normal and4k display
Hi, how can I create a panel with many single labels and always the same distance between. This should work without any changes on a normal pc-display or also on a 4k display. My problem is that I don't know how wide the single labels are. I
sunshineh
Added topic Using a txt file with another application
Hi, I am having another application which is writing values in a csv-File. This application is done from another programmer and I can do nothing on it. Now I was reading the data for a while and it worked fine. Now - I don't know what happenend
sunshineh
Added topic Stochastic Code with price field Close/Close
Hi, I am searching for the complete stochastic code with using price_field 0-Low/High or 1-Close/Close. On the normal code I can see the following lines for(k=i-InpKPeriod+1; k<=i; k++) {
sunshineh
Added topic Calling the Sto out of another indicator
Hi, I am writing an indicator and at each new bar I need the last 10 Stochastic values. For testing I put in my loop the following code in my indicator: for(int i=1; i<rates_total && !IsStopped(); i++)
sunshineh
Added topic Trendline Calcualtion of the actual value
I am trying to calculate the actual value of my trendline that way: x1 = (datetime)ObjectGet(AlertElement, OBJPROP_TIME1); y1 = (double)ObjectGet(AlertElement, OBJPROP_PRICE1); x2 = (datetime)ObjectGet(AlertElement, OBJPROP_TIME2); y2 =
sunshineh
Added topic Writing Optimization Results into an external textfile
Hi, I found this article in the codebase: https://www.mql5.com/en/articles/1403 "HOW TO EVALUATE THE EXPERT TESTING RESULTS " It works fine for testing ONE run, but if I will do an optimization, than in the text-File shows only the last result
sunshineh
Added topic Working in live-test but only sometimes in backtesting
Hi, I have an indicator which works very fine in live test. It has to calculate quite a lot and draw some objects in the chart. But when I do a visual backtest, the indicator sometimes starts showing me the right objects and after a time it
sunshineh
Added topic Open Indicators on another Chart out of my Indicator
Hi, how can I open an indicator out of my indicator? I see the following functions: ChartIndicatorDelete(), ChartIndicatorsTotal() but no function to open a indicator out of my indicator
sunshineh
Added topic Creating a Portable Version isn't possible anymore :-(
Hi, I want to create an actual metatrader as portable version. When I download the mt4 installer from metaquotes or fxcm and start it, than I can change the folder, where the mql4 folder is saved. But it isn't possible anymore to remove the
sunshineh
Added topic EA doesn't find my indicator in C:\...\MQL4\Indicators\FolderName\Indicator.ex4
Hi, for a better overview I sorted my indicators in seperate folders. Now the EA can't find this indicators with iCustom Function , because he is searching direct in MQL4\indicators-path. What can I do
sunshineh
Added topic Making an indicator or ea secure for the market?
Hi, I have a question for making indicators and experts secure for the market, because I want to upload my own. If somebody pays for my indicator, he can download it as ex4-File. Now he can take an ex4>mql4 compilier and delete the limitation
sunshineh
Added topic Same fonts >> different sizes on different pcs
Hi I have realized something really strange with metatrader on different Computers. I have the following code snippet: ObjectCreate ( "t1" , OBJ_LABEL , WindowOnDropped( ), 0 , 0 ); ObjectSet( "t1" , OBJPROP_XDISTANCE , 20 ); ObjectSet(
sunshineh
Added topic Timemanagement and Backtesting
Hi, I want to trade and backtest a strategy which is only working at a defined German time on the German stock index and there are also times in a day which I want to exclude e.g. 14:30. The german dax is running in my metatrader (Brokertime) -at
sunshineh
Added topic Sending mails with external dll's
Hi, is there any free mail dll for sending mails. I don't want to use the integrated metatrader mail settings. In former times I used the maillink.dll, but it isn't working with build >600
sunshineh
Added topic Indicatorcode + "picture on a chart" in a dll?!
Hi, is it possible to put an image and the code of my indicator into a dll? I want to include my own picture (bitmap) there. Perhaps it is easier to put not a hole picture on the chart, but a lot of small pixels (Grafical Objects). Because I
sunshineh
Added topic integrated mail function on build 625 & gmx
I have read that also others have problems with sending mails with the integrated mail function . I am using my metatrader build 625 with my gmx mail account and getting the following errror message: "Mail: 550 Insufficient security or privacy
sunshineh
Added topic Changing expert advisor settings (true/false) by clicking on the chart
Hi, what possibilities are given to active/deactive ea settings on the chart? I found, that I can put buttons on the chart, now. Is it also possible to "create" a clickbox or write ON / OFF on the chart and change the value by clicking on
: