|
|||||||
| 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 |
|
||||
|
Quote:
Could you send the indicator (or the part you think it makes the error)? What's the MT build version? Thanks! |
|
||||
|
Quote:
"MA[shift] = iMAOnArray(RSI,0,MASlow1,0,MODE_EMA,shift) for(shift=limit-1;shift>=0;shift--)" I think thats were the error is. Maybe not thought..lol. Last edited by secxces : 05-05-2006 at 12:03 AM. |
|
||||
|
Quote:
The variable used as your 5 parameter pass to the function call should be an int type. You have declaired it to some other type variable. Check to see if the 5th parameter is not decleared as an integral type, or that it is in the limits of types used. that is an overflow on the input number. Only 0,1,2,3 are permitted. double iMAOnArray(double array[], int total, int period, int ma_shift, int ma_method, int shift) ConstantValueDescription MODE_SMA 0 Simple moving average, MODE_EMA 1 Exponential moving average, MODE_SMMA 2 Smoothed moving average, MODE_LWMA 3 Linear weighted moving average. Last edited by cockeyedcowboy : 05-05-2006 at 02:30 AM. |
|
||||
|
Quote:
Thanks cockeyedcowboy, It took me a while but I finally figured it out. My hats off. Thanks again, -secXces |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| integer portion | blackboxforex | Questions | 2 | 10-17-2006 06:11 PM |
| Error 130 - invalid stop. Why? | Lou G | Setup Questions | 4 | 09-26-2006 04:41 PM |
| Please help Invalid stops Error 130 | cardio | Setup Questions | 4 | 06-30-2006 04:31 PM |
| invalid account | huhenyo | Metatrader 4 | 4 | 04-03-2006 07:37 PM |