EMA Bug

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Re: EMA Bug

Postby jefftrader » Tue Aug 10, 2010 7:32 am

i installed TEST_MA and set it to a 5 period EMA close.

when i click on "OK" i get the following error:

[string "TEST_MA.lua"]:56:attempt to concatenate global 'S' (a nil value)

will test again as soon as this is corrected.
jefftrader
 
Posts: 28
Joined: Tue Jul 13, 2010 4:13 pm

Re: EMA Bug

Postby jefftrader » Tue Aug 10, 2010 7:42 am

i fixed the error.

in the function "Prepare" -- "S" was trying to be concatenated to a string when S was not yet declared.

i moved the declaration of S to above the string concat attempt and it works.

will let you know how it looks..............
jefftrader
 
Posts: 28
Joined: Tue Jul 13, 2010 4:13 pm

Re: EMA Bug

Postby jefftrader » Tue Aug 10, 2010 7:46 am

tested it and it is perfect.

exactly what i expected (and what i needed to see).

thanks again for your effort and support.
jefftrader
 
Posts: 28
Joined: Tue Jul 13, 2010 4:13 pm

Re: EMA Bug

Postby jefftrader » Wed Aug 18, 2010 4:50 pm

sorry too so long to reply. this works perfectly. thanks for working this out.

jefftrader
jefftrader
 
Posts: 28
Joined: Tue Jul 13, 2010 4:13 pm

Previous

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 19 guests