this line tries to reflect the main direction of the trend and it is calculated based on japanese candlestick data.if the trend is up, then the line is closer to the high prices of...
the function takes two arrays of integers as parameters: "allowedperiods" and "periodstocheck". "allowedperiods" is an array containing all the time periods allowed by the system, ...
the dd_relative function calculates the relative profit or loss (drawdown) of the current trading account in percentage. to do this, it uses the current_lossorprofit() function to ...
this script convert historical data from m1 to m1, m5, m15, m30, h1, h4, d1, w1 and mn, specifying the start date.this is a basic flow.1. download or import your historical data. 2...
if all of a sudden consecutively some trades turned into losses we may require to pause the trading for sometime. because it maybe either market choppiness or extreme volatility wh...
this weighted deviation is a sort of all linear weighted deviation. it uses linear weighting in all the steps calculated (which makes it different from the built in deviation in a ...
variation of the bollinger bands but it uses linear weighted average and weighted deviation (see the description of weighted deviation here : )recommendations:use it as any bolling...
this expert identifies macd divergence whenbuysstochastic main line > signal line stochastic is between oversold levels ( control over duration how long has stochastic between t...
includes ea & alert only with arrows.this ea buys whenmacd divergence occurs on 5 minute timeframe 1 hour stochastic main line is greater than signal line & between upper l...
this weighted deviation is a sort of all linear weighted deviation. it uses linear weighting in all the steps calculated (which makes it different from the built in deviation in a ...
variation of the bollinger bands but it uses linear weighted average and weighted deviation (see the description of weighted deviation here : ) recommendations:use it as any bollin...
this expert advisor uses three indicators to identify reversal of the price of a symbol. it uses a simple moving average along with a standard deviation and the rsi.it sends a buy ...
this script will refresh all open charts in mt5, usually custom symbols in mt5 needs to be refresh sometime so this script will help to refresh all open chart at once. we can also ...
crypto ea for eth/usd pair. i trade eth/usd using a simple system. i'm tired of constantly following the schedule. i missed signals at night, sometimes i missed signals during the ...
include file contains moving average group, a moving average group with 6 moving averages in period_w1, and a moving average group with 6 moving averages in period_current.ma group...
the onnx model requires the model's input and output sizes to be defined. the sizes are specified via the and functions, respectively.not all models have fixed input and output dat...
a simple script that creates a timer in the form of a clock in the main chart window and shows how much time is left until the start of the next bar....
this is a snippet of a larger code that is based on finding break of market structure.it identifies the most recent fractal price value and comments the result on the charts.it doe...
changes i added:1. isolated only the asian session.2. allow users to modify settings such as asian time in their local time, color of the boxes, and whether to fill boxes or not.3....
you need to do your own ta for the best results. you decide which direction you want the ea to place trades in (you can go long and short, but hedging won't work) & the ea will...
this only works for buy stops.if you find this helpful and may need the code for sell stops and other pending orders, let me know in the comment section and i'll cook one up in my ...
at the first start, you must fill in the current password of the trader and investor in "cur" line.if you are not satisfied with the generated password, you can make a new one by c...
if you're a trader who constantly juggles multiple open positions and needs to adjust stop losses as trades progress, you know how time-consuming and stressful this can be. but wit...
if you're a trader who constantly juggles multiple open positions and needs to adjust stop losses as trades progress, you know how time-consuming and stressful this can be. but wit...
get trade history files (.csv) and put it in ..\mql5\file folder and save the name of file (.csv). for time differences of broker's terminals, use the same broker's meta trader 5 ...
an implementation of the commodity channel index using exponential moving averages, instead of simple moving averages as implemented by the its creator, donald lambert.the code use...
an implementation of the commodity channel index using exponential moving averages, instead of simple moving averages as implemented by the its creator, donald lambert.the code use...
available formulas (ma_method)sma simple moving average ema exponential moving average wilder wilder exponential moving average lwma linear weighted moving average sinewma sine...
with this short piece of code you are going to learn how to subtract the time.it may be very useful to time your trades entrances and exits, also to make up strategies based on tim...
how fast does the price moves?with this very simple piece of code you may learn how many seconds it takes to complete 100 ticks.the less seconds it takes, the faster the price move...
this ea takes calculates the current account balance and based on user's input of risk and profit percentage , it can close trades either in profit or in loss.this tool might be he...
the include file "benchmark.mqh" has a set of macros to benchmark various functions for their execution speeds to decide which is the fastest one.the library is based on public sou...
the expert will help you change the tp/sl of all open orders by setting the tp/sl based on the input percentage value.recommendations:change the tp/sl accurately only if all open o...
you have developed your own mt4/mt5 indicator ? for your personal usage for your clients just add 3 lines of code to your mql4/mql5 file to: add trading capabilities to your indi...
you can use this piece of code to set two different groups of volume and compare them.e.g (one minute chart example):if you set group 1 to 20.group 1: the last 20 bars volume / 20 ...
this class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling the...