Forum

Confusing heiken ashi buffer numbers!

hi guys, i saw 2 different heiken ashi buffer numbers for 4 candle values while googling around how is that even possible! and which one is correct and how can i find correct buffer numbers from heiken ashi or other indicators?.... tnX for help in advance First Buffers: 0,4,2,3 double haOpen =

all moving averages color grayed out!

hi guys i got bit weird issue with my MT4 recently, no matter what color i chose, all of my Moving averages turn Gray! wondering beside reinstalling the MT4 is there anyway to fix this or why its happened in first place

MT5 version 2772 crash on portable mode

hi guys i know its irrelevant to MQL5 but i cant use terminal.exe /portable mode on version 2772 is there any fix for this issue? the main reason i use this is to keep data folder same as installation folder not somewhere deep in appdata under windows and mistakenly delete it! i appreciate your help

is it possible to find EPS in MT5 by coding

hey guys just wondering if is there a way to calculate or find or read EPS "Earning Per Share" from MT5 or coding it with MQL5 or i have to manually find it in stocks info platform i appreciate your insights tnX

Search for Multiple items without loop StringFind

Hi Guys just wondering like C or Python is there anyway find multiple items in String with StringFind or some other function to find more than 1 item in string in MQL? i can do it with loop & array but it take system overhead so if anyone knows any better way i appreciate your help lets say for

CopyBuffer Limitation!

hi guys i tried to make system to back test my theory however when i try CoppyBuffer seems Maximum number it work is 35 ! so wondering if there is any workaround this limitation?! since i want whole year buffer eb examined oh btw its not for iCustom just official indicators buffered tnX for help in

input variable considered as constant!

Hi guys recently something changed? i was busy with stuff recently i tried to code but no matter what i use as input variable automatically turn to constant ! what should i do now! input int yolo= 0 ; void OnTick () { yolo=yolo+ 1 ; Comment ( "Tick counter:" ); }

SetFocus on specific Chart

Hi Guys, wondering if is there any function to set focus on specific chart? i wrote a script to open charts with ChartOpen (MySymbol, PERIOD_D1 ); however whatever chart i run script from keep the focus not the newly opened charts, so for example if i wanted to use Comment or other functions etc on

Improving MQL editor idea

hi, just saying MetaQuotes adding editor functionality like Visual studio or android studio to collapse & expand functions, it would make it easier to work with long coding now its just like reading massive text! Collapse expand make debugging and working with separate functionality easier w.o

getting Last Closed Order in MQL5

hi guys i just want to know whats the ticket of last closed order i wrote this just want to know if this way is correct or not and one more thing why tickets are different in terminal than actual reports or in mql5! tnX for help in advance void OnStart () { HistorySelect ( 0 , TimeCurrent