Forum

IsConnected()

Can someone explain to me how IsConnected() can work after int start() if anything is written after int start() is execute only after a new tick How can the EA get to it at all thanks

I'm tired

why i'm tired ? ho, let me think.. maybe because people ask questions without providing deatails or maybe because people ask questions that can easily get answered using a quick Search (top right corner on every page) or google or maybe because people are lazy and don't wanna spend their time to

The Function StringToInteger() has been made in a hurry

long s2iChar = StringToInteger ( "A" ); Print (s2iChar); // The result is: 0 // in my humble opinion it's supposed to be -1 or some error code long s2iNo = StringToInteger ( "0" ); Print (s2iNo); // The result is: 0

high & low from a day before open order

hi everyone i would like to know if someone can teach me how to pull the high & low from a day before my open order to put in my EA thanks in advanced B.T.w. anyone knows if by "MT5" exsist Debugging step by step or other way to do it

hidden chart - where is this located

hi When the command iCustom() has been used , this specific symbol() & TF() get's opened somewhere, someone know where is this chart located & where can i find it thanks

can someone tell me y it's not working ?

& how can i get it work int Cnt = 500 ; double TestArray[Cnt]; this is the error i get

zero divide problem

i'm trying to create a chart for a pair that doesn't exist (of course in the company i'm working with), so i took the "period_converter" indicator & made some modification (file attached) i got in the expert tab zero divide & doesn't working what can be the problem thanks for your help

X Y distance from a bar

hi is there any way to find the X & Y distance on the chart from a bar

reading the Journal in real time

unfortunately I have not found yet the right way how to do this but at least i found a detour if anyone has a direct way to do that i would be grateful the way i found is by forcing the terminal to save the data through opening the folder that contains the log files #include <WinUser32.mqh> #import

how to draw an histogram

if some one can help me out with this i'm trying to draw an histogram like this & so far without succes legend: green = above 0 & above signal blue = above 0 but below signal orange = below 0 but above signal red = below 0 & below signal