| / | Forum |
|
Yellowbeard
2010.07.21 22:16
Is there a way to place an arrow at the previous bar before the current? This will place an arrow at the currnet bar; ObjectDelete("MdSymbolAi"); ObjectSet("MdSymbolAi", OBJPROP_ARROWCODE, SYMBOL_ARROWUP); This will place an arrow at the maximum and minimum values for the Open of the previous 5 bars; { datetime maxtime=Time[maxshift]; for(i=0;i<CntBars-1;i++) { if (Low[i]< Minimum) ObjectSet("DnSymbolAb", OBJPROP_ARROWCODE, SYMBOL_ARROWDOWN); I simply want to place an arrow at the previous bar, from the current bar. Thanks! |
|
MT4TerminalSync - System for the Synchronization of MetaTrader 4 Terminals This article is devoted to the topic "Widening possibilities of MQL4 programs by using functions of operating systems and other means of program development". The article describes an example of a program system that implements the task of the synchronization of several terminal copies based on a single source template. |
|
phy
2010.07.21 22:27
ObjectCreate("MdSymbolAi", OBJ_ARROW, 0, Time[1],vL); |
|
Yellowbeard
2010.07.21 23:12
phy:
ObjectCreate("MdSymbolAi", OBJ_ARROW, 0, Time[1],vL);
That did the trick! |