EasyLanguage Treasure Chest

Status
Not open for further replies.
Quote from Tums:
Here it is...
enjoy.
Quote from Goalgetter:
Again - not compiled:
"line 27 has not been declared"
:confused:

The HH/LL_Line indicator does not work in OEC.
It involves drawing objects not supported by OEC.
 
Quote from Goalgetter:

-----------------------------------------------

Again - not compiled:

"line 27 has not been declared"

:confused:

Make sure you create TSI function as a new function. Do not create the tsi function as an indicator.

After you create the funtion tsi, create the indicator tsi.

You are creating two objects in TS, the function and the indicator.


John
 
I use the TSI as part of another indicator. Instead of using the XAverage I use an AMA and find it smoother without much if any difference in the indicator itself. You may wish to try it and see if it works for you.


Tim
 
Quote from jficquette:

Make sure you create TSI function as a new function. Do not create the tsi function as an indicator.

After you create the funtion tsi, create the indicator tsi.

You are creating two objects in TS, the function and the indicator.


John
--------------------------------------------------------------------------------

Thanks John + TUMS,

I repeated the procedure:
function
indicator

now it says with regard to the indicators formular:

syntax error line 1

Any idea?

Thank you.

GG
 
Quote from raven4ns:

I use the TSI as part of another indicator. Instead of using the XAverage I use an AMA and find it smoother without much if any difference in the indicator itself. You may wish to try it and see if it works for you.


Tim
-----------------------------------------------------

TIM thanks -
assuming you are referring to my request.

The complete formulars of the 2 would save me a lot of time- if you prefer via PM.

Thank you.
GG
 
Quote from Goalgetter:
--------------------------------------------------------------------------------
Thanks John + TUMS,
I repeated the procedure:
function
indicator
now it says with regard to the indicators formular:
syntax error line 1
Any idea?
Thank you.
GG

Delete line 1
 
Quote from Tums:

Delete line 1
------------------------------------------------

I did and then had the same message reg. line 2.
Deleted it as well and the result is:

QueryFunctionCode 'TSI'
C1018: The return value of the function is missing., line 1
C1003: The function 'TSI' does not exist or it contains errors and does not compile., line 11
QueryFunctionCode 'XAverage'

:confused:
 
Quote from Goalgetter:
------------------------------------------------
I did and then had the same message reg. line 2.
Deleted it as well and the result is:
QueryFunctionCode 'TSI'
C1018: The return value of the function is missing., line 1
C1003: The function 'TSI' does not exist or it contains errors and does not compile., line 11
QueryFunctionCode 'XAverage'
:confused:

your computer needs the XAverage function.

Code:
[color=blue]
inputs: 
	PriceValue( numericseries ), 
	Len( numericsimple ) ;                                             

variables: 
	var0( 2 / ( Len + 1 ) ) ;

if CurrentBar = 1 then
	XAverage = PriceValue
else
	XAverage = XAverage[1] + var0 * ( PriceValue - XAverage[1] ) ;
[/color]
 
Quote from Tums:

your computer needs the XAverage function.

Code:
[color=blue]
inputs: 
	PriceValue( numericseries ), 
	Len( numericsimple ) ;                                             

variables: 
	var0( 2 / ( Len + 1 ) ) ;

if CurrentBar = 1 then
	XAverage = PriceValue
else
	XAverage = XAverage[1] + var0 * ( PriceValue - XAverage[1] ) ;
[/color]

-----------------------------------------------

Thanks
it was compiled however, the problem persits :
"QueryFunctionCode 'TSI'
C1018: The return value of the function is missing., line 1
C1003: The function 'TSI' does not exist or it contains errors and does not compile., line 11
QueryFunctionCode 'XAverage'"

The TSI function had been compiled, too.
So what errors is the software talking about?
Very funny.
GG
 
Status
Not open for further replies.
Back
Top