It is clear that the detection of a signal on different TFs will correlate with each other, i.e. signal/noise level will differ on different TFs, therefore it is better to take inter-timeframe signal/noise level, i.e. to catch the dominant harmonic on each separate TF, and then obtain one common for
i use ComboBox .mqh in my panel. ListView.mqh after build 765 have strange behavior . ListVScroll always visible without contents list if I change the chart time frame . i try replace with ListView.mqh before 765 and ComboBox.mqh back to normal
Hi I am trying to write a simple script to alert me if a pair is close to a resistance or support price. However when I try to use PRICE_HIGH instead of giving me the highest price for that pair in the given time frame, it just gives the value 2. See the program I have attempted. Any help will be...
Most FX brokers brokers limit the number of open deals and pending orders, typically 200, some up to 500. While this is certainly sufficient for most strategies, it will be a problem at some point when employing a pyramiding strategy. At this time, MQL4 does not provide the functionality to...
Hi all, I found a breakout indicator that is working really great (attached). It gives you a visual representation of a breakout. What would make it even better is if it sent a text alert when there is a breakout. I tried to modify the code but I'm not really a programmer. Can anyone help? Thanks...
i am trying to make an EA with the slope direction indicator. not on hedging or scalping. but i would like to start a buy when color goes from red to blue and close the order when lines changes from blue to red and start a sell. and then so on. now i have come pretty far. except that it starts the...
Hello How can you activate Add Watch function in Meta Trader 4 Build 765. Meta Editor Version 5.00 Build 1035. Could you describe step by step - how to activate it in the program? Kind regards, Ivars
Hi forum, recently I found this indicator which is imho really awesome. It displays smaller charts of different symbols in the same timeframe the main chart is. What I find even more useful would be if the smaller charts show the same symbol as the main chart but in different timeframes. So I tried...
Hello forum, good day. Is it possible to know when the bar ends and place an order right at the last tick? I know that the easy way would be to wait until new bar event and do it on first tick, but I need to place the order right at the last tick/end of a bar. Could this be done? Best regards and
Is there any MQL4 function that will allow me to modify an existing alert on the Alerts tab? I have a named pipe server and I would like to tell my alerts to reset with new values programmatically. If I can delete and recreate them then that would be fine, but I need to retain the little slider...
Hello forum, good day. Is it possible to set Take Profit to be 10 pips above OrderOpenPrice()? Your help will be much appreciated. Best regards and thank you, codeMolecules
Hi! I am trying to program my first EA and I am wondering if it is possible to import different live data feeds (like time, trades, prices,...) from a different broker. I didn't find a lot about that topic. What kind of commands can do the job? Thanks in advance
Hello guys, I have been working on a little script for days and I can't make it to work in my strategy tester. This is the concept: 1) If time = 01:00, sendorder() 2) if time = 23:00, closeorders() 3) no trading in weekends The problem is that I can't find any good working IF statement that...
Hi, This is Vikram Here. Looking for some help here. Does anyone knows about a traling pending order EA. I checked out on net, but didnt find anywhere. Thanks Vikram
I've programmed a few simple EA's for MT4 using MQL4. Now I want to dabble with Robots for Binary broker platforms. I know you can buy robots that will trade on your Binary platform, but I want to create my own. I can't find any help on the internet. Can anyone direct me where to go to learn how
Can anyone make sense of this? double calc1, calc2; calc1 = 1000*(17.6/100); calc2 = calc1*(65/100); Alert("calc2=",DoubleToStr(calc2,2)); Here is what's returned: How is this possible??? Also tried this: double calc2; calc2 = 176*(65/100); Alert("calc2="...
I try to send notifications to my phone, but in the journal I see "Notifications: failed send request (HTTP session creation failed [15105])" Is some program missing or a firewall rule? It fails even if I turn the firewall off, so I think it is not a firewall issue, but then what? I'm running MT4 on...
Hi all, is it posible to export optimization results to a csv file when optimization finished automatically from code?. The same way like dumping trades from a backtest into csv.
Hi everyone, I need a help to write a funcion that give back the BBW value, so I have few question: - to calculate correctly BBW i can use the formula (BBU-BBL)/BBM, upper-lower/medium value. Now the question is: to calculate those values is necessary to use a buffer isn't it? - if I use a buffer...
Hello Masters in the house, Please I don't seem to get how to write lot size for standard and micro account especially the five digits brokers. It keeps giving me not enough money and invalid lot size, what do I do please, help! Any help that solves this problem shall be greatly appreciated. Thank...
hello, i am making a little ea and i need an advice. i make an alert for rsi crossing up the 70 level and i want another alert for when rsi coss down the 70 level. how can i make this coss down code? thanks
OOnChartEvents() allows to interfere into functioning of EA in live trading. It does not work in Tester. Could anybody tell me how can I transform my EA in order to be able to use ChartEvents in Tester to. I know that this is possible: see "MT4 Trading Simulator.ex4". Regards, Slava.