|
|||||||
| 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 |
|
|||
|
Dear All,
Could anyone tell me how to declare a array and than use the iMAOnArray or IMA function and to program a moving average on indicators, like macd histogram or momentum? Please help me. Urgent.I have spend few days on working this. Thank you very much. Victor Last edited by alanlaw : 12-20-2005 at 06:25 PM. |
|
|||
|
Please help. Problem in using ind_buffer
Dear Coders' Guru
Wa!!! it's amazing!!! Thank's to Coders' Guru. I can display my moving average after adding " ArrayResize( temp2, limit); ArraySetAsSeries(temp2,true); ArrayResize( temp3, limit); ArraySetAsSeries(temp3,true); " But what is the logic behide? I still have a problem. I try to add a moving average to macd histogram. The color of the line will change if the histogram cross this line. So, I use two arrays, ind_buffer5 and ind_buffer6 to hold the moving average values. I don't why my indicator can only show the value in ind_buffer5 and the value of ind_buffer6 is always zero. Therefore, I simple subsitute different value to ind_buffer6,e.g. ind_buffer6=0.01*i. But the result is still the same. All the values in ind_buffer6 are zero. I kown that the maximun number of indicator_buffer is 8. I didn't exceed its limit. Why this happen?? Could you help me solve these problem? thank you very much Victor PHP Code:
Last edited by alanlaw : 12-20-2005 at 06:13 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| URGENT Query | junglelion | Indicators - Metatrader 4 | 0 | 06-03-2007 09:16 PM |
| Is iMAOnArray() 'broken'.....? | omelette | General Discussion | 6 | 04-30-2007 12:28 AM |
| Urgent !!! | junglelion | Expert Advisors - Metatrader 4 | 10 | 02-15-2007 03:37 PM |
| urgent plz | waleed9091 | Expert Advisors - Metatrader 4 | 5 | 05-14-2006 09:45 PM |