Codes

Hamyar V3.0 for MetaTrader 4

Hamyar indicator, the complete package (pivots,zones,panel,tp's...)

Batman V1.0 for MetaTrader 4

The EA open position on Breaking S/R , it will make offsets if that was not a break

Hamyar for MetaTrader 4

A very clean system by Farshad Saremifar, Based On Pivots and ATR and Moving average

Multi Strategy Ea for MetaTrader 4

If you have a strategy to trade with it, You can use this EA and set Your Parameters And trade with this expert

Combo Trader (Updated) for MetaTrader 4

This system use many methods to trade , you can trade about 52 different strategies

Forum

Reading variable from file

Hello guys lets say i have a file containing 3 lines with these numbers on it example file: 123456789 987654321 234568798 for example i need to call line 2 with it's number and set each number to a variable like: a=9 b=8 c=7 ... i=1 how can i open and use the file like this? thanks for helping me

How to Detect Changes to order

Hi Im working on My EA to something like Copier,Not exact the same any one had any idea how to detect changes to order?Like opening new order,Modify Orders,Closing (Partial Closing),... How to detect Changes in Orders

How to select one of menu's using API

Hello every one is there any way to select a menu item in mql with api?? for example select Help->About menu within EA?? THanks for helping

What is max file size for openning with FileOpen Function?

Hello . I am using FileOpen Function just like below: Everything is working fine,but when i use the same for a file with 20MB size it gave me error for openning file? So i think that's because size restrictions, any one know what is maximum file size that we can open with FileOpen Function??? or is

Using indicator Slows Down speed of backtesting,Why?

Hello Guys, I have Create a simple indicator which shows a moving average on OsMa indicator everything works fine, but when i want to use it from an EA The backtesting Speed's is too slow I call it from EA like this OSMAmain = iCustom ( NULL , 0 , "OsMA_SIGNAL" , FastEMA , SlowEMA , SignalSMA

Problem On Adding MA to Osma Indicator

Hello Every one im trying to add Moving Average to OsMa Indicator: What's wrong with that? #property copyright "Copyright © 2004, MetaQuotes Software Corp." #property link "http://www.metaquotes.net/" //---- indicator settings #property indicator_separate_window #property indicator_buffers

Lot Size Formula Help

Hi Guys im using this to calculate my lot size,any one know why this set a big lot size on mini account?? double lots = AccountFreeMargin ( ) * Risk / 100 / ( StopLoss * MarketInfo ( Symbol ( ) , MODE_TICKVALUE ) ) ; I want to calculate lot size by using stoploss and risk parameters Plz some Advise

Finding Prevoius High/low(Little Help Needed Here)

Hi Every body, little help needed just im usign this to find a high/low iHighest(NULL,0,MODE_HIGH,BarsHistoryCount,1) or .... any one have any idea to find a better high/low (previously)? BarsHistoryCount is always changing, i need a better way to find previous high/low specialy on TF-5min help plz

Detecting Range Trends(Help)

Hi Guys, I have some Problems on Detecting Range trends i Using this by myself but i think it needs some modification, Let say ADX_PERIOD=14 MODE_MAIN=25 t1=15 t2=60 t3=240 bool IsRange(){ if ((iADX(0,t1,ADX_PERIOD,0,MODE_MAIN,0)<ADX_MAINLEVEL)&& (iADX(0,t2,ADX_PERIOD,0,MODE_MAIN,0)<ADX_MAINLEVEL)

Creating optimization Report file

Dear Coders Do you have any idea how can i create a report file when my expert is in optimization mode??? i dont want to use the optimization report that mt4 creates, Im really hang on this :-( plz help