the purpose of this indicator is to demonstrate newbie friendly way a structure of a multi time frame indicator based on recursion.a function which is responsible of the indicator ...
probably everyone has put up a heikin ashi chart one time or another. it makes it look so much cleaner with less noise and clearer trends.but there is one major flaw — it hides the...
all open trades must be of same symbol and type, e.g. all gbpusd and all buy.this script will close out your position using one large trade to hedge your positionthen using closeby...
ssh is a famous indicator which uses moving average high and low prices of candles to draw two lines. the cross point of these two lines considered as signal for buy or sell.illust...
lot sizing and/or number of trades for strategies like grid and martingale are very important.we always ask about what happened in history of a symbol during range zones and how ma...
basics:rsi indicator is frequently used in trading decisions coupled with levels checking. levels are supposed to show if there is overbought or oversold condition. but frequently ...
the indicator can calculate gain/loss in two modes: plain candlestick close and open difference, and as difference between current close and previous close. you can set minimum c...
the titik impas breakeven metatrader script serves as a straightforward tool designed to adjust the stop-loss to the breakeven point for one or more positions, based on specified p...
please note that it will calulate drawdown based on magic number and symbol. if you dont want to consider the the overall account drawdown the remove the magic number filter and sy...
the ava (adaptive volatility analysis) indicator is a tool i've developed, primarily for enhancing my own indicators and expert advisors (eas). it's designed to gauge market price ...
[@buy_sell_close] manual trading ea for trading newbies, ea can be used in backtesting visual mode, ea can also be used in live trading.you can practice your own trading system in ...
introduction many expert advisors (eas) tend to close orders at the take profit level, considering the pip distance from the purchase price. however, the code used by is based main...
how template works? this indicator provides a template to be used to plot divergences based on your desired oscillator.depending on which oscillator you choose(whether it is cci, r...
this is an indicator to calculate 14 types of moving averages based on close price.the calculations are mostly based on pine script libraries.types included are:sma, ema, wma, vwma...
simple trail stop loss code example.it's not meant to use as it is. it's code sample for programmer reference only.nb: i just want to upload it to somewhere as a backup....
watch for gaps in the correlation between two trading instruments and trade one pair against the other.it is advisable not to leave the trading unattended.stop loss and take profit...
//+------------------------------------------------------------------+//| this little utility script open charts of open trades symbols//| and prints list of open trades symbols in...
you can simply add function void onchartevent(...) to your indicatorthe screens are from ea and its gui, indicator only changes window sizebefore compilation you need uncomment few...
this script sets pending hedges with distance in pips for chart symbol.if hedged are 100% harmonized strategy will do nothing,else calculates difference between buy and sell trades...
this modification will return a string indicating whether the pip difference is up, down, or unchanged.this code will print the price at the beginning and the end of the calculatio...
this metatrader 4 (mt4) script implements a simple continuous trend-following strategy for buying and selling based on predefined conditions. here's a breakdown of the script:initi...
this script will trail the stop loss of all open buy and sell orders.adjust the trailstart and trailstop parameters to your preferred levels.this is a basic example and can be furt...
the strategy implemented in the script "reverse_trades_for_all_trades_and_symbols_v1.mq4" reverses all open trades for all symbols on the trading platform. when executed, the scrip...
this mql4 script is designed to close positions for a basket of currency pairs based on certain profit and loss thresholds. here's a brief description:the script is called "closeba...
classic trailing => use stop loss to trail and it does reflect in your broker servervirtual trailing => does not trail using stop loss and it does not reflect in your broker ...
the code keeps track of orders' tickets in an carrayint. monitoring the changes to the list of tickets in ontimer it triggers these event handlers:note: not all features of the mql...
this indicator promote new way of analyses signals from standard indicator named rsi. main feature of rsi is level crossing signals. usually 30 and 70. but it's bad relative to rea...
in this simple expert advisor, we will be able to see the current winning /losing streak in the mt4 terminal. we have two filter options. one is based on symbol and the other is a ...
there are six different type of active or closed orders which isop_buy op_sell op_buystop op_sellstop op_buylimit op_selllimit this script will find the count of active /closed ord...
this simplae script will first sort the open tickets in asending order. then it will try to close them sequentially. that means the first trade will be closed first then the 2nd on...
this simple script will close /delete a order based on the input value passed on the script. for example if user pass op_buy then it will close all the buy trades. similarly if som...
this script calculates the total unbalanced postion of hedged or non hedged postions and then place hedge trades accordingly.exampletrader places 0.01 lot then 0.02 lot buy tradeif...
this particular script will find the biggest winning / losing trade among a list of trades and close them . if you want either of them then comment the code block accordingly.there...
this particular expert advisor contains a very useful code which is often required by the developers. most of the time , we need the last active trade. but in this ea you can searc...
this ea will scan all closed trades in the history. and check which trade closed most recently. if we pass 0 , then it will fetch most recently closed trade, if we pass 1 then it w...