[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Language problems causes bugs not to be understood as the bugs they are



PureBytes Links

Trading Reference Links

I am swedish, you are french, so I guess my message read differently to you
than I ment to write it. Thus, here is a short hand version:

Look at the first straight line that plots. If the line plots at zero, there
is no bug in Tradestation. If it plots above zero, there is a bug in
Tradestation.

Extended version to the above: If the line does not plot at zero, this bug
gives a lot of concequences, for example in DMI, which is the way I
discovered the bug.

> -----Original Message-----
> From: pierre.orphelin [mailto:pierre.orphelin@xxxxxxxxxxxxxx] 
> Sent: den 16 juli 2001 23:23
> To: Bengtsson, Mats; Eskimo Omega List
> Subject: Buggy logic produces buggy bugs...
> 
> 
> 
> 
> > -----Message d'origine-----
> > De : Bengtsson, Mats [mailto:mats.bengtsson@xxxxxxxx]
> > Envoyé : lundi 16 juillet 2001 15:59
> > À : Eskimo Omega List
> > Objet : I think I have to change my opinion from bad precision to 
> > buggy calculations
> >
> >
> >
> >
> 
> Was :RE: I think I have to change my opinion from bad 
> precision to buggy calculations
> 
> > To test, create a new indicator calling it whatever you like and 
> > insert the below code into it:
> > var: plusdm(0);
> > var: minusdm(0);
> > var: plusdm1(0);
> > var: minusdm1(0);
> > 		If 10.387 - 10.280 < 0 Then
> > 			PlusDM = 0
> > 		Else
> > 			PlusDM = 10.387 - 10.280;
> > 		If 10.280 - 10.173 < 0 Then
> > 			MinusDM = 0
> > 		Else
> > 			MinusDM = 10.280 - 10.173;
> > 		If MinusDM >= PlusDM Then
> > 			PlusDM = 0;
> > 		plot1 (plusdm);
> 
> This first part of the code plots an  horizontal line, what 
> is normal, everything being constant over bars...
> 
> 
> > 		If High[0] - High[1] < 0 Then
> > 			PlusDM1 = 0
> > 		Else
> > 			PlusDM1 = High[0] - High[1];
> > 		If Low [1] - Low [0] < 0 Then
> > 			MinusDM1 = 0
> > 		Else
> > 			MinusDM1 = Low[1] - Low[0];
> > 		If MinusDM1 >= PlusDM1 Then
> > 			PlusDM1 = 0;
> > 		plot2(plusdm1);
> >
> > It should plot a straight line at zero, but does not.
> 
> No Sir, it will not plot a straignt line because MinusDM1 >= 
> PlusDM1 Then
>  			PlusDM1 = 0 is not always true, both 
> above variables are independent of each other, bacause they 
> only depend of the H and L sequences
> 
> Sincerely,
> 
> Pierre Orphelin
> www.sirtrade.com
> TradeStation Technologies representative in France
> 
> 
> >
> > --- Mats --- __________________________________________________
> >    Mats Bengtsson | Sweden People Relationship Management
> >   Salaries & Bonuses & Performance Management
> >    phone: +46 40 60 772 10
> >   mobile: +46 708 877 216
> > __________________________________________________
> >
> 


This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.