powerlanguage -Unknown Function error -Easy Language  [SOLVED]

Questions about MultiCharts and user contributed studies.
rezanp1356
Posts: 11
Joined: 03 Oct 2016
Has thanked: 5 times

powerlanguage -Unknown Function error -Easy Language

Postby rezanp1356 » 03 Oct 2016

Hi,

i got the "unknown function" error while trying to compile an EL code containing following function;

_CE_Normalize_Units_vs_Volatility

powerlanguage editor Ver. 3.0

Thanks in advance for your help

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: powerlanguage -Unknown Function error -Easy Language

Postby TJ » 04 Oct 2016

Hi,

i got the "unknown function" error while trying to compile an EL code containing following function;

_CE_Normalize_Units_vs_Volatility

powerlanguage editor Ver. 3.0

Thanks in advance for your help

What is the indicator?

Where did you get it?

rezanp1356
Posts: 11
Joined: 03 Oct 2016
Has thanked: 5 times

Re: powerlanguage -Unknown Function error -Easy Language

Postby rezanp1356 » 04 Oct 2016

Function: _CE_Normalize_Units_vs_Volatility
Platform: TS v9.5

DESCRIPTION:

This function is used for market studies to normalize the number of units traded vs.
the volatility of the market. Volatility is based upon an Average True Range calculation.
The lookback period and multiplicaation factor can be entered as inputs.

more info;

http://www.systemtradersuccess.com/down ... tility.txt

User avatar
rrams
Posts: 128
Joined: 10 Feb 2011
Location: USA
Has thanked: 7 times
Been thanked: 70 times
Contact:

Re: powerlanguage -Unknown Function error -Easy Language

Postby rrams » 04 Oct 2016

It compiles fine on MC. You do need the functions _CE_DateToString and _CE_TimeToString.

rezanp1356
Posts: 11
Joined: 03 Oct 2016
Has thanked: 5 times

Re: powerlanguage -Unknown Function error -Easy Language

Postby rezanp1356 » 04 Oct 2016

thank you for your reply,

can you send the code that was successfully compiled.

User avatar
rrams
Posts: 128
Joined: 10 Feb 2011
Location: USA
Has thanked: 7 times
Been thanked: 70 times
Contact:

Re: powerlanguage -Unknown Function error -Easy Language

Postby rrams » 04 Oct 2016

compiled with MC 10b2 64bit. Let me know if there is a problem.
Attachments
CE-functions.pla
PLA compiled from systentradersuccess
(23.44 KiB) Downloaded 515 times

rezanp1356
Posts: 11
Joined: 03 Oct 2016
Has thanked: 5 times

Re: powerlanguage -Unknown Function error -Easy Language  [SOLVED]

Postby rezanp1356 » 04 Oct 2016

thank you, it works fine.


Return to “MultiCharts”