MetaTrader 4 Build 529 beta released with new compiler - page 4 1234567891011...161 New comment Renat Fatkhullin 2013.11.04 20:04 #31 VOLDEMAR: I cannot understand why this code returns 00 00 00 00 Use the new formatting functions: string TimeS(void) { return StringFormat("%02d.%02d.%02d %02d:%02d:%02d",Year(),Month(),Day(),Hour(),Minute(),Seconds()); } //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick() { Print(TimeS()); } 2013.11.04 22:04:59 TestBars: 2013.11.04 21:03:38 Renat Fatkhullin 2013.11.04 20:06 #32 VOLDEMAR: Even so Drawing 0 ... I have Comment(Day()); draws 4 on the chart. Vladimir Pastushak 2013.11.04 20:24 #33 Renat: I have Comment(Day()); draws 4 on the chart. Nope it doesn't work, can't figure out why ... OnTick also doesn't work .... doing in tester ... Vladimir Pastushak 2013.11.04 20:26 #34 And this is Comment(Day()); Constant 1 Sergey Dzyublik 2013.11.04 20:28 #35 it would be nice if all the innovations from mql5 were formulated with references to the sources. The study of 4 has gone to waste for two months, 4 has become 5 (((. Sergey Dzyublik 2013.11.04 20:58 #36 as mentioned above, OBJ_LABEL is not acting properly: ObjectCreate ("Tabl"+DoubleToStr(x)+DoubleToStr(y),OBJ_LABEL,0,0,0); ObjectSetText ("Tabl"+DoubleToStr(x)+DoubleToStr(y),CharToStr(110),22,"Wingdings",Gold); when running the script the drawing is only partial (left part of the figure), full (left part) comes only when: 1) left mouse click (PCM does not roll) on the chart window (on the market overview or elsewhere - does not help); 2) tick; 3) PCM-refresh. Errors, bugs, questions MT4 and Market Watch Indicators: Support and Resistance Ihor Herasko 2013.11.04 20:59 #37 ALXIMIKS: as said above, OBJ_LABEL is not acting properly: when running the script the drawing is only partial (left part of the figure), full (left part) comes only when: 1) left mouse click (PCM does not roll) on the chart window (on the market overview or elsewhere - does not help); 2) tick; 3) PCM-refresh. WindowRedraw in the code should help. Sergey Dzyublik 2013.11.04 21:05 #38 Scriptong: WindowRedraw in the code should help. Yes, thank you, it helped, it's interesting that in 509 it should not have been used Ihor Herasko 2013.11.04 21:07 #39 ALXIMIKS: Yes, thank you, that helped, interestingly, you didn't need to use it in 509 Yes, you did. You always have. Sergey Dzyublik 2013.11.04 21:15 #40 Scriptong: I need it. Always have. I meant the script worked fine without using WindowRedraw() ( ObjectsRedraw()) in 509. In 529, there's nothing to ask, then everything, then part of one, then part of another (smaller). But thank you. 1234567891011...161 New comment
I cannot understand why this code returns 00 00 00 00
Use the new formatting functions:
Even so
Drawing 0 ...
I have Comment(Day()); draws 4 on the chart.
Nope it doesn't work, can't figure out why ... OnTick also doesn't work .... doing in tester ...
And this is Comment(Day()); Constant 1
it would be nice if all the innovations from mql5 were formulated with references to the sources.
The study of 4 has gone to waste for two months, 4 has become 5 (((.
as mentioned above, OBJ_LABEL is not acting properly:
when running the script the drawing is only partial (left part of the figure), full (left part) comes only when:
1) left mouse click (PCM does not roll) on the chart window (on the market overview or elsewhere - does not help);
2) tick;
3) PCM-refresh.
as said above, OBJ_LABEL is not acting properly:
when running the script the drawing is only partial (left part of the figure), full (left part) comes only when:
1) left mouse click (PCM does not roll) on the chart window (on the market overview or elsewhere - does not help);
2) tick;
3) PCM-refresh.
WindowRedraw in the code should help.
WindowRedraw in the code should help.
Yes, thank you, it helped, it's interesting that in 509 it should not have been used
Yes, thank you, that helped, interestingly, you didn't need to use it in 509
I need it. Always have.
I meant the script worked fine without using WindowRedraw() ( ObjectsRedraw()) in 509.
In 529, there's nothing to ask, then everything, then part of one, then part of another (smaller). But thank you.