Useful functions to be used in custom studies

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
User avatar
Roman MultiCharts
Posts: 50
Joined: 28 Nov 2011
Has thanked: 21 times
Been thanked: 67 times

Useful functions to be used in custom studies

Postby Roman MultiCharts » 30 Nov 2011

Here you can find some useful Power Language functions that can be used as a part of your custom script.
Attachments
Epsilon.zip
The function that returns the "Epsilon" value
(550 Bytes) Downloaded 502 times
DrawSymbolName.zip
The indicator that plots the set (at the set place). This variant plots the names of 6 instrumetns.
(2.67 KiB) Downloaded 496 times
Digits.zip
The function that returns the number of digits after comma.
(806 Bytes) Downloaded 449 times
CrossMACD.zip
The indicator that represents different variants of MACD crossing points.
(1.8 KiB) Downloaded 506 times
BinaryToDecimal.zip
The function that converts the binary value into the decimal one.
(818 Bytes) Downloaded 450 times

User avatar
Roman MultiCharts
Posts: 50
Joined: 28 Nov 2011
Has thanked: 21 times
Been thanked: 67 times

Useful functions to be used in custom studies

Postby Roman MultiCharts » 30 Nov 2011

Another portion of the PowerLanguage functions
Attachments
PrintDateTime.zip
The function that prints the current time in text format.
(682 Bytes) Downloaded 480 times
ParseString.zip
The function that identifies the line with the set delimiters
(1.17 KiB) Downloaded 465 times
OnlineOnly.zip
The function that returns "True" if there are on-line quotes, otherwise - "False"
(702 Bytes) Downloaded 468 times
NTime.zip
The function that returns "True" when the bar time changes, otherwise - "False"
(744 Bytes) Downloaded 430 times
NBar.zip
The function that returns "True" when the new bar occurs, otherwise - "False"
(703 Bytes) Downloaded 486 times

User avatar
Roman MultiCharts
Posts: 50
Joined: 28 Nov 2011
Has thanked: 21 times
Been thanked: 67 times

Useful functions to be used in custom studies

Postby Roman MultiCharts » 30 Nov 2011

Some more functions
Attachments
WorkTime.zip
The function that checks if the current time is within the set time span or not
(930 Bytes) Downloaded 485 times
TZCompare.zip
The function that compares the current time with the set time span
(1.32 KiB) Downloaded 465 times
TextTimeSec.zip
The function that returns the time with seconds in text format
(636 Bytes) Downloaded 481 times
TextTime.zip
The function that returns the time in text format
(618 Bytes) Downloaded 470 times
TextDate.zip
The function that returns the date in text format
(625 Bytes) Downloaded 466 times


Return to “User Contributed Studies and Indicator Library”