PureBytes Links
Trading Reference Links
|
> -----Message d'origine-----
> De : Bengtsson, Mats [mailto:mats.bengtsson@xxxxxxxx]
> Envoyé : lundi 16 juillet 2001 23:42
> À : pierre.orphelin@xxxxxxxxxxxxxx; Eskimo Omega List
> Objet : Language problems causes bugs not to be understood as the bugs
> they are
>
>
> 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.
No.
Your assumption is false because you have coded a false thing that CANNOT
plot 0 from Plot1.
This comes from very elementary mathematics, not from the language.
>
> 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.
>
No. Neither plot1 nor plot 2 could produce a zero line!
You just discovered that you still have some progess to do when debugging an
EL code.
There is no bug at all in this problem.
Only a bad understanding of EL / EL logic translation, and too fast typing
to report so called bugs to this list.
Sincerely,
Pierre Orphelin
www.sirtrade.com
TradeStation Technologies representative in France
> > -----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.
|