Hi. I'm running multiple EAs on each charts (on Live account). Now it is 70, and it will get more. As far as i know, the maximum number of chart in one terminal is 99. So far, I think my EAs haven't had big trouble, but recently I wonder that my labtop is sufficient for current system. My EA is...
[Deleted]
The formula for the volume weighted (or volume adjusted) moving average is... I have added the function vwma() to MetaTrader's Moving Averages.mq4 and called it myVWMA.mq4 (attached). The difference between the VWMA and the SMA (simple moving average of the same period) is a measure of a trend's...
Hello All, I am new to writing MQL4, although i have been programming in other languages over the years, i still have a lot to learn on this new platform. I presently have an indicator running that has all 28 currencies, displayed . By clicking on any of them the chart window automatically changes...
The 80-20s http://www.forexmt4.com/_MT4_Systems%20Documentation/80-20%27S%20from%20Street%20Smarts%20-%20High%20Probability%20Short%20Term%20Trading%20Strategies%28Raschke%20&%20Connors%29.pdf Now my question can someone programm an indicator (MT4) for the daily chart who can mark such Days with a...
I have written code to draw rectangles for two timeframes based on bullish and bearish patterns. But the rectangles don't show on the chart. Not sure what's causing it. I would really appreciate some help. int numBars = 1;string prefix="HG";extern ENUM_TIMEFRAMES higherRegionPeriod =...
[Deleted]
This Indicator is very slow if you use backtest many candles. But I reduced it, this light indicator only calculates needed candles. Any Suggestion ? In the code, startbars is the main fix. Backtest time comparison : 2019.08.05 21:33:27.939 2019.08.05 15...
[Deleted]
Hi Can someone help me with creating linux to mt4 server connector? I want to write down a linux script that will: - connect to mt4 server with username, pass and .srv file of broker; - retrieve pairs and their rates This is at first time than I will upgrade it. After 2 weeks googling I can not find...
This my first expert to code . The expert is open trade based on signal . The signal work correctly . But I want to add section called Monitoring Section for this expert . The function of this code is opening Pending Stop orders in opposite direction for the last open trade . IF the pend order...
Hi guys, can someone help me add Alert to the indicator? Condition: Notice appears when Momentum is in the range of 48-52. Thank you very much
Each time I use FileWrite() in TXT or CSV files it appends the file starting from a new line. However, I need it to write data into the same line, so that Excel imports data into the same row. Each line will hold more than 256 characters, so I cannot use temporary string variables. Please let me...
Hi, i use tickdata with tickstory. i have noticed that with the same ea when i backtest with every tick it is running fast. And after a while its running very slow. Than i download again new data and use same ea. Backtest is fast and after 3-4 of the same tests it will go slow. So i noticed that...
Hi Guys I had a question and was wondering if someone can help. I want an EA developed and two people have had similar jobs completed on MT4 freelance job posting area. I dont know my way around this website at all. The comments that the job poster have left seem to suggest that they are happy with...
The book says: The example below closes all sell orders currently opened by an expert advisor: I think I understand most of this code, but the: OrdersTotal() - 1 I don't get. Why - 1? Thanks. for(int order = 0; order <= OrdersTotal() - 1; order++){ bool selected = OrderSelect(order,...
Please help guys. Why all EAs stopped working on this latest MT4? Anything to do or convert inside EAs? Or any latest compiler? Please help
Hi, Mi EA works opening one Sell and one Buy orders at the same time, and when one of those are closed by TP or SL then it opens another Sell and Buy orders. What i want to do is avoid EA to open an order if same is already openned. I attach the EA for you to help, im really new on this. THANKS!!!
i recently bought an indicator <product name removed> and it was working fine for a few weeks. Then right after a windows update it wouldn't load the indicator anymore in met4. I've deleted the indicator from met4 and tried to download it again but its not downloading it. Any ideas?
Guys: I use the optimization in the tester to do some reserch of my stargegy. I set one parameter to vary from 0.1 to 2.0, so there should be 20 results. But the testor only show 11 of them, which is profitable. or "significant"...... How can i see the other 9??? By the way, simplely lable
I created a basic EA - buy the up bar. Loaded it, compiled, and clicked Optimize. The Expert Properties Inputs were Value 5.0; Start 5.0; Step 5.0; Stop 100.0 AUDUSD H1; spread 10 Period selected was previous 12 months. Without the Optimization I should have seen profits, except I have negative net...
I need a developer to create a position sizer for my traders. It should work as it works on website regarding calculations but it has to work on chart by moving a line on chart
int totalorder(int m){ int total=0; for(int i=0; i<OrdersTotal(); i++) { if(!OrderSelect(i,SELECT_BY_POS,MODE_TRADES))continue; if(OrderSymbol()!=Symbol() || OrderMagicNumber()!=MagicNumber || OrderType()!= m) continue; total++; } return(total);}double open(int m){ for (i...
Hi All, I am currently try to se Brief desciption of the issue: - I have a grid of orders. Each orders has its own Take Profit and Stop Loss level. - I want all orders (active or pending) of the grid to be closed or deleted when the price reaches a certain % difference from the price at which is...
Hi guys, I have problem in my code and I can't find the solution. description of my code is: 1 - use auto lot size: Auto Lot Size = NormalizeDouble(AccountBalance() * Risk / 100 * AccountLeverage() / contract, LotDigits); first order on entire history : use Auto Lot Size if order...
HI guys, I can display the default fib on charts no problem but if I want a custom set of levels I run into problems. I read the documentation here https://docs.mql4.com/constants/objectconstants/enum_object/obj_fibo which shows the code but doesn't actually use it in the example! Can anybody offer...
Hi all, Starting to play around with custom indicators more and I've hit a roadblock with the divide issue. I'm calculating the spread difference between a synthetic price and its underlying (dividing the close price of 2 pairs less the underlying currency pair) which is then displayed as a moving...
Regarding indicators and time frames in the code. https://www.mql5.com/en/docs/constants/chartconstants/enum_timeframes EI: imomentum https://www.mql5.com/en/docs/indicators/imomentum Question: Where noted and regarding the time frames. What is expected to happen when you select a static...
Hi. I want to build a Basic Parabolic SAR EA and after I write the code and start a backtest, it doesn't work the way it should, or better to say the way i want it to do. Well i want to open a new trade at the reverse point and also close the last trade too. here's my code: void OnTick() {...
When publishing a product it is not allowed to attach any external file with it as i know...but if my product in need of some audio and bitmap images files then how to publish it??
Please can somebody help me go through this code and find out why its having multiple entry, if a sell condition is true it keeps entering multiple sells, the same with buy...
[Deleted]
Hey guys, I have a problem with my pending order modify. Has anyone of you an idea? When I add this to a chart there is no modifying taking place and no error message given out. Whats wrong here? Cheers Fabian {RefreshRates();double ppoint=MarketInfo(OrderSymbol(), MODE_POINT); int...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.