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

RE: [amibroker] IQFEED or ESIGNAL



PureBytes Links

Trading Reference Links

Just an observation.


The CLOSE field is overwriting the Diff array on the second call to the 
function.


KR
         Michael.



At 11:05 AM 4/02/2004, you wrote:
>I think you may be on the wrong track in regards to calling reserved 
>variables.
>It looks like it's holding some value........Not sure though.
>
>Try this.
>Filter =1;
>function StochTransform(array, period)
>         {
>         local LowValue;
>         LowValue = LLV(array, period);
>         return (100 * (array - LowValue) / (HHV(array, period) -LowValue));
>         }
>
>Diff = Signal(12, 26, 9);
>//StochDiff = StochTransform(Diff, 5);  // Calling this 1st....
>JunkIgnored = StochTransform(C, 14);    // CHANGES Diff.
>//JunkIgnored = StochTransform(Diff, 14);       // Calling after Doesn't.
>AddColumn(C,"Close");
>AddColumn(Diff,"Diff",1,4);
>
>
>
>
>
>At 08:02 AM 4/02/2004, you wrote:
>>Dave - just a quick reply FYI.  I wasn't implying a stack overflow.
>>My wildass guess was that pointers to parm vectors were being passed
>>on the stack along with a result pointer, and that the call stack
>>became unbalanced and an input pointer was being used for a result
>>pointer.  Anyway, Tomasz will let us know, but it looks like it is a
>>problem.
>>
>>-- Bruce
>>
>>
>>--- In amibroker@xxxxxxxxxxxxxxx, "Dave Merrill" <dmerrill@xxxx>
>>wrote:
>> > Thanks for your further investigations, good work. Interesting that
>>it's
>> > only direct uses of the reserved variables that causes this.
>>Besides your
>> > stack overflow idea, maybe there's an issue with how input
>>parameters are
>> > handled. I'd think stack issues would affect any repeated call to
>>the
>> > function, regardless of what the input vars were, but of course I
>>don't have
>> > much context for even guessing.
>> >
>> > I did write Tomasz, haven't heard back, we'll see what he says.
>> >
>> > Thanks again for checking, glad to know I'm not just completely
>>losing it
>> > over here. I think...
>> >
>>
>>
>>
>>Send BUG REPORTS to bugs@xxxxxxxxxxxxx
>>Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
>>-----------------------------------------
>>Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
>>(Web page: http://groups.yahoo.com/group/amiquote/messages/)
>>--------------------------------------------
>>Check group FAQ at: 
>>http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>>
>>
>>Yahoo! Groups Links
>>
>>To visit your group on the web, go to:
>>  http://groups.yahoo.com/group/amibroker/
>>
>>To unsubscribe from this group, send an email to:
>>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
>>
>>Your use of Yahoo! Groups is subject to:
>>  http://docs.yahoo.com/info/terms/
>
>
>Send BUG REPORTS to bugs@xxxxxxxxxxxxx
>Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
>-----------------------------------------
>Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
>(Web page: 
><http://groups.yahoo.com/group/amiquote/messages/)>http://groups.yahoo.com/group/amiquote/messages/)
>--------------------------------------------
>Check group FAQ at: 
><http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
>
>
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://rd.yahoo.com/SIG=12cr31top/M=268585.4464812.5643763.1261774/D=egroupweb/S=1705632198:HM/EXP=1075939211/A=1950448/R=0/*http://ashnin.com/clk/muryutaitakenattogyo?YH=4464812&yhad=1950448>
>click here
>
>[]
>
>
>
>----------
>Yahoo! Groups Links
>    * To visit your group on the web, go to:
>    * 
> <http://groups.yahoo.com/group/amibroker/>http://groups.yahoo.com/group/amibroker/ 
>
>    *
>    * To unsubscribe from this group, send an email to:
>    * 
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>amibroker-unsubscribe@xxxxxxxxxxxxxxx 
>
>    *
>    * Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/amibroker/

To unsubscribe from this group, send an email to:
 amibroker-unsubscribe@xxxxxxxxxxxxxxx

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/