RETVAL(d,0123456789)
Previous Topic  Next Topic 


Name

Comment

Name

Description


Parameter 1

Parameter 2

Returns


Comment



Example


Return Value

Returns a valie from the script to a global memeory. Cell 0 and 1 are used for profit reports as limit levels and flag for each trade that is done. The rest are free to use for your own administration.

Dataseries that can be a return value from other functions.

Cell 0-9

Same as the input dataseries to be able to be used transparently inside a script. No operation on data.


Can be used in profit report to evaluate scripts. .


LT(C,RetVal(Mov(c,20,s)))

This script returns TRUE if Close is less than 20 period moving average. At the same time, RetVal()-function is used to stor away the value of the moving average to the profit report.

Tips for graphics


Placement

Scaling

Show as flag

No relevance

No relevance as the script should return TRUE or FALSE

No