| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
a question on mt4 programming
void start
{ .......; for i=1000, i>0, i-- { a[m]=close[i]; m++; } .......; .......; } in this example, will i calculate the "for" loop for 1000 times every time i receive new quotation? if so, how can i avoid it? |
|
|||
|
Quote:
int counted_bars=IndicatorCounted(); limit = Bars-counted_bars; for(i=0;i<limit;i++) { ........ |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Question... | omelette | General Discussion | 6 | 12-12-2006 02:29 AM |
| Question about programming AMA logic into an EA | zeroz | Metatrader 4 mql 4 - Development course | 4 | 12-09-2006 08:13 PM |
| Programming question using Close[] | knili | Metatrader 4 | 7 | 08-31-2006 07:35 PM |
| Indicator Programming Question | cubesteak | Indicators - Metatrader 4 | 5 | 08-05-2006 09:25 AM |