London, UK
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
Posts: 38 since Sep 2011
Thanks Given: 9
Thanks Received: 6
|
Hi,
can anyone tell me what im doing wrong with this , in my debugging i use the following (same parameters)
" EMAflat: " + EMA_Colors(m_EmaAngle1,m_EmaAngle2,slowAverage).EMAflat[0].ToString()
+ " ContainsValue: " + EMA_Colors(m_EmaAngle1,m_EmaAngle2,slowAverage).EMAflat.ContainsValue(0).ToString()
it prints
August 02, 2013 9:24:26 OnBarUpdate() - adxSetup[0]: 1 adxEntry[0]: 1 bBuySetup: True bBuyEntry: True bSellSetup: False bSellEntry: False EMAflat: 1.3224 ContainsValue: False
I can see that the bar has a value for EMAFlat but i cant explain how both conditions can be true at the same time ie. it has a value but ContainsValue says it doesnt. is the call to the indicator plot value not treated as a dataseries or am i missing something! (too many hours today)
thanks in advance
Jlo
|