Forum

invalid index buffer - help!

Getting an "invalid index buffer number in iCustom function" error in backest. The error appears in the journal (numerous times, apparantly every tick). The custom indicator is NewTrend . The only call in the EA looks like this: H1Silver = iCustom ( Symbol () , 60 , " NewTrend " , 5 , 66 , 0 ) ;

iMACD() variation from MACD construction

Has anyone already brought up that iMA CD is different from a constructed MACD? Not just how it's displayed, but the values are wrong. There are some other constructions out there (MACD_c2 is one, but it has an SMA instead of EMA for the signal line which needed to be corrected) for bar-to-bar

Report on Championship accounts

How difficult would it be to provide a report on the championship accounts? The equity curve and related data is intersting to me (and possibly others) and usually available after backtests , or from live account report. I understand the load might be very great for so many accounts, but perhaps

unexplained buying frenzie

This sounds like a server issue, but there's enough inconsistencies, I wonder if anyone else has seen something like this. InterBank FX server. Demo account . Running several EAs, but only two of them (but two, not just one) had this happen: at 2006.25.06 0521-0524 server time, they each bought

iCustom() missing values

I'm using iCustom () to access values for ZigZag. It is not seeing values for low ZigZag points. Here's the function: void CheckOpen (){ double LastZZ , ZZarray [] ; int MaxIdx ; ArrayResize ( ZZarray , ExtZZBackstep ) ; for ( int i = 0 ; i <= ExtZZBackstep - 1 ; i ++ ){ ZZarray [ i ] = iCustom (

Likliehood of new tick interrupting EA

Is it possible for a new tick to interrupt an EA already in progress? If possible, is it probable? If an EA is running and a new tick comes in, is the original run cut off and a new run started, or does it complete the execution of the first run first? If the new tick will cause the first run to be

Trade function arrows

What else can be done (besides color) with the arrows made by the order function ? I like the arrow, with lines for SL and TP. But, I have a client who wants a line for buy, another for sell and another for profit. Can this be done with the order function's arrow field, or do I need to build them

What is used on [0]?

In functions that reference the bar, just what is used on [0]? For example, what is Close[0]? I would expect it is the current price (bid?). However, my EA isn't behaving that way, so maybe it's something else? Another example, the MA function iMA (.....,0) where that '0' refers to the current bar