Forum

MetaEditor problem with new window

hello I'm not sure if there is solution for this situation or it is a bug, but when I open new window in MetaEditor for the same code, then both windows are scrolled up/down in the same time, and when I switch between this windows then they are all the time exactly in the same place. Do you have any

angled trendlines

hi i wanted to ask about angled lines, because i cannot get value of 2nd point from such line. When i use "Trend by Angle" properties window then i see that there is are two point values listed: first value i can read with ObjectGet(name,OBJPROP_PRICE1), but when i try ObjectGet(name,OBJPROP_PRICE2)

mt4 with mysql problem

hi I have a script that writes informations to mysql database, and after closing connection to DB MT4 crashes. Does anyone has any tip that might help here? Crash log in attachment. regards oromek

issue with DRAW_HISTOGRAM

hello when i use DRAW_HISTOGRAM for indicator and chose solid space as drawing style, then histogram is hiding such things like bid lines or stop level lines. This works exactly like Ichimoku indicator from Custom Indcators: all things beside candles are drawn under histogram objects. I dont see any

how to change variable name in loop?

i'm very sorry if its a basic question, but i got stuck with that. My question is: how to change variable name in loop, for example: for (a=1;a=7;a++) { variable(here next number "a" taken from loop) } i'm not writing about using arrays, just want to test many variables in one loop. i've searched

reading bid value in script

hi i have a question about reading Bid value inside script, which is run with infinite loop. When i run this script: int start() { while (true) { Print ( "Bid:" ,Bid); Sleep ( 10000 ); } return ( 0 ); } it takes Bid value from the moment when script was started, and isnt

need help - two different indicators crossing alert

hi i want to ask for help - i want to write alert for two indicators crossing, look at pictue: the problem for me is that this two indicators has different scale values. Red line indi has 1.36 value and blue line has 25.23 value. So indi that looks with higher value in fact has lower value. Does