Payman / Publications
Codes
Save current chart to default template for MetaTrader 4
it saves the current chart to default template , it just helps to do it faster than a manual save. you can assign a hotkey for it. it has no confirmation and immediately saves the template, if you want it to save to a template other than default just edit the code and replace "default.tpl" to any
Forum
trying to count total number of closed trades
trying to count total number of trades closed. but it shows twice the number for each trade. one when it opens and one as it closes. anyone can help please? int TODAY_TRADES() { datetime CurentTime = TimeCurrent (); datetime PrevTime = iTime ( Symbol (), PERIOD_D1 , 0 ); HistorySelect
indicator causes laggy chart
#property strict enum EMyCapitalCalculation { FREEMARGIN = 2 , BALANCE = 4 , EQUITY = 8 , }; enum EMyRiskCalculation { ATR_POINTS = 3 , FIXED_POINTS = 9 , }; class CMyToolkit { protected : virtual void _Name() = NULL ; // A pure virtual function to make this class abstract public
mt5 android trade history bug
The newly incorporated trade history on chart seems to have bugs , trade lines have a infinite right ray. Added a screenshot
MT5 prints candles with delay!
hi anyone can suggest why this happens? on market watch quotes are updated and bid ask line are moving but candle freeze for few seconds especially in high volatility moment. the platform is not freeze, just candles. build 3661
need help to modify this mt5 indicator a little bit
Hi coders ,can you please help me modify this code . The pip show indicator . It shows pips of open positions but it shows sum of them . I need it to show average amount of them . Currently if there is 2 positions open one at 10 pips and other one at 9 pips it shows 19 pips. I want it to show
plot trades history on mt5 mobile charts?
I have seen screenshot of aome having his trades ploted on mobile app mt5. Hiw is that possible? Is there any settings or its just possible on ios version
push notifications doesn't work
Today push notifications stopped working, im not receiving any notification on my mobile app. Iwant check it , Is it from mql side?! Because my setting hasn't changed
firefox problem with sending/editing on the forum
hi everyone , whenever I'm visiting the mql forum with firefox i have problems creating/editing posts! i cannot type properly sometimes and also if i try to edit a post it doesn't update , specifically in HTML form. is that a known problem with firefox
removing an item from purchased tab of market , is that possible?
there are many idicators/script/EAs i have reied once just to see how they work and now i find them in purchased tab of my mt4 market for their updates. is it possible to remove them so they wont appear here? thanks in advanced
create alert by indicators/script? is that possible?
can you create alerts , the alerts in alert tab in the terminal i mean , using scripts/indicators