the buy and sell conditions go as 'bool' value parameters in the direction function, as you can see in the default example.the canbuy and cansell variables will get out set as true...
first of all , i was trying to sell this self adapting expert advisor on the market.i get the idea to develop such system after i developed an expert advisor that trade static patt...
introduction : the simple trading panel is a trading tool that is very interesting because it will allow you to predefine your stoploss and your takeprofit in term of pips. you can...
we will start creating this ea by defining the input variables.followed by defining global variables. variables with this global scope will be known or accessible to all functions....
trailing stop really supports our trading by shifting the stop loss to the profit area so that we can always automatically secure our trades.we will start the code by specifying th...
autotrading scheduler expert advisor for mt4 and mt5 by earnforex.com.autotrading scheduler lets you control the time periods when autotrading is enabled or disabled in your metatr...
trading tools used by traders to make it easier for traders to control and a faster process to close order positions according to the profit target or daily loss limits.calculation...
this ea is made with an example of crossing ma as an entry signal. this ea was created for the purpose of learning mql4 code.every order that is opened will use a different magicnu...
scalping is one of the most popular strategies in the world that most traders have tried at least once. because a scalper usually trades more than 10 trades a day, setting stop los...
usually the first thing a trader should consider when opening a new position is money management. one of the ways traders often control risk and manage their capital is to use a ce...
this ea, ask you to put price, whatever price you put, in "zen" field, you will get that price on all open orders either sl or tp value, that would help to close all orders at one ...
tipu macd ea is based macd indicator that created by gerald appel in 1979. macd is a momentum oscillator, calculated by subtracting the two price moving averages calculated on the ...
trades three moving averages in trending conditions , opens trades when bar crosses over the smaller moving average.standard inputs, all modifiable.buy tradesinput 1 , 5 greater th...
validate me framework my interpretation of how to code a robot using market buy and sell orders to cope with market validation. this framework deals with some checks that a trading...
inputs 1 rsi is below value 30 when divergent for buy/bullish divergenceinput 2 divergence settings buysinput 3 lots and stop loss , target in pips. long trades.input 4 rsi is abov...
simple engulfing pattern. to help with manual trading mainly.simple and made to be.inputs for bar max size min size stops and target in pips lot sizes only open one trade at a tim...
trending moving averages with a breakout input .input explanation , i'll explain as a buy trade and sells would be inverse.inp1 20 ema greater than 30emainp2 30 ema greater than 50...
the masterpiece of this little ea is the orders count function ,where as we count only the orders that have notstoploss above or equal to its open price for buy and below its open ...
alligator indicator is in a trending conditiontrades opened when candle crosses over either line, variable modes.input the number one cross over the blue line red line green line ...
ea information : this ea is based on ogt zone recovery ea.strategy : hedginghedging type : zone recovery (no two pairs correlation, no triangular arbitrage)zone recovery type : ave...
this ea buys when at new low in a down trend occurs with oversold rsi.inputs for trending range and quality including look back how many bars involved.sells at new high and same as...
it's an expert to open and close orders on specific day and time. expert open and close orders only with the same symbol it attached. parameters day open orders- set day open order...
it is very helpful for a coder who is just starting to learn mql coding.it prints the following fields.account balanceaccount equityaccount creditaccount currencyaccount companyacc...
several times, we share snapshot with the other person with some indicator attached on the chart.however there is no way to be fully sure from the chart snapshot itself whether the...
in general when you create an arrow on the chart, and then if you scroll the chart the location of the arrow will be changed.sometimes it will be very high above the bar and someti...
this ea alerts you the depth per inch of your monitor. this is very important code for this trying to make your panels work on multiple screen resolution.generally a panel works on...
at times, you need to work with object created on the chart. depending on the time of the creation of the object you decide whether you need to take a buy action or a sell action.t...
it may sound very easy to write a code which places one order every second.however, that are various practical difficulties that come across.the attached code ensures that only one...
the code is used to demonstrate how one can create a button on the chart and assign a function to it.the code is used to delete all orders after clicking on the button.the deletion...
this code base is a simple function to check if current time lies within two specified times.many times it is required by the ea to enter trades between two specific time of the da...
in the market watch in mt4, there are several symbols. some of them could be binary options.different brokers have different method of representing a binary options symbols.for eg:...
this code base is a simple function to check if current time lies within two specified times.many times it is required by the ea to enter trades between two specific time of the da...
this code can be used to read csv file.it reads the file row by row.for each row, it will separate the token in the string using a delimiter like underscore ( _ ). or pipe ( | ) or...
this ea demonstrates placing order and then modifying the orders to set sl and tp.then, 30 seconds after the opening the order the order is closed.this can be used in strategies wh...
this is an ea to generate signals based on rsi signal crossing the upper level or lower level.it detects when the market is overbought or oversold and then places trades....
single currency or manual orders closing or deleting sections are very easy to understand but if you have a question you leave it at comment section. the code check for comment to ...
for an expert advisor (ea), when a new tick quote arrives, the metatrader terminal calls the default event handling function. however, there is no default event handling function f...